/*
Theme Name: M-WebDevStudionew
Author: M-WebDev
*/

:root {
            /* Кольори */
           
            --color-background: #ffffff; /* Глибокий темний фон f4f1ea (як у GitHub Dark) */
            --color-text-main: #1a1a1a; /* Світлий текст */
            --color-text-secondary: #8b949e; /* Сірий текст (для опису) */
            --color-card-block: #f0eeef;
            --color-card-bg: #ffffff; /* Фон для карток/секцій */
            --color-border: #1a1a1a; /* Тонкі роздільники */
            --color-background-btn: #025b0e;
            --color-btn-text: #f0eeef;

            /* Шрифти */
            --font-main: 'Inter', sans-serif; /* Сучасний мінімалістичний шрифт */
            --font-heading: 'Poppins', sans-serif; /* Чіткий шрифт для заголовків */

            /* Інші змінні */
            --spacing-unit: 1.5rem;
            --border-radius: 8px;
        }

.hidden{
	display: none !important;
}

.cta_hover:hover{
	-webkit-box-shadow: 0px 0px 7px 0px rgba(255,255,255,0.75);
	-moz-box-shadow: 0px 0px 7px 0px rgba(255,255,255,0.75);
	box-shadow: 0px 0px 7px 0px rgba(255,255,255,0.75);
	border-radius: 15px;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: inherit;
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
}

html {
	height: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

body{
	height: 100%;
	margin: 0;
  padding: 20px;
	background-color: var(--color-background);
	color: var(--color-text-main);
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	font-family: "Roboto", sans-serif;;
	line-height: 1.5;
	font-size: 16px;
	
}


 h1, h2, h3, h4 {
	color: var(--color-text-main);
	line-height: 1.2;
	margin-bottom: var(--spacing-unit);
	font-weight: 700;
}

h1 {
	font-size: 3rem; /* Великий заголовок */
	text-align: center;
}

h2 {
	font-size: 2.5rem;
	position: relative;
}

.front_main h2{
	display: block;
	width: 100%;
}

.front_main h2::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background-color: var(--color-secondary);
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	width: 100%;
}

p {
	color: var(--color-text-main);
	margin-bottom: var(--spacing-unit);
	font-size: 16px;
}

.articles_content p{
	width: 100%;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
/*	font-family: "Courier 10 Pitch", courier, monospace;*/
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
/*	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;*/
}

abbr,
acronym {
/*	border-bottom: 1px dotted #666;*/
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	/*width: 100%;*/
	/*margin: 0 0 1.5em 3em;*/
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
	/*filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
  transition: filter 0.3s ease;*/
}

/*img:hover {
  filter: grayscale(0%);
}*/

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-text-main);
	text-decoration: underline;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
/*	color: #191970;*/
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	text-decoration: none !important;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

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

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/*__________________________*/

body::-webkit-scrollbar {
  width: 10px;               
}

body::-webkit-scrollbar-track {
  background: #e0e5e6;        
}

body::-webkit-scrollbar-thumb {
  background-color: #bec9ca;    
  border-radius: 25px;
}

.wp-block-list{
	margin-left: 20px !important;
}

.row{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 auto;
}

.column{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	align-content: flex-start;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 auto;
}

.pagination{
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	text-align: center;
}

.pagination span{
	width: auto;
}

