/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
    margin: 0;
    padding: 0;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* Box sizing rules */
*, *::before, *::after {
    box-sizing: border-box;
  }
/* blockquote */
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
img {
    display: block;
}

















/*MY STYLE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
body {
	background: #f4f4ed;
    font-family: Montserrat, Lato, Corbel, sans-serif;
	color: #121212;
	font-size: 1.1rem;
	line-height: 1.6;
}

p {
	margin-top: 1rem;
}

li {
	margin-top: 1rem;
}

ul, ol {
	margin-top: 2rem;
}

img {
	margin-top: 2rem;
}

@media (max-width: 1050px) {	
	h1 + div {
		margin-top: 2rem;
	}
}

h1, h2, h3, h4 {
	text-wrap: balance;
}

h1 {
	font-size: 2rem;
	line-height: 1.5;
	color: #121212; 
	text-align: left;
}

h2 {
	font-size: 1.6rem;
	line-height: 1.55;
    margin-top: 3rem;
}

h3 {
	font-size: 1.3rem;
	line-height: 1.55;
	color: #121212;
    margin-top: 2.5rem;
}

ul li h3 {
    margin-top: 2rem;
}

h1 + h2, h2 + h3, h1 + cite {
	margin-top: 1rem;
}

h1 + p, h2 + p, h3 + p, h1 + .about-me-grid {
	margin-top: 1rem;
}

.section-title + .products li:first-child h3 {
    margin-top: 1rem;
}

cite + p {
	margin-top: 2rem;
}

/*all links*/
a, a:link, a:visited {
	color: rgb(18, 18, 18);
	padding: 3px;
	text-decoration: underline;
	transition: .4s ease all;
    cursor: pointer;
}

a:hover, a:focus-visible, a:active {
	color: rgba(18, 18, 18, 0.6);
	cursor: pointer;
}

main ul {
    list-style-type: disc; /* bullet points */
    padding-left: 1.5rem; /* space from left edge */
    margin: 1rem 0 1.5rem 0; /* space above and below */
}

code {
    font-style: italic;
}



/*MAIN---------------------------------------------------------------------*/
main {
	width: 90%;
	max-width: 1000px;
	margin: auto;
}


/*HEADER---------------------------------------------------------------------*/
header {
	font-size: 1.1rem;
	line-height: 1;
	color: #121212;
}

.header-content {
	width: 90%;
	max-width: 1000px;
	margin: auto;
}

header img {
    max-width: 290px; 
    height: auto;
	margin: auto;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

header {
	position: relative;
	border-bottom: none;
	margin-bottom: 1rem;
	padding-bottom: 2.5rem;
}

/*so switchers and menu will be on the same line*/
#whole-header {
	display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
}

/* buttons default/ dark mode */
fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1rem;
    margin: 2.0em;
    border: none;
}

label {
    white-space: nowrap;
}

label:hover, input:hover {
    cursor: pointer;
}


/* call---------------------------------------------------------------------*/
header #call {
	margin: 0px; 
	margin-left: auto; /* Push icons to the right */
}

/* style label */
header #call a {
	display: inline-block;
	text-decoration: none !important;
	text-align: right;
	padding: 10px 25px;
	border-radius: 999px;
	background-color: rgba(18, 18, 18, 0.7);
	background-color: rgba(207, 57, 43, 0.6);
	color: #f4f4ed;
	transition: .2s ease all;
    margin-top: 0rem;
}

header #call a:hover, header #call a:active, header #call a:focus-visible {
    background-color: rgba(207, 57, 43, 0.5);
}



/*MENU TOGGLE---------------------------------------------------------------------*/
input[type="checkbox"]#menu-toggle { /*to ensure the input remains accessible*/
    opacity: 0;
    position: absolute;
}

label.toggle {
    display: inline-block;
    width: auto;
    margin: 0;
    position: relative;
    padding-top: 10px;
    font-size: 1.2rem;
    line-height: 1;
    color: rgb(18, 18, 18);
}

