

/* Start:/local/templates/family-new/assets/font-awesome/css/font-awesome.min.css?176579923131000*/
/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */@font-face{font-family:'FontAwesome';src:url('/local/templates/family-new/assets/font-awesome/css/../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('/local/templates/family-new/assets/font-awesome/css/../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('/local/templates/family-new/assets/font-awesome/css/../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('/local/templates/family-new/assets/font-awesome/css/../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('/local/templates/family-new/assets/font-awesome/css/../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('/local/templates/family-new/assets/font-awesome/css/../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}

/* End */


/* Start:/local/templates/family-new/assets/js/fancybox3/dist/jquery.fancybox.min.css?176579923210366*/
@charset "UTF-8";.fancybox-enabled{overflow:hidden}.fancybox-enabled body{overflow:visible;height:100%}.fancybox-container{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99993;-webkit-backface-visibility:hidden;backface-visibility:hidden}.fancybox-container~.fancybox-container{z-index:99992}.fancybox-bg{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f0f11;opacity:0;transition-timing-function:cubic-bezier(.55,.06,.68,.19);-webkit-backface-visibility:hidden;backface-visibility:hidden}.fancybox-container--ready .fancybox-bg{opacity:.87;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-controls{position:absolute;top:0;left:0;right:0;text-align:center;opacity:0;z-index:99994;transition:opacity .2s;pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;direction:ltr}.fancybox-show-controls .fancybox-controls{opacity:1}.fancybox-infobar{display:none}.fancybox-show-infobar .fancybox-infobar{display:inline-block;pointer-events:all}.fancybox-infobar__body{display:inline-block;width:70px;line-height:44px;font-size:13px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;text-align:center;color:#ddd;background-color:rgba(30,30,30,.7);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:subpixel-antialiased}.fancybox-buttons{position:absolute;top:0;right:0;display:none;pointer-events:all}.fancybox-show-buttons .fancybox-buttons{display:block}.fancybox-slider-wrap{overflow:hidden;direction:ltr}.fancybox-slider,.fancybox-slider-wrap{position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;z-index:99993;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-tap-highlight-color:transparent}.fancybox-slide{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;overflow:auto;outline:none;white-space:normal;box-sizing:border-box;text-align:center;z-index:99994;-webkit-overflow-scrolling:touch}.fancybox-slide:before{content:"";height:100%;width:0}.fancybox-slide:before,.fancybox-slide>*{display:inline-block;vertical-align:middle}.fancybox-slide>*{position:relative;padding:24px;margin:44px 0;border-width:0;text-align:left;background-color:#fff;overflow:auto;box-sizing:border-box}.fancybox-slide--image{overflow:hidden}.fancybox-slide--image:before{display:none}.fancybox-content{display:inline-block;position:relative;margin:44px auto;padding:0;border:0;width:80%;height:calc(100% - 88px);vertical-align:middle;line-height:normal;text-align:left;white-space:normal;outline:none;font-size:16px;font-family:Arial,sans-serif;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-overflow-scrolling:touch}.fancybox-iframe{display:block;margin:0;padding:0;border:0;width:100%;height:100%;background:#fff}.fancybox-slide--video .fancybox-content,.fancybox-slide--video .fancybox-iframe{background:transparent}.fancybox-placeholder{z-index:99995;background:transparent;cursor:default;overflow:visible;-webkit-transform-origin:top left;transform-origin:top left;background-size:100% 100%;background-repeat:no-repeat;-webkit-backface-visibility:hidden;backface-visibility:hidden}.fancybox-image,.fancybox-placeholder,.fancybox-spaceball{position:absolute;top:0;left:0;margin:0;padding:0;border:0}.fancybox-image,.fancybox-spaceball{width:100%;height:100%;max-width:none;max-height:none;background:transparent;background-size:100% 100%}.fancybox-controls--canzoomOut .fancybox-placeholder{cursor:zoom-out}.fancybox-controls--canzoomIn .fancybox-placeholder{cursor:zoom-in}.fancybox-controls--canGrab .fancybox-placeholder{cursor:-webkit-grab;cursor:grab}.fancybox-controls--isGrabbing .fancybox-placeholder{cursor:-webkit-grabbing;cursor:grabbing}.fancybox-spaceball{z-index:1}.fancybox-tmp{position:absolute;top:-9999px;left:-9999px;visibility:hidden}.fancybox-error{position:absolute;margin:0;padding:40px;top:50%;left:50%;width:380px;max-width:100%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:#fff;cursor:default}.fancybox-error p{margin:0;padding:0;color:#444;font:16px/20px Helvetica Neue,Helvetica,Arial,sans-serif}.fancybox-close-small{position:absolute;top:0;right:0;width:44px;height:44px;padding:0;margin:0;border:0;border-radius:0;outline:none;background:transparent;z-index:10;cursor:pointer}.fancybox-close-small:after{content:"×";position:absolute;top:5px;right:5px;width:30px;height:30px;font:20px/30px Arial,Helvetica Neue,Helvetica,sans-serif;color:#888;font-weight:300;text-align:center;border-radius:50%;border-width:0;background:#fff;transition:background .2s;box-sizing:border-box;z-index:2}.fancybox-slide--video .fancybox-close-small{top:-36px;right:-36px;background:transparent}.fancybox-close-small:hover:after{color:#555;background:#eee}.fancybox-caption-wrap{position:absolute;bottom:0;left:0;right:0;padding:60px 30px 0;z-index:99998;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;background:linear-gradient(180deg,transparent 0,rgba(0,0,0,.1) 20%,rgba(0,0,0,.2) 40%,rgba(0,0,0,.6) 80%,rgba(0,0,0,.8));opacity:0;transition:opacity .2s;pointer-events:none}.fancybox-show-caption .fancybox-caption-wrap{opacity:1}.fancybox-caption{padding:30px 0;border-top:1px solid hsla(0,0%,100%,.4);font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#fff;line-height:20px;-webkit-text-size-adjust:none}.fancybox-caption a,.fancybox-caption button{pointer-events:all}.fancybox-caption a{color:#fff;text-decoration:underline}.fancybox-button{display:inline-block;position:relative;width:44px;height:44px;line-height:44px;margin:0;padding:0;border:0;border-radius:0;cursor:pointer;background:transparent;color:#fff;box-sizing:border-box;vertical-align:top;outline:none}.fancybox-button--disabled{cursor:default;pointer-events:none}.fancybox-button,.fancybox-infobar__body{background:rgba(30,30,30,.6)}.fancybox-button:hover{background:rgba(0,0,0,.8)}.fancybox-button:after,.fancybox-button:before{content:"";pointer-events:none;position:absolute;border-color:#fff;background-color:currentColor;color:currentColor;opacity:.9;box-sizing:border-box;display:inline-block}.fancybox-button--disabled:after,.fancybox-button--disabled:before{opacity:.5}.fancybox-button--left:after{left:20px;-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.fancybox-button--left:after,.fancybox-button--right:after{top:18px;width:6px;height:6px;background:transparent;border-top:2px solid currentColor;border-right:2px solid currentColor}.fancybox-button--right:after{right:20px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.fancybox-button--left{border-bottom-left-radius:5px}.fancybox-button--right{border-bottom-right-radius:5px}.fancybox-button--close{float:right}.fancybox-button--close:after,.fancybox-button--close:before{content:"";display:inline-block;position:absolute;height:2px;width:16px;top:calc(50% - 1px);left:calc(50% - 8px)}.fancybox-button--close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.fancybox-button--close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.fancybox-loading{border:6px solid hsla(0,0%,39%,.4);border-top:6px solid hsla(0,0%,100%,.6);border-radius:100%;height:50px;width:50px;-webkit-animation:a .8s infinite linear;animation:a .8s infinite linear;background:transparent;position:absolute;top:50%;left:50%;margin-top:-25px;margin-left:-25px;z-index:99999}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@media (max-width:800px){.fancybox-controls{text-align:left}.fancybox-button--left,.fancybox-button--right,.fancybox-buttons button:not(.fancybox-button--close){display:none!important}.fancybox-caption{padding:20px 0;margin:0}}.fancybox-button--fullscreen:before{width:15px;height:11px;left:15px;top:16px;border:2px solid;background:none}.fancybox-button--play:before{top:16px;left:18px;width:0;height:0;border-top:6px inset transparent;border-bottom:6px inset transparent;border-left:10px solid;border-radius:1px;background:transparent}.fancybox-button--pause:before{top:16px;left:18px;width:7px;height:11px;border-style:solid;border-width:0 2px;background:transparent}.fancybox-button--thumbs span{font-size:23px}.fancybox-button--thumbs:before{top:20px;left:21px;width:3px;height:3px;box-shadow:0 -4px 0,-4px -4px 0,4px -4px 0,inset 0 0 0 32px,-4px 0 0,4px 0 0,0 4px 0,-4px 4px 0,4px 4px 0}.fancybox-container--thumbs .fancybox-caption-wrap,.fancybox-container--thumbs .fancybox-controls,.fancybox-container--thumbs .fancybox-slider-wrap{right:220px}.fancybox-thumbs{position:absolute;top:0;right:0;bottom:0;left:auto;width:220px;margin:0;padding:5px 5px 0 0;background:#fff;z-index:99993;word-break:normal;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent;box-sizing:border-box}.fancybox-thumbs>ul{list-style:none;position:absolute;position:relative;width:100%;height:100%;margin:0;padding:0;overflow-x:hidden;overflow-y:auto;font-size:0}.fancybox-thumbs>ul>li{float:left;overflow:hidden;max-width:50%;padding:0;margin:0;width:105px;height:75px;position:relative;cursor:pointer;outline:none;border:5px solid #fff;border-top-width:0;border-right-width:0;-webkit-tap-highlight-color:transparent;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box}li.fancybox-thumbs-loading{background:rgba(0,0,0,.1)}.fancybox-thumbs>ul>li>img{position:absolute;top:0;left:0;min-width:100%;min-height:100%;max-width:none;max-height:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fancybox-thumbs>ul>li:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;border:4px solid #4ea7f9;z-index:99991;opacity:0;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.fancybox-thumbs>ul>li.fancybox-thumbs-active:before{opacity:1}@media (max-width:800px){.fancybox-thumbs{display:none!important}.fancybox-container--thumbs .fancybox-caption-wrap,.fancybox-container--thumbs .fancybox-controls,.fancybox-container--thumbs .fancybox-slider-wrap{right:0}}
/* End */


/* Start:/local/templates/family-new/assets/css/swiper-bundle.min.css?176579923113885*/
/**
 * Swiper 6.5.7
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2021 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: April 16, 2021
 */

@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA') format('woff');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-container-pointer-events{touch-action:pan-y}.swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:'next'}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:50%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#ffffff}.swiper-pagination-black{--swiper-pagination-color:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s infinite linear;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-container-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}
/* End */


/* Start:/local/templates/family-new/assets/css/components.css?17648790028891*/
/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ КОМПОНЕНТЫ
   Стили для карточек товаров, кнопок и других элементов
   ============================================ */

/* ============================================
   PRODUCT CARDS
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background: #ff4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    z-index: 2;
}

.product-badge.new {
    background: #4CAF50;
}

.product-badge.hit {
    background: #FF9800;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.product-spec {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-spec i {
    font-size: 14px;
    color: #001D51;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.price-current {
    font-size: 24px;
    font-weight: 800;
    color: #001D51;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-add-to-cart {
    flex: 1;
    padding: 12px 20px;
    background: #001D51;
    color: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background: #003d82;
    transform: translateY(-2px);
}

.btn-favorite {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    background: #ff4444;
    color: #ffffff;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #001D51;
    color: #ffffff;
}

.btn-primary:hover {
    background: #003d82;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 29, 81, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-outline {
    background: transparent;
    color: #001D51;
    border: 2px solid #001D51;
}

.btn-outline:hover {
    background: #001D51;
    color: #ffffff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #001D51;
    box-shadow: 0 0 0 3px rgba(0, 29, 81, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.breadcrumb-item a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #001D51;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: #ccc;
}

.breadcrumb-item.active {
    color: #001D51;
    font-weight: 600;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.pagination-item:hover {
    background: #001D51;
    color: #ffffff;
}

.pagination-item.active {
    background: #001D51;
    color: #ffffff;
}

/* ============================================
   MODALS
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ff4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* ============================================
   TABS
   ============================================ */

.tabs {
    margin-bottom: 30px;
}

.tabs-nav {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.tab-link {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.tab-link:hover {
    color: #001D51;
}

.tab-link.active {
    color: #001D51;
    border-bottom-color: #001D51;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
}

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

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .price-current {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}


/* End */


/* Start:/local/templates/family-new/template_styles.css?1771275804118700*/
/* ============================================
   FAMILY MATTRESS - MODERN DESIGN 2025
   Современный дизайн для интернет-магазина матрасов
   ============================================ */

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.delivery-section p,
.delivery-section ul {
  font-size: 16px;
  margin-bottom: 15px;
}

.delivery-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px 70px;
    color: #263242;
}

.delivery-page p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.delivery-page b {
    font-weight: 700;
}

.delivery-page img {
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(38, 50, 66, 0.12);
}

.delivery-by-courier {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(38, 50, 66, 0.12);
    margin: 24px 0 30px;
}

.delivery-by-courier th,
.delivery-by-courier td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(38, 50, 66, 0.08);
    font-size: 15px;
    line-height: 1.6;
    color: #263242;
    vertical-align: top;
}

.delivery-by-courier th {
    background: rgba(167, 150, 120, 0.18);
    font-weight: 700;
    text-align: left;
}

.delivery-by-courier tr:nth-child(even) td {
    background: rgba(38, 50, 66, 0.03);
}

.delivery-by-courier tr:last-child td {
    border-bottom: none;
}

/* Дисклеймер об изображении на детальной странице товара */
.image-disclaimer-block {
    margin-top: 30px;
    padding: 20px 24px;
    background: rgba(38, 50, 66, 0.04);
    border-radius: 12px;
    border-left: 3px solid #bd9865;
}

.image-disclaimer-text {
    font-size: 13px;
    line-height: 1.6;
    color: #777;
    margin: 0;
    font-style: italic;
}

@media (max-width: 1024px) {
    .delivery-page {
        padding: 20px 24px 60px;
    }
}

@media (max-width: 768px) {
    .delivery-page {
        padding: 20px 16px 50px;
    }

    .delivery-by-courier th,
    .delivery-by-courier td {
        padding: 12px;
        font-size: 14px;
    }
}

.showroom-info-map-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 50px;
}

.showroom-info {
    border: 1px solid #E0E0E0;
    padding: 30px;
    border-radius: 8px;
}

.showroom-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.build-route {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: #007bff;
}

.build-route:after {
    content: '\2197';
    margin-left: 5px;
}

/* ============================================
   Showroom page polish
   ============================================ */
/* Address & Map block */
.address-block.container,
#address-block.container {
    margin-top: 40px;
    margin-bottom: 32px;
}
.address-block {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 24px;
    align-items: start;
}
.address-block:not(:has(.address-block-description)) {
    grid-template-columns: 1fr;
}
.address-block-title .title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}
.address-block-description {
    border: 1px solid #E0E3EB;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}
.address-block-description:empty {
    display: none;
}
.address-block-description:not(:has(*)) {
    display: none;
}
.address-block-item + .address-block-item {
    margin-top: 14px;
}
.address-block-item .address-block-title {
    font-weight: 700;
    margin-bottom: 6px;
}
.address-block-item a {
    color: #3D71D0;
}
.address-block-item a:hover {
    color: #2e5ab0;
}
.address-map {
    border: 1px solid #E0E3EB;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
#map {
    width: 100%;
    height: 430px;
}
@media (max-width: 768px) {
    .address-block { grid-template-columns: 1fr; }
}

/* Showroom slider */
.showroom-slider { padding: 10px 0 20px; }
.showroom-slider .swiper-slide img {
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.showroom-slider .swiper-button-prev,
.showroom-slider .swiper-button-next {
    width: 44px; height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    color: #263242;
}
.showroom-slider .swiper-button-prev::after,
.showroom-slider .swiper-button-next::after { font-size: 16px; }

/* Feedback spacing refinements */
.feedback-block { padding: 40px 0; }
.feedback-contacts-block { margin-top: 12px; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ============================================
   2. CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* ============================================
   3. MODERN HEADER
   ============================================ */

.modern-header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
}

/* Top Bar - ЗАКРЕПЛЕНА */
.header-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #263242;
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-menu a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.topbar-menu a::before {
    content: '';
    font-family: 'FontAwesome';
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Иконки для каждого раздела */
.topbar-menu a[href*="magaziny"]::before {
    content: '\f015'; /* home */
}

.topbar-menu a[href*="matrasy-kdm/mattresses"]::before {
    content: '\f009'; /* th-large */
}

.topbar-menu a[href*="family-blog"]::before,
.topbar-menu a[href*="akcii"]::before {
    content: '\f02b'; /* tag */
}

.topbar-menu a[href*="knowledge-base"]::before,
.topbar-menu a[href*="baza-znanij"]::before {
    content: '\f02d'; /* book */
}

.topbar-menu a[href*="dostavka"]::before {
    content: '\f0d1'; /* truck */
}

.topbar-menu a[href*="shourum"]::before {
    content: '\f0c2'; /* building */
}

.topbar-menu a[href*="about"]::before,
.topbar-menu a[href*="o-nas"]::before {
    content: '\f05a'; /* info-circle */
}

/* Hover эффект */
.topbar-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.topbar-menu a:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

/* Активная страница */
.topbar-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
}

.topbar-menu a.active::before {
    opacity: 1;
}

/* Адаптивность для планшетов */
@media (max-width: 1200px) {
    .topbar-menu {
        gap: 6px;
    }
    
    .topbar-menu a {
        font-size: 12px;
        padding: 4px 6px;
        gap: 6px;
    }
    
    .topbar-menu a::before {
        font-size: 13px;
    }
}

/* Скрываем на мобильных (показываем в мобильном меню) */
@media (max-width: 992px) {
    .topbar-menu {
        display: none;
    }
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.header-phone i {
    font-size: 16px;
}

/* Main Header - НЕ ЗАКРЕПЛЕН */
.header-main {
    padding: 20px 0;
    margin-top: 44px; /* Отступ под закрепленный topbar */
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(1000%) hue-rotate(170deg) brightness(95%) contrast(90%);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-years {
    font-size: 16px;
    font-weight: 700;
    color: #263242;
}

.logo-desc {
    font-size: 13px;
    color: #263242;
}

/* Navigation */
.header-nav {
    display: flex;
    gap: 35px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #263242;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
}

.action-btn:hover {
    background: #263242;
    color: #ffffff;
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 18px;
}

.cart-count,
.favorites-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
    justify-content: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #263242;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-title {
    font-size: 20px;
    font-weight: 700;
    color: #263242;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-link {
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f5f5f5;
    color: #263242;
}

.mobile-menu-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #263242;
    color: #ffffff;
    border-radius: 10px;
    font-weight: 600;
}

/* ============================================
   4. HERO SLIDER
   ============================================ */

.hero-slider {
    position: relative;
    height: auto;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
}

.hero-swiper {
    width: 100%;
    height: auto;
    border-radius: 0;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    overflow: hidden;
}

.hero-slide-img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: absolute;
    z-index: 2;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: none;
}

.hero-title {
    display: none;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
    display: none;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #ffffff;
    color: #263242;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.promotions-section {
    padding: 80px 0;
    background: #ffffff;
}

.promotions-section .container {
    max-width: 100%;
    padding: 0;
}

.promotions-title {
    font-size: 36px;
    font-weight: 800;
    color: #263242;
    text-align: center;
    margin-bottom: 15px;
}

.promotions-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.promotions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

.promotion-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f2f2f2;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
    width: 264px;
    height: 469px;
}

.promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.promotion-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Адаптив для блока "Акции" */
@media (max-width: 1024px) {
    .promotions-grid {
        gap: 15px;
    }

    .promotion-card {
        width: 200px;
        height: 355px;
    }
}

@media (max-width: 768px) {
    .promotions-section {
        padding: 60px 0;
    }

    .promotions-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .promotions-grid {
        gap: 12px;
    }

    .promotion-card {
        width: 170px;
        height: 302px;
    }
}

@media (max-width: 480px) {
    .promotions-section {
        padding: 40px 0;
    }

    .promotions-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .promotions-grid {
        gap: 10px;
    }

    .promotion-card {
        width: 150px;
        height: 267px;
    }
}

.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ffffff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffffff;
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #ffffff !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
}

/* ============================================
   5. MAIN CONTENT
   ============================================ */

.main-content {
    min-height: 500px;
    padding: 0 0 0 0;
}

/* ============================================
   6. MODERN FOOTER
   ============================================ */

.modern-footer {
    background: #0a1628;
    color: #ffffff;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 13px;
    opacity: 0.8;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contacts li {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contacts a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-contacts a:hover {
    opacity: 0.8;
}

.footer-contacts i {
    display: none;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    opacity: 1;
}

/* ============================================
   7. FLOATING ELEMENTS
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #263242;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(0, 29, 81, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ============================================
   8. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .header-nav {
        gap: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .header-topbar {
        display: none;
    }

    .header-main {
        padding: 15px 0;
    }

    .header-content {
        gap: 8px;
    }

    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-slider {
        margin: 0;
        border-radius: 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .whatsapp-float,
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }
    
    .whatsapp-float {
        right: 20px;
    }
    
    .back-to-top {
        left: 20px;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        height: 40px;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-slider {
        margin: 0;
        border-radius: 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .main-content {
        padding: 0 0 0 0;
    }
}

/* ============================================
   9. UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-60 {
    margin-top: 60px;
}

.mb-60 {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #263242;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* ============================================
   10. КНОПКА "ТЕСТ ДРАЙВ" В ШАПКЕ
   ============================================ */

.test-drive-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #BD9865 0%, #D4AF7A 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(189, 152, 101, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.test-drive-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.test-drive-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(189, 152, 101, 0.6);
    background: linear-gradient(135deg, #D4AF7A 0%, #BD9865 100%);
}

.test-drive-btn:hover::before {
    left: 100%;
}

.test-drive-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 15px rgba(189, 152, 101, 0.4);
}

.test-drive-btn i {
    font-size: 22px;
    animation: carMove 2s ease-in-out infinite;
}

@keyframes carMove {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-3px) rotate(-5deg);
    }
}