.nav-links{
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.page-numbers{
	background: var(--color-background-btn);
	border: 1px solid var(--color-background-btn);
	padding: 18px 32px;
	color: var(--color-btn-text) !important;
	text-decoration: none;
}

.current{
	background: var(--color-background);
	color: var(--color-text-main) !important;
	border: 1px solid var(--color-background-btn);
}

.portfolio_row .wp-block-image a img{
	border: 1px solid #1a1a1a;
}


.catalog_row{
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
}

.catalog .catalog_row > h2{
	text-align: center;
	font-size: 2rem;
	color: #ffffff;
	margin: 30px 0;
	text-transform: uppercase;
}

.catalog_row > p{
	text-align: center;
	width: 90%;
	font-size: 1.2rem;
	margin: 20px auto;
	color: #ffffff;
}

.catalog .catalog_row .card_link:hover .card{
	border: none;
	padding: 0;
}

.products_row{
	align-items: flex-start;
	justify-content: space-around;
}

.products_row .old_price{
	text-decoration: line-through;
}

.title_center{
	text-align: center;
	font-size: 2rem;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.text_center{
	text-align: center;
	font-size: 1.5rem;
}

.text_card{
		display: block;
    width: calc(100% / 3.7);
    margin: 25px 0;
}

.text_card a{
  color: var(--color-primary);
}

.wrapper{
	display: flex;
	flex-direction: column;
	/*width: 100%;*/
	padding: 20px;
	max-width: 1000px;
	min-height: 100%;
	word-wrap: break-word;
	border: 1px solid #1a1a1a;
	margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.ShowMenu{

	display: none;
	width: 50px;
	height: 50px;
}

.ShowMenu img{
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

header{
	display: block;
	width: 100%;
	text-align: center;
}

.header-top {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-top .header-top-text{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
}

.header-top .header-top-text a{
	font-weight: bold;
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    margin: 10px 0;
    font-family: 'Times New Roman', serif;
    letter-spacing: -2px;
    text-transform: uppercase;
}

/*.header-top nav{
	margin: 10px auto;
}

.header-top .navigation{
	display: flex;
	flex-wrap: wrap;
}

.header-top .navigation li{
	display: block;
	margin: 0 20px;
}*/


.header-bottom .navigation{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 auto;
}

.header-bottom .navigation li{
	display: block;
	margin: 0 20px;
}

.navigation li:first-child{
	margin-left: 0;
}

.navigation li:last-child{
	margin-right: 0;
}

.header-bottom .navigation li a, .header-bottom .navigation li a:visited, .footer .footer_nav .footer_menu li a:visited{
	color: var(--color-text-main);
	text-decoration: none;
}

.header-bottom {
    font-size: 16px;
    font-weight: bold;
    border-top: 1px solid #1a1a1a;
    padding: 10px 0;
    letter-spacing: 1px;
}

/* Контентні лінії */
.double-line {
    border: none;
    border-top: 4px double #1a1a1a;
    height: 4px;
    margin: 30px 0;
}

.single-line {
    border: none;
    border-top: 1px solid #1a1a1a;
    margin: 30px 0;
}


.breadcrumbs{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	font-size: 1rem;
	width: 100%;
	margin: 20px 0;
	padding: 10px 0;
}

.breadcrumbs li{
	display: block;
	word-wrap: break-word;
}

.breadcrumbs li::after{
	content: ">";
	margin: 0 5px;
}

.breadcrumbs li:last-child::after{
	content: "";
}

.breadcrumbs li a{
	color: var(--color-text-main);
	text-decoration: none;
}

.breadcrumbs span{
	display: inline-block;
}


main{
	display: block;
	width: 100%;
	flex-grow: 1;
}

main aside{
	width: 100%;
}

main aside .row{
	padding: 20px 0 0 0;
}

.widget_categories, main aside ul{
	width: 100%;
}

main aside ul li{
	display: block;
	float: left;
	margin-left: 20px;
	margin-bottom: 20px;
}

main aside ul li a{
	display: block;
	font-size: 1.25rem;
	color: var(--color-text-main);
	padding: 10px 15px;
	border: 1px solid var(--color-border);
}

main aside ul li a:hover{
	background-color: var(--color-background-btn);
	color: var(--color-btn-text); !important;
	transition: 0.1s;
}

/*main aside ul li a:visited{
	color: var(--color-text-main);
}*/

/* Перший екран */
.hero-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 36px;
    line-height: 1.1;
    margin-top: 0;
}

.hero-image {
    flex: 1;
}

.placeholder-img {
    background: #ddd;
    border: 1px solid #1a1a1a;
    max-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    /*filter: grayscale(100%);*/
}

.placeholder-img img{
	object-fit: cover;
	max-height: 340px;
}


/* Сітка та картки */
.grid-container, .grid-2-cols {
    display: flex;
    gap: 20px;
}

.info_blocks{
	width: 100%;
}

.steps{
	background: var(--color-card-block);
	padding: 10px;
}

.card, .column {
    flex: 1;
}

.card{
	margin-top: 0 !important;
	background: var(--color-card-bg);
}

.card img{
	height: auto;
	width: auto;
	max-width: 80px;
	max-height: 80px;
	object-fit: cover;
}

.price_card{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	width: 100%;
	background: var(--color-card-bg);
	/*border: 1px solid var(--color-border);*/
	padding: 20px 30px;
	margin: 30px 0;
	text-decoration: none;
}

.price_card a{
	text-decoration: none;
}

.price_card .price_card_title{
	font-size: 1.625rem;
	text-align: center;
	margin-bottom: 0;
	width: auto !important;
	color: var(--color-text-main);
}

.price_card .price_card_title::first-letter{
	text-transform: uppercase;
}

.price_card .price_card_description{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	text-align: center;
}

.price_card .price_card_description p{
	font-size: 1.3rem;
	margin: 0;
}

.price_card .price_card_price{
	font-size: 1.8rem;
	font-weight: 700;
	text-align: center;
	margin-: 30px 0;
}


/*product*/

.product_card{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 250px;
	height: auto;
	margin: 30px auto;
  text-decoration: none;
  background: var(--color-card-block);
  color: var(--color-text-main);
}

.product_card a{
	text-decoration: none;
}

.product_card .card .card_img{
	display: block;
	max-width: 100%;
	max-height: 165px !important;
}

 .product_card img{
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	object-fit: cover;
	filter: grayscale(0%) !important;
	-webkit-filter: grayscale(0%);
	/*border-bottom: 1px solid #D8D9DD;*/
}

 .product_card .card_name{
	margin: 10px 0 0 0 !important;
	color: var(--color-text-main);
	padding: 5px 0;
	word-wrap: break-word;
	border: none !important;
	font-weight: 700;
}

.product_card .card_exerpt p{
	margin: 0 !important;
	color: var(--color-text-main);
	padding: 10px 0;
	word-wrap: break-word;
	border: none !important;
	font-size: 14px !important;
}

.product_card .card_name::first-letter{
	text-transform: uppercase;
 }

 .product_card .card_price{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	width: 100%;
	margin: 15px auto;
	text-align: center;
}

.product_card .card_price p{
	display: block;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
	width: 100%;
	/*margin: 10px 0;*/
	margin-bottom: 0;
	word-wrap: break-word;
}

.product_card .card_price span{
	width: 100%;
	margin: 10px auto;
	font-size: 1rem;
  padding: 10px 10px;
}

.product_card .card_price p img{
	width: auto;
	height: auto;
	max-width: 32px;
}

.product_card .btn-black{
	text-align: center;
	margin: 10px auto;
}

/*.product_card .more{
	margin: 20px 0;
	text-align: center;
	background: #1a1a1a;
	color: #f4f1ea;
	font-size: 1rem;
	padding: 18px 32px;
}*/




.vertical-divider {
    border-left: 1px solid #1a1a1a;
    padding-left: 20px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    background: #1a1a1a;
    color: #f4f1ea;
    padding: 5px;
    margin-bottom: 20px;
}

h4 {
    text-decoration: underline;
    margin-top: 0;
}

/* Кнопка */
.btn-black, .wp-block-button__link {
    display: inline-block;
    background: var(--color-background-btn);
    color: var(--color-btn-text) !important;
    padding: 18px 32px;
    text-decoration: none;
    font-weight: 600;
    /*margin-top: 10px;*/
    border-radius: 0 !important;
    cursor: pointer;
}

/*.wp-element-button, .wp-block-button__link{
	background: transparent;
	color: inherit !important;
	padding: 0;
}*/

.btn-black:hover, .wp-block-button__link:hover {
    background: #048416;
}

/* Футер */
.footer {
    text-align: center;
    margin-top: 40px;
}

.contacts {
    font-weight: bold;
    margin-top: 20px;
}

.footer .footer_nav{
	margin: 0 auto;
}

.footer .footer_nav .footer_menu{
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
}

.footer .footer_nav .footer_menu li{
	display: block;
	margin: 0 20px;
}

.footer_menu li:first-child{
	margin-left: 0;
}

.footer_menu li:last-child{
	margin-right: 0;
}

.footer .footer_nav .footer_menu li a{
	font-size: 14px;
	color: var(--color-text-main);
	text-decoration: none;
}


.product_description{
	display: block;
	width: 50%;
}

.price{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 35%;
    height: auto;
    padding: 10px 0;
    word-wrap: break-word;
 }

.price p{
	width: auto;
	margin: 0 auto;
	font-size: 1.5rem;
}

.price .row{
	width: 100%;
	padding: 10px 0;
	gap: 10px;
	justify-content: space-around;
}

.price img{
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	filter: grayscale(0%) !important;
}

.product_description .wp-block-gallery img, .full-image figure img{
	filter: grayscale(0%) !important;
}


/*.info_blocks{
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}*/


/* Контактна форма у стилі газетного купона */
.coupon-container {
    border: 2px solid var(--color-background-btn);
    padding: 30px;
    background-color: #fff;
    max-width: 600px;
    margin: 40px auto;
    position: relative;
}

/* Маленька іконка ножиць для стилю */
/*.coupon-container::before {
    content: "✂";
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 20px;
    background: #f4f1ea;
    padding: 0 5px;
}*/

.coupon-note {
    text-align: center;
    font-style: italic;
    margin-bottom: 25px;
    font-size: 14px;
}

.to_buy{
 background: #f0eeef;
  margin: 30px 0;
  padding: 30px 10px;
}

.to_buy h2{
	width: auto;
	font-size: 2rem;
	margin-bottom: 0;
}

.form_to_buy{
	display: none;
	width: 100%;
	height: 100%;
	/*padding-top: 60px;*/
  background-color: var(--color-background);
	/*background: rgba(255, 255, 255, 0.9);*/
	/*backdrop-filter: blur(5px);*/
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
}

.form_to_buy .row{
	padding: 0;
}

.form_to_buy .cross{
	display: block;
	width: 100%;
	height: 24px;
}

.form_to_buy .cross img{
	width: auto;
	height: auto;
	max-width: 24px;
	float: right;
}

.newspaper-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    /*gap: 5px;*/
}

.form-group label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--color-background-btn);
}

.form-group input {
    border: none;
    border-bottom: 1px solid var(--color-background-btn); /* Лінія замість рамки */
    background: transparent;
    padding: 5px;
    /*font-family: 'Georgia', serif;*/
    font-size: 16px;
    outline: none;
}

.form-group textarea {
    border: none;
    border-bottom: 1px solid var(--color-background-btn); /* Лінія замість рамки */
    background: transparent;
    padding: 5px;
    /*font-family: 'Georgia', serif;*/
    font-size: 16px;
    outline: none;
    height: 70px;
    resize: none;
}

.brief-form .form-group input[type="text"], .brief-form .form-group input[type="email"], .brief-form .form-group input[type="tel"]{
	width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    /*background-color: #fffdec;*/
    border-bottom: 2px solid var(--color-background-btn);
}

.newspaper-form .agree{
	width: 90%;
	font-size: 1rem;
	margin: 0 auto;
}

.btn-full {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    letter-spacing: 2px;
    padding: 15px;
    transition: 0.3s;
}

.footer-fine-print {
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 30px;
    opacity: 0.7;
}


.show_block{
	display: flex;
	flex-direction: row;
  justify-content: space-around;
  align-items: center;		
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.animate-on-scroll.slide-in {
  opacity: 0;
  transform: translateX(-20px);
}

.animate-on-scroll.scale-up {
  opacity: 0;
  transform: scale(0.8);
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.thanks{
	display: none;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.5);
}

.thanks figure{
	display: block;
	width: auto;
	height: auto;
	background: var(--color-background);
	font-size: 30px;
	-webkit-box-shadow: 0px 7px 22px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 7px 22px -1px rgba(0,0,0,0.75);
	box-shadow: 0px 7px 22px -1px rgba(0,0,0,0.75);
	text-align: center;
	padding: 20px;
	font-weight: bold;
}

.thanks figcaption{
	font-weight: 400;
	font-size: 1.5rem;
}

.thanks figure p{
	/*display: block;*/
	padding: 0.8rem 2.5rem;
	margin: 10px auto;
/*	width: 20%;
	border: 1px solid #106c9c;
	text-align: center;
	cursor: pointer;*/
}

/*.thanks figure p:hover{
	background: #106c9c;
	color: #ffffff;
	transition: 0.1s;
}*/



/* Адаптивність */
@media (max-width: 768px) {

	.ShowMenu{
		display: block;
		margin: 0 auto;
	}

	.header-bottom .navigation{
		display: none;
		width: 100%;
	}

	.header-bottom .navigation li{
		width: 100%;
		margin: 30px 0;
	}

	.header-bottom .navigation li a{
		text-align: center;
	}

    .hero-section, .grid-container, .grid-2-cols {
        flex-direction: column;
    }

    .info_blocks{
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}

    .vertical-divider {
        border-left: none;
        border-top: 1px solid #1a1a1a;
        padding-left: 0;
        padding-top: 20px;
    }
    .logo { font-size: 2.5rem; }

    .price_card{
    	justify-content: space-around;
    }

    .price_card .price_card_title{
    	margin-bottom: 10px;
    }

}




/* Адаптація для мобільних */
@media (max-width: 600px) {

		.portfolio-section .btn-black{
			width: 100%;
			text-align: center;
		}

    .coupon-container {
        margin: 20px 10px;
        padding: 15px;
    }

    .to_buy{
    	text-align: center;
    }

    .to_buy h2{
    	margin: 0 auto;
    }

    .to_buy .wp-block-buttons, .card .wp-block-buttons{
    	margin: 0 auto;
    }

    /*.card h3, .card p{
    	text-align: center;
    }*/

}

@media screen and (max-width:340px), (max-device-width:340px), (max-height: 495px) {
 .coupon-container{
    	max-height: 310px;
    	overflow: auto;
    }
}