nav label.toggle:hover, nav label.toggle:active, nav label.toggle:focus-visible {
    cursor: pointer;
}

/*visual focus*/
nav .toggle::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

input[type="checkbox"]#menu-toggle:focus-visible + label.toggle::before {
    border-top: 1.5px solid rgb(18, 18, 18);
    border-bottom: 1.5px solid rgb(18, 18, 18);
    outline: none;
}

/* show/hide menu */
input[type="checkbox"]#menu-toggle + label.toggle + ul {
    display: none;
}

input[type="checkbox"]#menu-toggle:checked + label.toggle + ul {
    display: block;
}

label.toggle strong { /*menu word*/
    position: absolute;
    display: none;
    width: 80vw;
    top: 10px; /*so menu word will be in the middle of three lines*/
    left: 3.5rem;
    color: rgb(18, 18, 18);
    transition: .4s ease all;
}

label.toggle:hover strong {
    color: rgba(207, 57, 43);
}

/* 3 lined toggle vis*/
label.toggle [class*='line-'] {
    background: rgb(18, 18, 18); /*color of the menu lines*/
    display: block;
    border-radius: 3px;
    height: 1.7px;
    width: 26px;
    margin: 0 0 6px 0;
    transform: rotate(0deg);
    transition: .4s ease all;
}

label.toggle:hover [class*='line-'],
label.toggle:active [class*='line-'],
label.toggle:focus-visible [class*='line-'] {
  background: rgba(207, 57, 43);
}

input[type="checkbox"]#menu-toggle:checked + label.toggle .line-top {
    transform: rotate(45deg);
    transform-origin: 7% 50%;
}

input[type="checkbox"]#menu-toggle:checked + label.toggle .line-mid {
    opacity: 0;
}

input[type="checkbox"]#menu-toggle:checked + label.toggle .line-bot {
    transform: rotate(-45deg);
    transform-origin: 7% 50%;
    margin-bottom: 2.5rem; /*to allow some distance between the 3 lined toggle and all other options while checked*/
}

/*link styling*/
header nav li a {
    margin-bottom: 2rem;
}

header nav li a:link, header nav li a:visited {
    display: block;
    padding-left: 0; /*so it will be on the same line with the menu*/
    /* link text */
    color: rgb(18, 18, 18);
    text-decoration: none;
    font-size: 1.2rem;
    text-align: left;
    transition: .4s ease all;
}

header nav li a:hover, header nav li a:active, header nav li a:focus-visible {
    color: rgba(207, 57, 43);
}

/*HEADER RESPONSIVE---------------------------------------------------------------------*/

@media (min-width: 810px) {	
	/* show/hide menu */	
    input[type="checkbox"]#menu-toggle + label.toggle + ul, input[type="checkbox"]#menu-toggle:checked + label.toggle + ul {
        display: block;
    }

    input[type="checkbox"]#menu-toggle + label.toggle, input[type="checkbox"]#menu-toggle:checked + label.toggle {
        display: none;
    }	

	header nav ul {
		width: 100%;
		margin-top: 0.5rem; /*so nav will be on the same lvl with the sunn and moon*/
	}

	nav ul li {
		display: inline;
		text-align: center;
	}

	nav li a:link, nav li a:visited {
		margin: 0;
		margin-right: 1.5rem;
		display: inline-block !important; /*this important makes it be not in a column*/
		text-align: center;
	}

	fieldset {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 3.5rem;
	}

    /* style label */
    #call a {
     margin-top: 0.2rem !important;
    }
}

































/*HOMEPAGE---------------------------------------------------------------------*/

img {
	max-width: 520px;
	width: 100%;
	height: auto;
	margin: auto;
}

.products {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0;
}

strong {
	color: rgba(207, 57, 43);
}