/* ============================================
   10.1. КНОПКА "ДИЗАЙНЕРАМ" В ШАПКЕ
   ============================================ */

.designers-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.designers-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: linear-gradient(135deg, #6B7F9E 0%, #4A5A6F 100%);
    box-shadow: 0 4px 20px rgba(107, 127, 158, 0.3);
}

.designers-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.designers-btn:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(74, 144, 226, 0.6);
    background: linear-gradient(135deg, #357ABD 0%, #4A90E2 100%);
}

.designers-btn:not(.disabled):hover::before {
    left: 100%;
}

.designers-btn:not(.disabled):active {
    transform: translateY(0);
    box-shadow: 0 3px 15px rgba(74, 144, 226, 0.4);
}

.designers-btn i {
    font-size: 22px;
}

/* ============================================
   11. БЛОК КАТАЛОГА ПОД БАННЕРОМ
   ============================================ */

.catalog-section {
    background: #F9FAFB;
    padding: 100px 0 60px 0;
}

.catalog-title {
    font-size: 36px;
    font-weight: 800;
    color: #263242;
    text-align: center;
    margin-bottom: 40px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.home-between-banner {
    width: 100%;
    margin: 0;
}

.home-between-banner-link,
.home-between-banner-inner {
    display: block;
    width: 100%;
}

.home-between-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.catalog-card {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
    transition: all 0.3s ease;
    z-index: 1;
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 29, 81, 0.15);
}

.catalog-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Карточка БЕЗ затемнения (для Тест-Драйв) */
.catalog-card-no-overlay::before {
    display: none !important;
}

.catalog-card-no-overlay:hover::before {
    display: none !important;
}

/* Подгонка размера изображения под рамку */
.catalog-card-no-overlay {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Контейнер для картинки - теперь скрыт, так как изображение используется как фон */
.catalog-card-image {
    display: none;
}

.catalog-card-image img {
    display: none;
}

/* Старые стили для иконок (скрываем) */
.catalog-card-icon {
    display: none !important;
}

.catalog-card-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    padding: 25px;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    margin-top: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.catalog-card:hover .catalog-card-title {
    transform: translateY(-5px);
}

/* ============================================
   12. ОБНОВЛЕНИЕ HEADER ДЛЯ НОВОЙ КНОПКИ
   ============================================ */

.header-main .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Увеличиваем видимость кнопки тест-драйв */
@media (min-width: 769px) {
    .header-main .header-content {
        gap: 60px;
    }
}

/* ============================================
   13. АДАПТИВНОСТЬ ДЛЯ НОВЫХ ЭЛЕМЕНТОВ
   ============================================ */

@media (max-width: 768px) {
    .test-drive-btn span,
    .designers-btn span {
        display: none;
    }

    .test-drive-btn,
    .designers-btn {
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
        gap: 0;
        font-size: 0;
        box-shadow: 0 2px 10px rgba(189, 152, 101, 0.3);
    }

    .designers-btn {
        box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
    }

    .test-drive-btn i,
    .designers-btn i {
        font-size: 16px;
        margin: 0;
    }
    
    .catalog-section {
        padding: 40px 0;
    }
    
    .catalog-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .catalog-card {
        min-height: 250px;
    }
    
    .catalog-card-title {
        font-size: 20px;
        padding: 20px;
    }
    
    .home-between-banner {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .test-drive-btn,
    .designers-btn {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }

    .test-drive-btn i,
    .designers-btn i {
        font-size: 14px;
    }
    
    .catalog-section {
        padding: 30px 0;
    }
    
    .catalog-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .catalog-card {
        min-height: 200px;
    }
    
    .catalog-card-title {
        font-size: 18px;
        padding: 16px;
    }
}

/* ============================================
   14. БЛОК "ХИТЫ ПРОДАЖ"
   ============================================ */

.bestsellers-section {
    background: #ffffff;
    padding: 80px 0 0 0;
}

.quality-video-section {
    background: #ffffff;
    padding: 80px 0;
}

.quality-video-section .section-header {
    margin-bottom: 40px;
}

.quality-video-banner {
    width: 100%;
    max-width: 70%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.quality-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.quality-video:focus-visible {
    outline: 3px solid rgba(189, 152, 101, 0.8);
    outline-offset: 4px;
}

.quality-video::-webkit-media-controls-panel {
    background-color: rgba(38, 50, 66, 0.55);
}

.quality-video::-webkit-media-controls-timeline {
    margin-left: 8px;
    margin-right: 8px;
}

.quality-video::-webkit-media-controls-current-time-display,
.quality-video::-webkit-media-controls-time-remaining-display {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .quality-video-banner {
        max-width: 100%;
    }
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #263242;
    text-align: center;
    margin-bottom: 50px;
}

.bestsellers-grid {
    display: block;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 29, 81, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #BD9865;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.price-current {
    font-size: 20px;
    font-weight: 800;
    color: #263242;
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #263242 0%, #3d4f5f 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-btn:hover {
    background: linear-gradient(135deg, #3d4f5f 0%, #263242 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 29, 81, 0.3);
}

.product-btn:active {
    transform: translateY(0);
}

/* убрана кнопка btn-view, как было изначально */

/* Адаптив для блока "Хиты продаж" */
@media (max-width: 1024px) {
    .bestsellers-grid {
        display: block;
    }
    
    .product-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .bestsellers-section {
        padding: 60px 0 0 0;
    }

    .quality-video-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .bestsellers-grid {
        display: block;
    }
    
    .product-image {
        height: 200px;
        padding: 15px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 15px;
        min-height: 40px;
    }
    
    .price-current {
        font-size: 18px;
    }
    
    .price-old {
        font-size: 13px;
    }
    
    .product-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .bestsellers-section {
        padding: 40px 0 0 0;
    }

    .quality-video-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .bestsellers-grid {
        display: block;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-title {
        font-size: 16px;
    }
}

/* ============================================
   15. БЛОК ПРЕИМУЩЕСТВ (FEATURES)
   ============================================ */

.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #263242 0%, #3d4f5f 100%);
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #BD9865 0%, #D4AF7A 100%) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(189, 152, 101, 0.3) !important;
}

.feature-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.feature-desc {
    font-size: 16px;
    opacity: 0.9;
}

/* Адаптив для блока преимуществ */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

/* ============================================
   16. БЛОК БРЕНДОВ (BRANDS SECTION)
   ============================================ */

.brands-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.brand-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.brand-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #263242;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.brand-title {
    font-size: 28px;
    font-weight: 800;
    color: #263242;
    margin-bottom: 12px;
}

.brand-price {
    font-size: 20px;
    font-weight: 700;
    color: #BD9865;
    margin-bottom: 18px;
    padding: 8px 16px;
    background: rgba(189, 152, 101, 0.1);
    border-radius: 8px;
    display: inline-block;
}

.brand-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #263242;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-link:hover {
    color: #BD9865;
    gap: 12px;
}

.brand-link i {
    transition: transform 0.3s ease;
}

.brand-link:hover i {
    transform: translateX(5px);
}

/* Адаптив для брендов */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 60px 0;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .brand-card {
        padding: 35px 25px;
    }
    
    .brand-title {
        font-size: 24px;
    }
    
    .brand-price {
        font-size: 18px;
    }
}

/* ============================================
   17. БЛОК "В ГОСТИ К МАТРАСУ" (VIDEOS)
   ============================================ */

.videos-section {
    padding: 80px 0;
    background: #ffffff;
}

.videos-title {
    font-size: 36px;
    font-weight: 800;
    color: #263242;
    text-align: center;
    margin-bottom: 15px;
}

.videos-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 9 / 16;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-card:hover .video-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button i {
    font-size: 28px;
    color: #263242;
    margin-left: 5px;
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background: #ffffff;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #ffffff;
}

.video-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-description {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Адаптив для блока видео */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .videos-section {
        padding: 60px 0;
    }
    
    .videos-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .videos-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 24px;
    }
    
    .video-info {
        padding: 15px;
    }
    
    .video-title {
        font-size: 14px;
    }
    
    .video-description {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .videos-section {
        padding: 40px 0;
    }
    
    .videos-title {
        font-size: 24px;
    }
    
    .videos-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
}

/* ============================================
   18. БЛОК ОТЗЫВОВ (REVIEWS)
   ============================================ */

.between-sections-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: transparent;
    position: relative;
}

.between-sections-banner-link {
    display: block;
    width: 100%;
}

.between-sections-banner-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.between-sections-banner-kids-btn {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #1c1c1c;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.between-sections-banner-kids-btn:hover {
    background: rgba(255, 255, 255, 0.42);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.reviews-section {
    padding: 80px 0;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .between-sections-banner-kids-btn {
        bottom: 16px;
        padding: 12px 18px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .between-sections-banner-kids-btn {
        bottom: 12px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BD9865 0%, #D4AF7A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
}

.review-author {
    font-size: 18px;
    font-weight: 700;
    color: #263242;
    margin-bottom: 5px;
}

.review-date {
    font-size: 14px;
    color: #999;
}

.review-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.review-rating i {
    color: #BD9865;
    font-size: 16px;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.review-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #999;
}

.review-product i {
    color: #BD9865;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(189, 152, 101, 0.1);
    color: #BD9865;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
}

.review-verified i {
    font-size: 14px;
}

/* Адаптив для отзывов */
@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .review-card {
        padding: 25px;
    }
    
    .review-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .review-author {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 50px 0;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-header {
        gap: 12px;
    }
    
    .review-text {
        font-size: 14px;
    }
}

/* ============================================
   19. CTA СЕКЦИЯ "НЕ НАШЛИ ПОДХОДЯЩИЙ МАТРАС"
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #263242 0%, #3d4f5f 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, #BD9865 0%, #D4AF7A 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(189, 152, 101, 0.4);
    min-width: 200px;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(189, 152, 101, 0.5);
    background: linear-gradient(135deg, #D4AF7A 0%, #BD9865 100%);
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-secondary-large i {
    font-size: 18px;
}

/* Адаптив для CTA секции */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-desc {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        padding: 16px 30px;
        font-size: 15px;
    }
}

/* ========================================
   20. МОДАЛЬНОЕ ОКНО ВЫБОРА ГОРОДА
   ======================================== */

.city-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.city-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.city-btn i {
    font-size: 16px;
    color: #BD9865;
}

.city-name {
    font-weight: 500;
}

.city-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.city-modal.active {
    display: flex;
}

.city-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.city-modal-content {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.city-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.city-modal-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #263242;
    margin: 0;
}

.city-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.city-modal-close:hover {
    background: #263242;
    color: #fff;
    transform: rotate(90deg);
}

.city-modal-close i {
    font-size: 18px;
}

.promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.promo-modal.active {
    display: flex;
}

.promo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.promo-modal-content {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    max-width: 820px;
    width: 90%;
    max-height: 85vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.promo-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.promo-modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #263242;
    margin: 0;
    line-height: 1.2;
}

.promo-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(38, 50, 66, 0.08);
    border-radius: 12px;
    color: #263242;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.promo-modal-close:hover {
    background: #263242;
    color: #fff;
    transform: rotate(90deg);
}

.promo-modal-body {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

.promo-modal-body .promo-meta {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(189, 152, 101, 0.08);
    margin-bottom: 18px;
}

.promo-modal-body .promo-meta-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
}

.promo-modal-body .promo-meta-label {
    font-weight: 700;
    color: #263242;
}

.promo-modal-body .promo-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #263242;
    margin: 0 0 10px;
}