@media (min-width: 1050px) {

	.post-main-grid h3, .post-left-grid h3 {
		text-align: left;
	}

	.post-main-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 2rem;
		margin-bottom: 5rem;
	}

	.post-main-grid p:last-of-type, .post-left-grid p:last-of-type {
		margin-bottom: 0rem;
	}

	.post-left-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 2rem;
		margin-bottom: 5rem;
	}

	.post-main-grid img {
		grid-column: 2;
		grid-row: 1;
		margin: auto;
		margin-top: 3.6rem;
	}

	.post-left-grid img {
		grid-column: 1;
		grid-row: 1;
		margin: auto;
		margin-top: 3.6rem;
	}

	.post-main-grid img, .post-left-grid img {
		max-width: 500px; 
		margin-bottom: 0;
	}

	.product-page .post-main-grid {
		display: grid;
		grid-template-columns: 1.5fr 2fr;
		grid-gap: 2rem;
		margin-bottom: 5rem;
	}

	.product-page .post-left-grid {
		display: grid;
		grid-template-columns: 1.5fr 2fr;
		grid-gap: 2rem;
		margin-bottom: 5rem;
	}

}


/*КАТАЛОГ---------------------------------------------------------------------*/

.catalog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0 0.5rem;
    margin: auto;
}

.catalog figure {
    margin: 0 0 3rem 0;
}

.catalog img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.3s ease-in-out;
}

.catalog figcaption {
    text-align: center;
    min-height: 4.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog figcaption a {
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.catalog figcaption a:link,
.catalog figcaption a:visited {
    color: rgb(18, 18, 18);
}

.catalog figcaption a:hover,
.catalog figcaption a:active,
.catalog figcaption a:focus-visible {
    color: rgb(207, 57, 43);
}

.catalog img:hover,
.catalog img:active,
.catalog img:focus-visible {
    transform: scale(1.03);
}

@media (min-width: 440px) {
    .catalog {
        grid-gap: 0 3rem;
    }
    .catalog figcaption {
        font-size: 1.1rem;
    }
}

@media (min-width: 900px) {
    .catalog {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*MAP------------------------------------------------------------*/
iframe {
	margin-top: 3rem;
	margin-bottom: 3rem;
	width: 100%;
	height: 400px; /*so it will be the same as home img*/
}

#google-map {
	display: block;
	width: 100%;
	height: auto;
	max-width: 800px;
	margin: 0 auto;
}


/*PRODUCTS------------------------------------------------------------*/
.product-specs {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.product-specs h2 {
    
    margin: 2rem 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ddd;
}

.spec {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.value {
    color: #555;
}

/* Tablet and up */
@media (min-width: 640px) {
    .spec {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .label {
        margin-bottom: 0;
        width: 50%;
    }

    .value {
        width: 50%;
        text-align: right;
    }
}


/* GALLERY */
.gallery {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    user-select: none;
}

.gallery input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gallery-track {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    background: #e8e8e0;
}

.gallery-track .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .45s ease;
}

.gallery-track .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

#s1:checked ~ .gallery-track .slide:nth-child(1),
#s2:checked ~ .gallery-track .slide:nth-child(2),
#s3:checked ~ .gallery-track .slide:nth-child(3) {
    opacity: 1;
}

.gallery-arrows {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 10;
}

.arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(244, 244, 237, 0.88);
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 1rem;
    color: #121212;
    transition: background .2s, transform .2s;
}

.arrow:hover { background: #f4f4ed; transform: scale(1.08); color: rgba(207, 57, 43); }

#s1:checked ~ .gallery-arrows .arr-prev-1,
#s1:checked ~ .gallery-arrows .arr-next-1,
#s2:checked ~ .gallery-arrows .arr-prev-2,
#s2:checked ~ .gallery-arrows .arr-next-2,
#s3:checked ~ .gallery-arrows .arr-prev-3,
#s3:checked ~ .gallery-arrows .arr-next-3 { display: flex; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background .25s, transform .25s;
}

.dot:hover { background: rgba(207, 57, 43, 0.5); }

#s1:checked ~ .gallery-dots .dot:nth-child(1),
#s2:checked ~ .gallery-dots .dot:nth-child(2),
#s3:checked ~ .gallery-dots .dot:nth-child(3) {
    background: rgba(207, 57, 43, 0.85);
    transform: scale(1.25);
}

#s4:checked ~ .gallery-track .slide:nth-child(4),
#s5:checked ~ .gallery-track .slide:nth-child(5),
#s6:checked ~ .gallery-track .slide:nth-child(6),
#s7:checked ~ .gallery-track .slide:nth-child(7),
#s8:checked ~ .gallery-track .slide:nth-child(8) { opacity: 1; }

#s4:checked ~ .gallery-arrows .arr-prev-4,
#s4:checked ~ .gallery-arrows .arr-next-4,
#s5:checked ~ .gallery-arrows .arr-prev-5,
#s5:checked ~ .gallery-arrows .arr-next-5,
#s6:checked ~ .gallery-arrows .arr-prev-6,
#s6:checked ~ .gallery-arrows .arr-next-6,
#s7:checked ~ .gallery-arrows .arr-prev-7,
#s7:checked ~ .gallery-arrows .arr-next-7,
#s8:checked ~ .gallery-arrows .arr-prev-8,
#s8:checked ~ .gallery-arrows .arr-next-8 { display: flex; }

#s4:checked ~ .gallery-dots .dot:nth-child(4),
#s5:checked ~ .gallery-dots .dot:nth-child(5),
#s6:checked ~ .gallery-dots .dot:nth-child(6),
#s7:checked ~ .gallery-dots .dot:nth-child(7),
#s8:checked ~ .gallery-dots .dot:nth-child(8) {
    background: rgba(207, 57, 43, 0.85);
    transform: scale(1.25);
}






/* call---------------------------------------------------------------------*/
header #call {
	margin: 0px; 
	margin-left: auto; /* Push icons to the right */
}