.promo-modal-body ul {
    padding-left: 18px;
    margin: 0;
}

.promo-modal-body li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .promo-modal-content {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .promo-modal-title {
        font-size: 22px;
    }

    .promo-modal-body {
        font-size: 15px;
    }

    .promo-modal-body .promo-meta-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .promo-modal-content {
        padding: 22px 16px;
        width: 94%;
        max-height: 90vh;
    }
}

.city-modal-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.city-search {
    position: relative;
    margin-bottom: 20px;
}

.city-search-input {
    width: 100%;
    padding: 14px 45px 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.city-search-input:focus {
    outline: none;
    border-color: #BD9865;
}

.city-search i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.city-confirm-btns {
    margin-bottom: 30px;
}

.city-confirm-yes {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #BD9865 0%, #D4AF7A 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-confirm-yes:hover {
    background: linear-gradient(135deg, #D4AF7A 0%, #BD9865 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 152, 101, 0.4);
}

.city-modal-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #263242;
    margin-bottom: 16px;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
}

.city-item {
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    color: #263242;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.city-item:hover {
    background: #fff;
    border-color: #BD9865;
    color: #BD9865;
    transform: translateY(-2px);
}

/* Scrollbar styles */
.city-list::-webkit-scrollbar {
    width: 6px;
}

.city-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.city-list::-webkit-scrollbar-thumb {
    background: #BD9865;
    border-radius: 10px;
}

.city-list::-webkit-scrollbar-thumb:hover {
    background: #D4AF7A;
}

/* Adaptive */
@media (max-width: 768px) {
    .city-modal-content {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .city-modal-header h3 {
        font-size: 22px;
    }
    
    .city-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .city-btn .city-name {
        display: none;
    }
}

@media (max-width: 480px) {
    .city-modal-content {
        padding: 24px 16px;
        max-height: 90vh;
    }
    
    .city-modal-header h3 {
        font-size: 20px;
    }
    
    .city-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   21. ОРИГИНАЛЬНЫЕ СТИЛИ КАТАЛОГА ТОВАРОВ
   Восстановлены из исходного файла
   ============================================ */

/* Карточки товаров в каталоге */
.product-list-block {
    display: inline-block;
    border: 1px solid transparent;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    margin-right: 17px;
    width: 302px;
    height: 451px;
    vertical-align: top;
    overflow: hidden;
}

.product-list-main .product-list-block {
    margin-right: 4px;
}

.product-list-block:nth-child(4n+4) {
    /* margin-right: 0px; */
}

.product-list-block:hover {
    border: 1px solid #ccc;
}

.product-list-top {
    display: block;
    height: 60px;
    border-bottom: 1px solid #ccc;
}

.product-list-name {
    display: inline-block;
    float: left;
    width: 200px;
    font-size: 16px;
    font-family: Roboto-Light;
    color: #646464;
    margin: 20px 0 0 20px;
}

.product-list-topright {
    display: inline-block;
    float: right;
    margin: 20px 20px 0 0;
}

a.product-list-comapre {
    margin-left: 7px;
}

.product-list-img {
    display: block;
    height: 200px;
    background-size: 320px !important;
}

.products-favorites .product-list-img,
.product-list-main .product-list-img {
    background-size: 302px !important;
}

.product-list-img img {
    display: block;
    margin: 0 auto;
}

.product-list-medium {
    display: block;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    height: 66px;
}

select.product-list-size {
    width: 262px;
    padding: 5px;
    margin: 0 20px;
}

.product-list-descandmore {
    display: block;
    height: 71px;
    padding: 0 20px;
}

.product-list-price {
    display: inline-block;
    float: left;
    font-size: 20px;
    font-family: Roboto-Light;
    color: #646464;
    margin-top: 10px;
}

.product-list-buy {
    display: inline-block;
    float: right;
    background: #6381f0;
    color: #fff;
    font-size: 13px;
    font-family: Roboto-Regular;
    padding: 10px 25px;
    margin-top: 5px;
    cursor: pointer;
}

p {
    margin: 0px;
}

.product-list-description {
    display: block;
    font-size: 13px;
    font-family: Roboto-Light;
    color: #646464;
    margin-top: 10px;
    height: 30px;
    overflow: hidden;
}

.product-list-description span,
.product-list-description p {
    font-size: 13px;
    font-family: Roboto-Light;
    color: #646464;
}

a.product-list-more {
    display: block;
    text-align: center;
    color: #98AAB4;
    text-decoration: none;
    font-family: Roboto-Regular;
    font-size: 14px;
}

.product-list-bottom {
    display: block;
    height: 49px;
    padding: 0 20px;
}

.product-list-rigidity {
    display: inline-block;
}

.product-list-weight {
    display: inline-block;
}

.product-list-height {
    display: inline-block;
}

span.product-list-weightvalue span,
span.product-list-heightvalue span {
    font-size: 15px;
}

.product-list-bottom {
    display: block;
    height: 49px;
    padding: 0 20px;
}

.product-list-rigidity {
    display: inline-block;
    margin-right: 15px;
}

.product-list-main .product-list-rigidity {
    margin-right: 0px;
}

.card-virovnrightheight {
    display: block;
    height: 49px;
}

.product-list-weight:after {
    content: '|';
    font-size: 17px;
    color: #ccc;
    margin: 0 5px;
}

.products-favorites .product-list-block {
    margin-right: 4px;
    margin-bottom: 4px;
}

.product-list-topright span,
.card-favorite span {
    cursor: pointer;
}

.products-favorites .product-list-rigidity {
    margin-right: 0px;
}

a.bottom-product-more {
    text-align: center;
    color: #98AAB4;
    text-decoration: none;
    font-family: Roboto-Regular;
    font-size: 14px;
}

.product-list-newprice {
    color: #6381f0;
}

.product-list-oldprice {
    text-decoration: line-through;
    color: #999999;
}

span.discount_value {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    padding: 5px 10px;
    font-size: 13px;
    font-family: Roboto-Regular;
    border-radius: 3px;
    position: absolute;
    top: 10px;
    right: 10px;
}

span.discount_value[data-kdm-discount="1"] {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b6b 100%);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px rgba(255, 59, 48, 0.25);
    top: 12px;
    right: 12px;
    z-index: 5;
}

.product-list-discountpercent {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: #fff;
    padding: 5px 10px;
    font-size: 13px;
    font-family: Roboto-Regular;
    border-radius: 3px;
}

/* ============================================
   22. SHOWROOM PAGE STYLES
   ============================================ */

 /* knowledge-base */
 .stores-header {
     text-align: center;
     margin-bottom: 30px;
 }
 
 .stores-title {
     font-size: 36px;
     font-weight: 700;
     color: #263242;
     margin-bottom: 15px;
 }

/* Text & Banner */
.text-page {
    padding: 60px 0;
    max-width: 900px; /* комфортная ширина для чтения */
    margin: 0 auto;
}

.max-width-558 {
    max-width: 558px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

.banner {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 60px;
}

.banner img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #E2E2E2;
}

/* Slider */
.showroom-slider .swiper-slide img {
    border-radius: 16px;
    width: 100%;
    height: auto;
}

.showroom-slider .swiper-pagination {
    position: static;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #263242;
}

.showroom-slider .delimiter {
    margin: 0 5px;
}

.showroom-slider .swiper-pagination-current,
.showroom-slider .swiper-pagination-total {
    display: inline-block;
}

.showroom-slider .swiper-button-next,
.showroom-slider .swiper-button-prev {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.showroom-slider .swiper-button-next:hover,
.showroom-slider .swiper-button-prev:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.showroom-slider .swiper-button-next::after,
.showroom-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 600;
    color: #263242;
}

.showroom-slider .swiper-button-prev, 
.showroom-slider .swiper-button-next {
    color: #BD9865;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.showroom-slider .swiper-button-prev:after, 
.showroom-slider .swiper-button-next:after {
    font-size: 20px;
}

@media (max-width: 768px) {
    .text-page {
        padding: 40px 0;
        max-width: 100%;
    }
}

/* About page typography */
.text-page p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 16px;
    color: #1a1a1a;
}
.text-page p strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #263242;
}
.text-page ul, .text-page ol {
    font-size: 16px;
    line-height: 1.75;
    margin: 12px 0 16px 22px;
    list-style: disc;
}
.text-page ol { list-style: decimal; }
.text-page li { margin-bottom: 8px; }
.text-page .container { padding: 0; }
/* --- Showroom feedback styles --- */
.feedback-block {
    padding: 30px 0;
}
.feedback-block .block-title {
    max-width: 1000px;
    margin: 0 auto;
}
.feedback-contacts-block {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
}
.feedback-contacts-block .label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.feedback-contacts-block a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #3D71D0;
}
.feedback-contacts-block a:hover {
    color: #2e5ab0;
}
.feedback-contacts-whatsapp .whatsapp {
    padding: 8px 12px;
    border: 1px solid #3D71D0;
    border-radius: 8px;
}
.title-block .title {
    font-size: 20px;
    font-weight: 700;
    margin: 18px 0 6px;
}
.title-block .title-block-description {
    color: #666;
    font-size: 16px;
}
#feedback-form-showroom {
    margin-top: 24px;
}
.fields_group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.fields_group.wrap {
    align-items: flex-start;
}
.field_box {
    flex: 1 1 240px;
}
.field_box.w-65 {
    flex: 1 1 600px;
}
.field_box.w-35 {
    flex: 1 1 280px;
}
.input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #E0E3EB;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s;
}
.input:focus {
    outline: none;
    border-color: #3D71D0;
    box-shadow: 0 0 0 3px rgba(61,113,208,0.12);
}
.textarea {
    min-height: 120px;
    resize: vertical;
}
.checkbox {
    margin-right: 8px;
}
.input.submit.desktop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3D71D0;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    transition: background .2s;
}
.input.submit.desktop:hover {
    background: #2e5ab0;
}
.result-block-feedback-js {
    margin-top: 12px;
}
@media (max-width: 720px) {
  .field_box.w-65, .field_box.w-35 { flex: 1 1 100%; }
}

.catalog-block {
    padding: 60px 0;
}

.page .catalog-block {
    padding-bottom: 0;
}

.catalog-block.hit, .catalog-block.stock {
    background: #E9EDF3;
}

.catalog-block .title-block {
    margin-bottom: 60px;
}

.catalog-list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.catalog-item {
    position: relative;
    flex-basis: 24%;
    width: 24%;
    background: #ffffff;
    border: 1px solid #BECBDB;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 20px 20px 40px 20px;
}

.catalog-discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f34b4b 0%, #ff7b3d 100%);
    color: #ffffff;
    font: 700 12px/1 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(243, 75, 75, 0.28);
    z-index: 3;
    text-transform: uppercase;
}

.catalog-item-title {
    overflow: hidden;
    display: flex;
    width: 100%;
    height: 44px;
    font: 700 18px/1.2 'Mulish';
    color: #255087;
    margin-bottom: 15px;
}

.catalog-item-title:hover {
    color: #3D71D0;
}

.catalog-item-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    height: 160px;
    position: relative;
}

.catalog-item-property {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    font: 400 16px/1.2 'Mulish';
    color: #132743;
    margin-bottom: 10px;
}

.catalog-item-property > div {
    flex-basis: 48%;
    width: 48%;
    font: 600 12px/1.2 'Mulish';
    text-align: left;
}

.catalog-item-property > div:last-child {
    text-align: right;
}

.catalog-item-property > div.price {
    width: 100%;
    flex-basis: 100%;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font: 800 24px/1.2 'Mulish';
}

.catalog-item-property > div.price .new-price {
    color: #E43B55;
}

.catalog-item-property > div.price .old-price {
    font: 500 16px/1.2 'Mulish';
    color: #A1A9B4;
    text-decoration: line-through;
}

.right-sidebar .price-box {
    position: relative;
}

.right-sidebar .price-box .right-sidebar-title {
    margin-top: 6px;
    margin-bottom: 12px;
    font: 800 26px/1.3 'Mulish';
    color: #263242;
}

.right-sidebar .price-box .right-sidebar-badge {
    position: absolute;
    top: 0;
    right: 0;
}

.right-sidebar .price-box .price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.right-sidebar .price-box .price .new-price {
    color: #E43B55;
}

.right-sidebar .price-box .price .old-price {
    color: #A1A9B4;
    text-decoration: line-through;
}

.catalog-item-property > div.offer-select-block {
    width: 100%;
    flex-basis: 100%;
    position: relative;
    z-index: 2;
    text-align: left;
}

.catalog-detail-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: #255087;
    border: 1px solid #255087;
    border-radius: 30px;
    color: #ffffff;
    font: 600 16px/1.4 'Mulish';
}

.catalog-detail-link:hover {
    background: #ffffff;
    color: #255087;
}

.catalog-free-delivery {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    font: 500 14px/1 'Mulish';
    color: #3D71D0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-free-delivery svg {
    margin-right: 10px;
}

.property-value {
    position: relative;
}

.active-offer {
    display: flex;
    width: 100%;
    padding: 10px 45px 10px 15px;
    position: relative;
    border: 1px solid #BECBDB;
    border-radius: 30px;
    cursor: pointer;
    box-sizing: border-box;
}

.active-offer:before {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    background: url("/local/templates/family-new/assets/img/icons/down.svg") center center no-repeat;
    background-size: contain;
    transform: translateY(-50%);
    transition: all 0.4s;
    width: 16px;
    height: 8px;
}

.active-offer.open:before {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
    margin-top: -4px;
}

.offer-list {
    transition: all 0.4s;
    opacity: 0;
    height: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    width: 100%;
    padding: 10px;
    border: 1px solid #BECBDB;
    border-radius: 7px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
}

.offer-select-block .offer-list,
.offer-select-block .dimensions-list-js,
.offer-select-block .dimensions-list {
    left: 0;
    right: 0;
    top: calc(100% + 6px);
}

.offer-list::-webkit-scrollbar {
    width: 6px;
    background-color: #f9f9fd;
    margin-left: -3px;
}

.offer-list::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #BECBDB;
}

.offer-list::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background-color: #f9f9fd;
}

.offer-list.open {
    opacity: 1;
    height: 400px;
}

.offer-list-item {
    display: block;
    padding: 10px;
    transition: all 0.4s;
    cursor: pointer;
}

.offer-list-item:hover {
    background: #E9EDF3;
}

.offer-list-item.active {
    color: #3D71D0;
}

@media screen and (max-width: 1024px) {
    .catalog-item {
        flex-basis: 32%;
        width: 32%;
    }

    .catalog-block.hit .catalog-item:nth-child(7), .catalog-block.hit .catalog-item:last-child {
        display: none;
    }
}

@media screen and (max-width: 988px) {
    .catalog-block {
        padding: 40px 0;
    }

    .catalog-item-property > div.price, .catalog-item-property > div.price .new-price {
        font: 800 20px/1.2 'Mulish';
    }

    .catalog-item-property > div.price .old-price {
        font: 500 14px/1.2 'Mulish';
    }
}

@media screen and (max-width: 670px) {
    .catalog-item {
        flex-basis: 48%;
        width: 48%;
        padding: 5px 5px 32px 5px;
    }

    .catalog-item-property > div.price, .catalog-item-property > div.price .new-price {
        font: 800 18px/1.2 'Mulish';
    }

    .catalog-item-property > div.price .old-price {
        font: 500 12px/1.2 'Mulish';
    }

    .catalog-free-delivery {
        font: 500 11px/1 'Mulish';
    }
}

@media screen and (max-width: 350px) {
    .catalog-item {
        flex-basis: 100%;
        width: 100%;
    }
}

.form_default.form_filters {
    display: none !important;
}

.catalog-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.catalog-list .catalog-item {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: visible;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    position: relative;
    display: flex;
    flex-direction: column;
    border: none !important;
    padding: 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    width: auto !important;
    flex-basis: auto !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.catalog-list .catalog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 29, 81, 0.15);
}

.catalog-item-img {
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    overflow: hidden;
    background: #F9FAFB !important;
    position: relative;
    border-radius: 16px;
    margin-bottom: 16px;
}

.catalog-item-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.catalog-list .catalog-item:hover .catalog-item-img img {
    transform: scale(1.05);
}

.catalog-item-title,
 .catalog-item-title a {
    font-size: 23px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 0 14px 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
    text-decoration: none;
}

.catalog-item-title:hover,
 .catalog-item-title:hover a {
    color: #1a1a1a !important;
}

.catalog-item-property,
 .catalog-item-property * {
    color: #263242 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.catalog-item-property {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
    column-gap: 12px;
    row-gap: 10px;
    align-items: baseline;
    width: 100%;
}

.catalog-item-property > div:not(.price):not(.offer-select-block):nth-child(odd)::after {
    content: ':';
}