/* style label */
header #call a {
	display: inline-block;
	text-decoration: none !important;
	text-align: right;
	padding: 10px 25px;
	border-radius: 999px;
	background-color: rgba(18, 18, 18, 0.7);
	background-color: rgba(207, 57, 43, 0.6);
	color: #f4f4ed;
	transition: .2s ease all;
    margin-top: 0rem;
}

header #call a:hover, header #call a:active, header #call a:focus-visible {
    background-color: rgba(207, 57, 43, 0.5);
}


/* CONSULTATION BANNER___________________________________________________________________________________________________________________________________________ */
.consultation {
	background-color: rgba(207, 57, 43, 0.6);
	color: #f4f4ed;
    margin-top: 2rem;
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.consultation-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f4f4ed;
    margin: 0;
}

.consultation-sub {
    color: #f4f4ed;
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.consultation-btn {
    display: inline-block;
    margin-top: 0.1rem;
	padding: 10px 25px !important;
	border-radius: 999px;
    background: #f4f4ed;
    color: rgba(207, 57, 43, 0.85) !important;
	font-weight: 500;
    font-size: 1.05rem;
    text-decoration: none !important;
    transition: background .3s, color .3s;
}

.consultation-btn:hover {
	background-color: rgba(18, 18, 18, 0.5);
    color: #f4f4ed !important;
}

@media (min-width: 760px) {
    .consultation {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;
        text-align: left;
        padding: 2rem 4rem;
    }
}

/*404---------------------------------------------------------------------*/
.not-found-btn {
	margin-top: 2rem !important;

}


/* style label */
.not-found-btn {
	display: inline-block;
	text-decoration: none !important;
	text-align: right;
	padding: 10px 25px !important;
	border-radius: 999px;
	background-color: rgba(207, 57, 43, 0.6);
	color: #f4f4ed !important;
	transition: .2s ease all;
    margin-top: 0rem;
}

.not-found-btn:hover, .not-found-btn:active, .not-found-btn:focus-visible {
    background-color: rgba(207, 57, 43, 0.5);
}


/*COOKIE YES---------------------------------------------------------------------*/


.cky-consent-container {
    background: #f4f4ed !important;
    color: #1a1a1a !important;
}

/* Main buttons */
.cky-btn-accept,
.cky-btn-reject,
.cky-btn-settings {
    background-color: rgba(207, 57, 43, 1) !important;
    color: #f4f4ed !important;
    border: none !important;
}

/* Optional: outline button fix (like "Налаштувати") */
.cky-btn-settings {
    background: transparent !important;
    color: rgba(207, 57, 43, 1) !important;
    border: 2px solid rgba(207, 57, 43, 1) !important;
}

/* Fix links inside text */
.cky-consent-container a {
    color: rgba(207, 57, 43, 1) !important;
}

.cky-consent-container,
.cky-consent-bar,
.cky-notice {
    background: #f4f4ed !important;
}

.cky-btn-settings {
    background: transparent !important;
    color: rgba(207, 57, 43, 1) !important;
    border: 2px solid rgba(207, 57, 43, 1) !important;
}

/* also catch all buttons just in case */
.cky-btn {
    font-weight: 500;
}

/* Remove blue outline/focus ring on the settings button */
.cky-btn-settings:focus,
.cky-btn-settings:focus-visible,
.cky-btn-settings:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: rgba(207, 57, 43, 1) !important;
}