.catalog-item-property > div:not(.price):not(.offer-select-block):nth-child(even) {
    text-align: right;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-item-property > div.offer-value-cell {
    text-align: left;
    justify-self: stretch;
    width: 100% !important;
    overflow: visible;
}

.catalog-item-property > div.offer-value-cell:not(.price):not(.offer-select-block):nth-child(even) {
    text-align: left !important;
    justify-self: stretch !important;
    max-width: none !important;
    overflow: visible !important;
}

.catalog-item-property > div.offer-value-cell .offer-list,
.catalog-item-property > div.offer-value-cell .dimensions-list-js,
.catalog-item-property > div.offer-value-cell .dimensions-list {
    left: auto;
    right: 0;
    min-width: 220px;
}

.catalog-item-property > div.offer-value-cell .active-offer,
.catalog-item-property > div.offer-value-cell .active-dimensions-js {
    width: 100% !important;
    padding-right: 80px;
    box-sizing: border-box;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.catalog-item-property > div {
    font-size: 14px !important;
    line-height: 1.2;
    font-weight: 600 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #263242 !important;
    width: auto !important;
    flex-basis: auto !important;
    min-width: 0;
}

.catalog-item-property > div.price {
    margin-top: 10px;
    margin-bottom: 15px;
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    white-space: nowrap;
    font-size: 0 !important;
}

.catalog-item-property > div.property-label + div.price {
    grid-column: 2;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: flex-end;
}

.catalog-item-property > div.price .new-price {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #E43B55 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    white-space: nowrap;
}

.catalog-item-property > div.price .old-price {
    font-size: 14px !important;
    color: #999 !important;
    text-decoration: line-through;
    font-weight: 500 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    white-space: nowrap;
}

.catalog-item-property > div.price .old-price .offer-price-js {
    color: #999 !important;
    font-weight: 500 !important;
}

.catalog-item-property > div.price .price-pair {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
    font-size: 0;
}

.catalog-item-property > div.price .price-pair .new-price,
.catalog-item-property > div.price .price-pair .old-price {
    font-size: 14px !important;
}

.catalog-item-property > div.price .offer-price-js,
.catalog-item-property > div.price .offer-discount-price-js {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #263242 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    white-space: nowrap;
}

.catalog-item-property > div.price .price-currency {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: inherit !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    white-space: nowrap;
}

.catalog-item-property > div.price .offer-discount-price-js {
    color: #E43B55 !important;
}

.catalog-item-property > div.kdm-price-label {
    grid-column: 1;
    text-align: left;
}

.catalog-item-property > div.kdm-price-label + div.price {
    grid-column: 2;
    margin-top: 0;
    margin-bottom: 0;
}

.catalog-item-property > div.offer-select-block {
    grid-column: 1 / -1;
}

.catalog-detail-link {
    width: 100%;
    min-height: 56px;
    height: auto;
    padding: 16px 22px;
    background: linear-gradient(135deg, #263242 0%, #3d4f5f 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-detail-link:hover {
    background: linear-gradient(135deg, #263242 0%, #3d4f5f 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 29, 81, 0.18);
}

.active-offer {
    border: 1px solid #E6EAF0;
    border-radius: 12px;
}

.offer-list {
    border: 1px solid #E6EAF0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.catalog-list .catalog-item.offer-open,
.catalog-item.offer-open {
    z-index: 80;
}

.catalog-list .catalog-item.offer-open:hover,
.catalog-item.offer-open:hover {
    transform: none;
}

.catalog-list .catalog-item.offer-open .offer-list,
.catalog-item.offer-open .offer-list {
    z-index: 1000;
}

@media screen and (max-width: 1024px) {
    .catalog-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 670px) {
    .catalog-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .catalog-list .catalog-item {
        padding: 16px;
    }
}

@media screen and (max-width: 350px) {
    .catalog-list {
        grid-template-columns: 1fr;
    }
}

 .container.detail-page {
     display: grid;
     grid-template-columns: minmax(0, 1fr) 420px;
     gap: 24px;
     align-items: start;
     padding-top: 10px;
 }

 .container.detail-page > * {
     box-sizing: border-box;
 }

 .container.detail-page > .clear {
     display: none !important;
 }

 .container.detail-page > .left-block,
 .container.detail-page > .left-slider,
 .container.detail-page > .left {
     float: none !important;
     width: auto !important;
     max-width: none !important;
     position: relative !important;
     left: auto !important;
     right: auto !important;
     margin: 0 !important;
     background: #ffffff;
     border-radius: 20px;
     box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
     padding: 24px;
     min-width: 0;
 }

 .container.detail-page > aside,
 .container.detail-page > .right-slider,
 .container.detail-page > .right {
     float: none !important;
     width: auto !important;
     max-width: none !important;
     left: auto !important;
     right: auto !important;
     margin: 0 !important;
     position: static !important;
     top: auto;
     background: #ffffff;
     border-radius: 20px;
     box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
     padding: 24px;
     align-self: start;
     z-index: 2;
 }

 .container.detail-page {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
 }

 .container.detail-page :where(
     p,
     span,
     div,
     a,
     li,
     ul,
     ol,
     label,
     small,
     strong,
     em,
     input,
     select,
     textarea,
     button,
     h1,
     h2,
     h3,
     h4,
     h5,
     h6
 ) {
     font-family: inherit !important;
 }

 .container.detail-page .catalog-detail-link,
 .container.detail-page .catalog-free-delivery,
 .container.detail-page .catalog-item-property,
 .container.detail-page .catalog-item-property * {
     font-family: inherit !important;
 }

 .container.detail-page .slider-block {
     --detail-gallery-thumbs-width: 88px;
     --detail-gallery-thumbs-gap: 12px;
     --detail-gallery-main-height: clamp(280px, 38vw, 520px);
     position: relative;
     border-radius: 16px;
     overflow: visible;
 }

 .container.detail-page .slider-block > .swiper {
     position: relative;
     display: flex;
     align-items: stretch;
     gap: var(--detail-gallery-thumbs-gap);
 }

 .container.detail-page .slider-block > .swiper > .swiper_thumbnail {
     order: -1;
     width: var(--detail-gallery-thumbs-width);
     flex: 0 0 var(--detail-gallery-thumbs-width);
     height: var(--detail-gallery-main-height);
     overflow-y: auto;
     overflow-x: hidden;
 }

 .container.detail-page .slider-block > .swiper > .swiper_thumbnail > .swiper-wrapper {
     flex-direction: column !important;
     transform: none !important;
 }

 .container.detail-page .slider-block > .swiper > .swiper_main {
     flex: 1 1 auto;
     min-width: 0;
 }

 .container.detail-page .slider-block > .swiper > .swiper-button-prev,
 .container.detail-page .slider-block > .swiper > .swiper-button-next {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
 }

 .container.detail-page .slider-block > .swiper > .swiper-button-prev {
     left: calc(var(--detail-gallery-thumbs-width) + var(--detail-gallery-thumbs-gap) + 12px);
 }

 .container.detail-page .slider-block > .swiper > .swiper-button-next {
     right: 12px;
 }

 .container.detail-page .swiper_main,
 .container.detail-page .swiper-main,
 .container.detail-page .swiper-container {
     border-radius: 16px;
     overflow: hidden;
     background: #F9FAFB;
 }

 .container.detail-page .swiper_main {
     height: var(--detail-gallery-main-height);
 }

 .container.detail-page .swiper_main > .swiper-wrapper {
     justify-content: flex-start !important;
     align-items: stretch !important;
     height: 100%;
 }

 .container.detail-page .swiper_main .swiper-slide {
     display: flex;
     align-items: center;
     justify-content: center;
     height: 100%;
     width: 100% !important;
     flex: 0 0 100% !important;
 }

 .container.detail-page .swiper_main .swiper-slide img {
     display: block;
     width: 100%;
     height: 100%;
     max-width: 100%;
     object-fit: cover !important;
     object-position: center !important;
 }

 .container.detail-page .swiper-button-prev,
 .container.detail-page .swiper-button-next {
     width: 44px;
     height: 44px;
     border-radius: 9999px;
     background: rgba(255, 255, 255, 0.9);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
     z-index: 5;
     pointer-events: auto;
 }

 .container.detail-page .swiper-button-disabled {
     opacity: 0.35;
     pointer-events: none;
 }

 .container.detail-page .slider-block .swiper-button-disabled {
     pointer-events: auto;
 }

 .container.detail-page .swiper-button-prev::after,
 .container.detail-page .swiper-button-next::after {
     font-size: 16px;
     font-weight: 700;
     color: #263242;
 }

 .container.detail-page .swiper-thumbs,
 .container.detail-page .gallery-thumbs,
 .container.detail-page .swiper-thumbs-container,
 .container.detail-page .swiper_thumbnail {
     height: auto;
     background: transparent;
     border-radius: 0;
     overflow: visible;
 }

 .container.detail-page .swiper-thumbs .swiper-slide,
 .container.detail-page .gallery-thumbs .swiper-slide,
 .container.detail-page .swiper_thumbnail .swiper-slide {
     width: 72px !important;
     height: 72px !important;
     border-radius: 12px;
     overflow: hidden;
     background: #F3F6FA;
     cursor: pointer;
 }

 .container.detail-page .swiper_thumbnail .swiper-slide.swiper-slide-thumb-active {
     border: 2px solid #3D71D0;
     box-shadow: 0 0 0 1px #3D71D0;
 }

 .container.detail-page .swiper-thumbs .swiper-slide img,
 .container.detail-page .gallery-thumbs .swiper-slide img,
 .container.detail-page .swiper_thumbnail .swiper-slide img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 @media screen and (max-width: 768px) {
     .container.detail-page .slider-block > .swiper {
         flex-direction: column;
     }

     .container.detail-page .slider-block > .swiper > .swiper_thumbnail {
         order: 2;
         width: 100%;
         flex: 0 0 auto;
         height: auto;
     }

     .container.detail-page .slider-block > .swiper > .swiper-button-prev {
         left: 12px;
     }
 }

 .container.detail-page .info-box.slides {
     display: none !important;
 }

 .container.detail-page .matras-big-title,
 .container.detail-page h1,
 .container.detail-page .title {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     color: #1a1a1a;
     font-size: 34px;
     line-height: 1.15;
     font-weight: 700;
     margin: 0 0 14px;
 }

 .container.detail-page .matras-small-title,
 .container.detail-page .property-label {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     color: #263242;
     font-weight: 600;
 }

 .container.detail-page a {
     color: #263242;
 }

 .container.detail-page a:hover {
     color: #263242;
 }

 .container.detail-page .active-dimensions-js,
 .container.detail-page .active-offer {
     border: 1px solid #E6EAF0;
     border-radius: 12px;
     background: #fff;
 }

 .container.detail-page .offer-list,
 .container.detail-page .dimensions-list-js,
 .container.detail-page .dimensions-list {
     border: 1px solid #E6EAF0;
     border-radius: 12px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
 }

 .container.detail-page select,
 .container.detail-page input[type="text"],
 .container.detail-page input[type="tel"],
 .container.detail-page input[type="email"],
 .container.detail-page input[type="number"],
 .container.detail-page textarea {
     width: 100%;
     min-height: 48px;
     padding: 12px 14px;
     border: 1px solid #E6EAF0;
     border-radius: 12px;
     background: #fff;
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     font-size: 14px;
     color: #263242;
 }

 .container.detail-page button,
 .container.detail-page .btn,
 .container.detail-page .catalog-detail-link,
 .container.detail-page input[type="submit"] {
     border-radius: 12px;
 }

 @media screen and (max-width: 1100px) {
     .container.detail-page {
         grid-template-columns: minmax(0, 1fr) 380px;
     }
 }

 @media screen and (max-width: 1024px) {
     .container.detail-page {
         grid-template-columns: 1fr;
     }

     .container.detail-page > aside,
     .container.detail-page > .right-slider,
     .container.detail-page > .right {
         position: static;
         top: auto;
     }
 }

 @media screen and (max-width: 670px) {
     .container.detail-page > .left-block,
     .container.detail-page > .left-slider,
     .container.detail-page > .left,
     .container.detail-page > aside,
     .container.detail-page > .right-slider,
     .container.detail-page > .right {
         padding: 16px;
         border-radius: 16px;
     }

     .container.detail-page {
         gap: 12px;
     }

     .container.detail-page .matras-big-title,
     .container.detail-page h1,
     .container.detail-page .title {
         font-size: 26px;
     }
 }

 .container.detail-page .info-tovar-box,
 .container.detail-page .switch-block-tovar {
     background: #FFFFFF;
     border: 1px solid #E6EEF5;
     border-radius: 20px;
     box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
     padding: 24px;
     box-sizing: border-box;
 }

 .container.detail-page .switch-block-tovar {
     margin-top: 24px;
 }

 .container.detail-page .tab-links {
     display: flex;
     gap: 22px;
     align-items: flex-end;
     margin-bottom: 20px;
     border-bottom: 1px solid #E6EEF5;
 }

 .container.detail-page .tab-links a {
     display: inline-block;
     padding: 0 0 14px 0;
     text-decoration: none;
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     font-weight: 600;
     font-size: 16px;
     color: #263242;
     border-bottom: 2px solid transparent;
 }

 .container.detail-page .tab-links a.active {
     border-bottom-color: #263242;
 }

 .container.detail-page .content-tovar,
 .container.detail-page .content-tovar__elem {
     width: 100%;
     max-width: 100%;
     box-sizing: border-box;
 }

 .container.detail-page .char-item {
     border-radius: 16px;
 }

 .container.detail-page .info-tovar--photos .sp-mask {
     border-radius: 16px;
     overflow: hidden;
     background: #F3F6FA;
 }

 .container.detail-page .photos-thumsb.sp-thumbnails {
     display: flex;
     gap: 10px;
     overflow-x: auto;
     padding: 10px 0 0;
 }

 .container.detail-page .photos-thumsb__item {
     width: 72px;
     height: 72px;
     border-radius: 12px;
     overflow: hidden;
     background: #F9FAFB;
     flex: 0 0 auto;
 }

 .container.detail-page .photos-thumsb__item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
     display: block;
 }

 .form_overlay {
     display: none;
     position: fixed;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background: rgba(37, 80, 135, 0.67);
     z-index: 9999;
 }

 .form_overlay .overlay-order {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 100%;
     height: 100%;
 }

 .form_order {
     position: relative;
     width: 100%;
     max-width: 840px;
     padding: 36px 36px 26px;
     background: #E9EDF3;
     height: 90%;
     max-height: 800px;
     overflow-x: hidden;
     overflow-y: auto;
     border-radius: 25px;
 }

 .form_order.callback-form {
     max-width: 500px;
     height: 488px;
     top: auto;
 }

 .form_order .close_form {
     position: absolute;
     right: 20px;
     top: 5px;
     font-weight: 600;
     font-size: 32px;
     line-height: 1.2;
     color: #255087;
     background: transparent;
     border: none;
     cursor: pointer;
 }

 .form_order .form-title {
     font-weight: 700;
     font-size: 32px;
     line-height: 1.2;
     color: #132743;
     margin-bottom: 32px;
     text-align: center;
 }

 .form_order .box-title {
     font-weight: 800;
     font-size: 14px;
     line-height: 1.1;
     color: #7C96B7;
     margin-bottom: 30px;
     text-align: left;
     text-transform: uppercase;
     border-bottom: 1px solid #BECBDB;
 }

 .form_order .box-title span {
     display: block;
     width: max-content;
     margin-bottom: -8px;
     padding-right: 12px;
     background: #E9EDF3;
 }

 .form_order .fields_group {
     display: flex;
     justify-content: space-between;
     column-gap: 12px;
 }

 .form_order .field_box {
     width: 100%;
     margin-bottom: 20px;
 }

 .form_order .field_box .field-label {
     font-weight: 700;
     font-size: 14px;
     line-height: 14px;
     color: #132743;
     margin-bottom: 6px;
     text-align: left;
 }

 .form_order .field_box label {
     font-weight: 500;
     font-size: 14px;
     line-height: 1.2;
     color: #282F47;
     text-align: left;
 }

 .form_order .field_box .input {
     width: 100%;
     height: 44px;
     box-sizing: border-box;
     padding: 12px 16px;
     margin-bottom: 5px;
     border: none;
     background: #FFFFFF;
     border-radius: 30px;
 }

 .form_order .field_box .textarea {
     height: 120px;
     resize: none;
 }

 .form_order .field_box .checkbox {
     position: absolute;
     opacity: 0;
     width: auto;
     height: auto;
     margin: 0;
     z-index: -1;
 }

 .form_order .field_box .checkbox + label::before {
     content: '';
     width: 22px;
     height: 22px;
     margin-top: 10px;
     margin-right: 0.5em;
     margin-bottom: 20px;
     box-sizing: border-box;
     border: 2px solid #BECBDB;
     background: #fff;
     float: left;
     border-radius: 4px;
 }

 .form_order .field_box .checkbox:checked + label::before {
     border: none;
     background: url("/local/templates/family-new/assets/img/product/checked.svg") center center no-repeat;
 }

 .form_order .field_box .submit {
     font-weight: 600;
     font-size: 16px;
     line-height: 16px;
     color: #FFFFFF;
     text-align: center;
     cursor: pointer;
     border: none;
     background: #255087;
 }

 .form_order .field_box .submit.disabled {
     opacity: 0.5;
 }

 .form_order .field_box .submit .arrow {
     display: inline-block;
     width: 16px;
     height: 12px;
     margin-left: 8px;
     background: url("/local/templates/family-new/assets/img/product/arrow.svg") center center no-repeat;
 }

 .form_order .field_box.error .field-label {
     color: #CD201F;
 }

 .form_order .field_box.error .error-block {
     font-weight: 400;
     font-size: 12px;
     line-height: 12px;
     color: #CD201F;
 }

 .form_order .field_box.error .input,
 .form_order .field_box .input.error {
     border: 1px solid #CD201F;
 }

 .order-success-block {
     display: flex;
     align-items: center;
     justify-content: center;
     flex-direction: column;
     width: 100%;
     height: 100%;
 }

 @media screen and (max-width: 640px) {
     .form_order {
         top: 0;
         height: 100%;
         max-height: 100vh;
         padding: 25px 22px;
         overflow-y: auto;
         -webkit-overflow-scrolling: touch;
         border-radius: 0;
     }

     .form_order .form-title {
         font-weight: 800;
         font-size: 24px;
         line-height: 1.2;
         margin-bottom: 28px;
         text-align: left;
     }

     .form_order .box-title {
         font-weight: 700;
         font-size: 12px;
         line-height: 1.1;
     }
 }

 .kdm-catalog-page .bx-filter {
     background: #ffffff;
     border: 1px solid #dbe8ef;
     border-radius: 20px;
     padding: 16px;
     box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
 }

 .kdm-catalog-page .bx-filter .bx_filter_section {
     padding: 0 !important;
     border: 0 !important;
     border-radius: 0 !important;
     background: transparent !important;
 }

 .kdm-catalog-page .bx-filter .bx_filter_title {
     margin: 0 0 14px !important;
     padding: 0 !important;
     text-shadow: none !important;
     font-size: 18px !important;
     font-weight: 700 !important;
     line-height: 1.2;
 }

 .kdm-catalog-page .bx-filter .bx_filter_button_box,
 .kdm-catalog-page .bx-filter .bx_filter_parameters_box {
     padding: 0 !important;
 }

 .kdm-catalog-page .bx-filter .bx_filter_parameters_box {
     margin-bottom: 10px !important;
     border: 1px solid #e6eef4 !important;
     border-radius: 14px !important;
     overflow: hidden;
     background: #fff;
 }

 .kdm-catalog-page .bx-filter .bx_filter_parameters_box_title {
     display: flex !important;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     width: 100%;
     margin: 0 !important;
     padding: 12px 14px !important;
     border-bottom: 0 !important;
     font-size: 14px !important;
     font-weight: 600 !important;
     line-height: 1.2;
     color: #111827 !important;
     text-shadow: none !important;
     cursor: pointer;
 }

 .kdm-catalog-page .bx-filter .bx_filter_parameters_box_title:after {
     content: '' !important;
     position: static !important;
     width: 10px !important;
     height: 10px !important;
     margin: 0 !important;
     opacity: 1 !important;
     background: transparent !important;
     border-right: 2px solid #667085;
     border-bottom: 2px solid #667085;
     transform: rotate(45deg);
 }

 .kdm-catalog-page .bx-filter .bx_filter_parameters_box.active .bx_filter_parameters_box_title:after {
     transform: rotate(225deg);
 }

 .kdm-catalog-page .bx-filter .bx_filter_block {
     display: none;
     padding: 10px 14px 12px !important;
 }

 .kdm-catalog-page .bx-filter .bx_filter_parameters_box.active .bx_filter_block {
     display: block;
 }

 .kdm-catalog-page .bx-filter .bx_filter_parameters_box_container {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 10px;
     width: 100%;
 }

 .kdm-catalog-page .bx-filter .bx_filter_input_container {
     max-width: none !important;
     min-width: 0 !important;
     height: auto !important;
     padding: 0 !important;
     border-radius: 0 !important;
     background: transparent !important;
 }

 .kdm-catalog-page .bx-filter input.min-price,
 .kdm-catalog-page .bx-filter input.max-price,
 .kdm-catalog-page .bx-filter input.calendar {
     width: 100% !important;
     height: 40px !important;
     border-radius: 12px !important;
     border: 1px solid #d0d5dd !important;
     background: #ffffff !important;
     box-shadow: none !important;
     padding: 0 12px !important;
     font-size: 14px !important;
     color: #111827 !important;
 }

 .kdm-catalog-page .bx-filter .bx_filter_parameters_box_container_block {
     width: 50% !important;
     font-size: 12px !important;
     color: #667085 !important;
 }

 .kdm-catalog-page .bx-filter label.bx_filter_param_label {
     display: block;
     margin: 0 0 6px;
     padding: 10px 10px;
     border-radius: 12px;
     border: 1px solid #eaecf0;
     background: #ffffff;
 }

 .kdm-catalog-page .bx-filter label.bx_filter_param_label:hover {
     background: #f8fafc;
 }

 .kdm-catalog-page .bx-filter label.bx_filter_param_label.disabled {
     opacity: 0.5;
 }

 .kdm-catalog-page .bx-filter .bx_filter_input_checkbox {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .kdm-catalog-page .bx-filter .bx_filter_input_checkbox input[type="checkbox"] {
     appearance: none;
     width: 18px;
     height: 18px;
     border-radius: 6px;
     border: 1px solid #d0d5dd;
     background: #fff;
     flex: 0 0 auto;
 }

 .kdm-catalog-page .bx-filter .bx_filter_input_checkbox input[type="checkbox"]:checked {
     background: #1f2f46;
     border-color: #1f2f46;
 }

 .kdm-catalog-page .bx-filter .bx_filter_param_text {
     font-size: 14px;
     color: #111827;
 }

 .kdm-catalog-page .bx-filter .bx_filter_param_text span[data-role^="count_"] {
     color: #667085;
 }

 .kdm-catalog-page .bx-filter .bx_filter_button_box.active {
     border: 0 !important;
     margin-top: 12px;
 }

 .kdm-catalog-page .bx-filter .bx_filter_button_box .bx_filter_parameters_box_container {
     display: grid;
     grid-template-columns: 1fr;
     gap: 10px;
 }

 .kdm-catalog-page .bx-filter input.bx_filter_search_button {
     width: 100% !important;
     height: 44px !important;
     border-radius: 14px !important;
     border: 1px solid #1f2f46 !important;
     background: #1f2f46 !important;
     color: #ffffff !important;
     font-weight: 600 !important;
 }

 .kdm-catalog-page .bx-filter input.bx_filter_search_reset {
     width: 100% !important;
     height: 44px !important;
     border-radius: 14px !important;
     border: 1px solid #d0d5dd !important;
     background: #ffffff !important;
     color: #344054 !important;
     font-weight: 600 !important;
 }

 .kdm-catalog-page .bx-filter .bx_filter_popup_result {
     display: none !important;
 }

 .kdm-catalog-page .bx-filter .bx_ui_slider_track {
     height: 6px !important;
     margin: 14px 2px 6px !important;
     border-radius: 999px !important;
     background: #eaecf0 !important;
     box-shadow: none !important;
 }

 .kdm-catalog-page .bx-filter .bx_ui_slider_part,
 .kdm-catalog-page .bx-filter .bx_ui_slider_part span {
     display: none !important;
 }

 .kdm-catalog-page .bx-filter .bx_ui_slider_pricebar_VD,
 .kdm-catalog-page .bx-filter .bx_ui_slider_pricebar_VN {
     border: 0 !important;
     background: transparent !important;
     box-shadow: none !important;
 }

 .kdm-catalog-page .bx-filter .bx_ui_slider_pricebar_V {
     border: 0 !important;
     background: #1f2f46 !important;
 }

 .kdm-hard-filter .catalog-list {
     display: grid;
     grid-template-columns: minmax(260px, 320px) repeat(3, minmax(0, 1fr));
     gap: 24px;
     align-items: start;
 }

 .kdm-hard-filter .catalog-list .catalog-item {
     width: auto;
     flex-basis: auto;
     margin: 0;
 }

 .kdm-hard-filter .catalog-filter-card {
     grid-column: 1;
     grid-row: 1 / span 999;
     align-self: start;
     padding: 18px;
     position: relative;
     z-index: 60;
     pointer-events: auto;
     background: #ffffff;
     border: 1px solid #e6eef4;
     border-radius: 18px;
     box-shadow: 0 14px 34px rgba(31, 47, 70, 0.12);
 }

 .kdm-hard-filter .catalog-item-property > div.offer-select-block {
     position: relative;
     z-index: 90;
 }

 .kdm-hard-filter .catalog-filter-card * {
     pointer-events: auto;
 }

 .kdm-hard-filter .catalog-filter-title {
     margin: 0 0 12px;
     font-size: 18px;
     font-weight: 700;
     color: #1f2f46;
     padding: 2px 2px 12px;
     border-bottom: 1px solid #eef2f6;
 }

 .kdm-hard-filter .catalog-filter-group {
     margin-bottom: 10px;
     border: 1px solid #e6eef4;
     border-radius: 14px;
     overflow: hidden;
     background: #fff;
 }

 .kdm-hard-filter .catalog-filter-group-title {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     width: 100%;
     margin: 0;
     padding: 12px 14px;
     border: 0;
     background: #f7f9fc;
     font-size: 14px;
     font-weight: 600;
     line-height: 1.2;
     color: #111827;
     cursor: pointer;
 }

 .kdm-hard-filter .catalog-filter-group-title:hover {
     background: #eef4ff;
 }

 .kdm-hard-filter .catalog-filter-group-title:focus-visible {
     outline: 2px solid rgba(31, 47, 70, 0.35);
     outline-offset: 2px;
 }

 .kdm-hard-filter .catalog-filter-group-body {
     display: none;
     padding: 10px 14px 12px;
 }

 .kdm-hard-filter .catalog-filter-group.open .catalog-filter-group-body {
     display: block;
 }

 .kdm-hard-filter .catalog-filter-option {
     display: flex;
     align-items: center;
     gap: 10px;
     min-height: 40px;
     margin: 0 0 8px;
     padding: 10px;
     font-size: 14px;
     line-height: 1.2;
     border-radius: 12px;
     border: 1px solid #eaecf0;
     background: #ffffff;
     cursor: pointer;
     user-select: none;
 }

 .kdm-hard-filter .catalog-filter-option:hover {
     border-color: #d6e0ea;
     background: #f8fafc;
 }

 .kdm-hard-filter .catalog-filter-option:last-child {
     margin-bottom: 0;
 }

 .kdm-hard-filter .catalog-filter-option input[type="checkbox"] {
     appearance: none;
     -webkit-appearance: none;
     width: 18px;
     height: 18px;
     border-radius: 6px;
     border: 1px solid #d0d5dd;
     background: #fff;
     flex: 0 0 auto;
     cursor: pointer;
     position: relative;
 }

 .kdm-hard-filter .catalog-filter-option input[type="checkbox"]:checked {
     background: #1f2f46;
     border-color: #1f2f46;
 }

 .kdm-hard-filter .catalog-filter-option input[type="checkbox"]:checked::after {
     content: '';
     position: absolute;
     left: 6px;
     top: 3px;
     width: 4px;
     height: 8px;
     border: 2px solid #ffffff;
     border-top: 0;
     border-left: 0;
     transform: rotate(45deg);
 }

 .kdm-hard-filter .catalog-filter-option input[type="checkbox"]:checked + span {
     color: #1f2f46;
     font-weight: 600;
 }

 .kdm-hard-filter .catalog-filter-select select {
     width: 100%;
     height: 44px;
     padding: 0 12px;
     border-radius: 12px;
     border: 1px solid #d0d5dd;
     background: #ffffff;
     color: #111827;
     font-weight: 600;
 }

 .kdm-hard-filter .catalog-filter-select select:focus {
     border-color: #1f2f46;
     box-shadow: 0 0 0 4px rgba(31, 47, 70, 0.14);
 }

 .kdm-hard-filter .catalog-filter-footer {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     margin-top: 12px;
 }

 .kdm-hard-filter .catalog-filter-count {
     font-size: 14px;
     font-weight: 600;
     color: #111827;
 }

 .kdm-hard-filter .catalog-filter-reset {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     height: 44px;
     padding: 0 14px;
     border-radius: 14px;
     border: 1px solid #1f2f46;
     background: #1f2f46;
     color: #ffffff;
     font-weight: 600;
     cursor: pointer;
 }

 .kdm-hard-filter .catalog-filter-reset:hover {
     background: #263242;
     border-color: #263242;
 }

 .kdm-hard-filter .catalog-filter-reset:focus-visible {
     outline: 2px solid rgba(31, 47, 70, 0.35);
     outline-offset: 2px;
 }

 @media screen and (max-width: 1100px) {
     .kdm-hard-filter .catalog-list {
         grid-template-columns: minmax(240px, 300px) repeat(2, minmax(0, 1fr));
         gap: 16px;
     }
 }

 @media screen and (max-width: 980px) {
     .kdm-hard-filter .catalog-list {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 16px;
     }

     .kdm-hard-filter .catalog-filter-card {
         grid-column: 1 / -1;
         grid-row: auto;
     }
 }

 @media screen and (max-width: 670px) {
     .kdm-hard-filter .catalog-list {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 10px;
     }
 }

 @media screen and (max-width: 350px) {
     .kdm-hard-filter .catalog-list {
         grid-template-columns: 1fr;
     }
 }

/* ==================== Wishlist Heart Icon ==================== */

.wishlist-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F6FA;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.wishlist-btn:hover {
    background: #E8ECF2;
    transform: scale(1.1);
}

.wishlist-btn .heart-icon {
    fill: none;
    stroke: #999;
    stroke-width: 1.5;
    transition: fill 0.25s, stroke 0.25s;
}

.wishlist-btn.active .heart-icon {
    fill: #FF4B4B;
    stroke: #FF4B4B;
}

.wishlist-btn:hover .heart-icon {
    stroke: #FF4B4B;
}

/* Card actions row (Подробнее + heart) */
.catalog-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.catalog-item-actions .catalog-detail-link {
    flex: 1 1 auto;
}

.catalog-item-actions .card-wishlist-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

/* Detail page wishlist button */
.detail-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.detail-actions .btn.btn-primary.add-to-cart-js {
    flex: 1 1 auto;
}

.detail-actions .detail-wishlist-btn {
    position: static;
    width: 50px;
    min-width: 50px;
    height: auto;
    flex: 0 0 50px;
    border-radius: 12px;
    background: #F3F6FA;
    box-shadow: none;
}

.detail-actions .detail-wishlist-btn:hover {
    background: #E8ECF2;
}

.detail-actions .detail-wishlist-btn .heart-icon {
    stroke: #999;
    fill: none;
}

.detail-actions .detail-wishlist-btn.active .heart-icon {
    fill: #FF4B4B;
    stroke: #FF4B4B;
}

/* ==================== Cart Modal ==================== */

.cart-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.45);
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    overflow-y: auto;
}

.cart-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: cartSlideIn .3s ease;
}

@keyframes cartSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 16px;
    border-bottom: 1px solid #eef1f5;
}

.cart-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #263242;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-modal-title svg {
    stroke: #263242;
}

.cart-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f2f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}

.cart-modal-close:hover {
    background: #e0e3e8;
    transform: scale(1.1);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 28px;
}

.cart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
}

.cart-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #eef1f5;
    border-top-color: #263242;
    border-radius: 50%;
    animation: cartSpin .7s linear infinite;
}

@keyframes cartSpin {
    to { transform: rotate(360deg); }
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    color: #999;
    font-size: 15px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f2f5;
    transition: opacity .3s;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 700;
    font-size: 15px;
    color: #263242;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-size {
    font-size: 13px;
    color: #7a8a9e;
    margin-bottom: 2px;
}

.cart-item-qty {
    font-size: 13px;
    color: #7a8a9e;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.cart-item-price {
    text-align: right;
}

.cart-item-old-price {
    display: block;
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.cart-item-current-price {
    font-size: 17px;
    font-weight: 800;
    color: #263242;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    transition: background .2s, color .2s;
}

.cart-item-remove:hover {
    background: #fef2f2;
    color: #e53e3e;
}

.cart-modal-footer {
    padding: 16px 28px 24px;
    border-top: 2px solid #eef1f5;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total-label {
    font-size: 16px;
    font-weight: 600;
    color: #263242;
}

.cart-total-value {
    font-size: 22px;
    font-weight: 800;
    color: #263242;
}

.cart-checkout-btn {
    width: 100%;
    padding: 14px 24px;
    background: #263242;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

.cart-checkout-btn:hover {
    background: #1a2530;
}

.cart-checkout-btn:active {
    transform: scale(0.98);
}

@media (max-width: 640px) {
    .cart-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .cart-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
    }

    .cart-modal-header {
        padding: 18px 16px 12px;
    }

    .cart-modal-title {
        font-size: 18px;
    }

    .cart-modal-body {
        padding: 12px 16px;
    }

    .cart-item-img {
        width: 64px;
        height: 64px;
    }

    .cart-modal-footer {
        padding: 12px 16px 20px;
    }
}

/* ==================== Favorites Modal ==================== */

.fav-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.45);
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .25s ease;
}