/* Also catch any generic CookieYes focus styles */
.cky-btn:focus,
.cky-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Override any inline or theme color variables CookieYes injects */
.cky-consent-container {
    --cky-btn-settings-color: rgba(207, 57, 43, 1) !important;
    --cky-btn-settings-bg: transparent !important;
    --cky-btn-settings-border: rgba(207, 57, 43, 1) !important;
}

button.cky-btn.cky-btn-customize {
    color: rgba(207, 57, 43, 1) !important;
    border-color: rgba(207, 57, 43, 1) !important;
    background-color: transparent !important;
}

/* "Save my settings" button */
.cky-btn-settings,
button.cky-btn-settings,
.cky-preference-center .cky-btn-settings {
    background-color: rgba(207, 57, 43, 1) !important;
    color: #f4f4ed !important;
    border: none !important;
}

/* Close (×) button */
.cky-preference-center-close,
.cky-btn-close,
[data-cky-tag="close-button"] {
    color: rgba(207, 57, 43, 1) !important;
    border-color: rgba(207, 57, 43, 1) !important;
}

/* "Показати більше" link */
.cky-preference-content-details a,
.cky-preference-body-text a {
    color: rgba(207, 57, 43, 1) !important;
}

/* "Завжди активні" text — change from green to red if desired */
.cky-always-active {
    color: rgba(207, 57, 43, 1) !important;
}














/*FOOTER---------------------------------------------------------------------*/
footer {
	position: relative;
	font-size: 1.1rem;
	margin-top: 2rem;
	padding: 1.5rem 2rem;
	color: #121212;
}

footer nav ul {
	width: 90%;
	max-width: 1000px;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr;
}
footer nav ul li {
	margin: 0 auto;
	text-align: center;
	margin-bottom: 2rem;
}

footer nav ul li:last-child {
	margin-bottom: 0;
}

footer nav ul li a {
	text-decoration: none !important;
}

footer nav ul li a:hover, footer nav ul li a:active, footer nav ul li a:focus-visible {
    color: rgba(207, 57, 43);
}

footer p {
	margin-top: 2rem;
	font-size: 0.9rem;
	font-weight: normal;
	text-align: center;
}

a {
    cursor: pointer !important;
}

/*RESPONSIVE-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media (min-width: 1150px) {	
	footer nav ul {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
	}

	footer nav ul li {
		margin-bottom: 0;
		margin-top: 2.5rem;
	}

}