.fav-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.fav-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 1060px;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: favModalIn .3s ease;
}

@keyframes favModalIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fav-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 16px;
    border-bottom: 1px solid #F0F0F0;
    flex-shrink: 0;
}

.fav-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #263242;
    margin: 0;
}

.fav-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fav-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.fav-clear-btn:hover {
    color: #dc3545;
    border-color: #dc3545;
}

.fav-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: #F3F6FA;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all .2s;
}

.fav-modal-close:hover {
    background: #E8ECF2;
    color: #333;
}

.fav-modal-body {
    padding: 20px 28px 28px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.fav-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    color: #999;
    font-size: 15px;
}

/* Catalog-style grid inside favorites modal */
.fav-catalog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.fav-catalog-list .catalog-item {
    flex-basis: calc(33.333% - 14px);
    width: calc(33.333% - 14px);
    padding: 15px 15px 20px;
}

.fav-to-cart-btn .heart-icon {
    fill: none !important;
    stroke: #263242 !important;
    stroke-width: 1.5;
    transition: stroke .2s, fill .2s;
}

.fav-to-cart-btn:hover .heart-icon {
    stroke: #4A90D9 !important;
}

.fav-to-cart-btn.added {
    background: #28a745 !important;
    pointer-events: none;
}

.fav-to-cart-btn.added .heart-icon {
    stroke: #fff !important;
}

@media (max-width: 640px) {
    .fav-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .fav-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
    }

    .fav-modal-header {
        padding: 18px 16px 12px;
    }

    .fav-modal-title {
        font-size: 20px;
    }

    .fav-modal-body {
        padding: 12px 16px 20px;
    }

    .fav-catalog-list .catalog-item {
        flex-basis: calc(50% - 10px);
        width: calc(50% - 10px);
    }
}

/* End */
/* /local/templates/family-new/assets/font-awesome/css/font-awesome.min.css?176579923131000 */
/* /local/templates/family-new/assets/js/fancybox3/dist/jquery.fancybox.min.css?176579923210366 */
/* /local/templates/family-new/assets/css/swiper-bundle.min.css?176579923113885 */
/* /local/templates/family-new/assets/css/components.css?17648790028891 */
/* /local/templates/family-new/template_styles.css?1771275804118700 */
