/*
Theme Name: Belolapka
Author: Belolapka
Description: Custom theme based on classic template structure.
Version: 1.0
Text Domain: belolapka
*/

@font-face {
    font-family: 'Comic Sans MS Local';
    src: url('/wp-content/themes/belolapka/assets/fonts/Comic-Sans-MS/Comic Sans MS.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*::-webkit-scrollbar {
  width: 5px;             
}

*::-webkit-scrollbar-track {
  background: transparent;      
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(0, 153, 99, 1);  
  border-radius: 0;     
  /*border: 3px solid white; */
}
body {
	display: flex;
    flex-direction: column;
    min-height: 100vh;
	background-color:#F8F0E3;
	background-image: url(/wp-content/uploads/2025/11/body-bg.webp);
	background-repeat:repeat;
	background-size:contain;
  font-family: 'Inter';
  color: #283320;
	
}
body > .container {
	flex-grow:1;
}
a {
	text-decoration:none;
}
img {
  max-width: 100%;
}
.marck {
	font-family: 'Marck Script';
	font-size:20px;
}
a.top-link {
	color:white;
}
/* Styles for the sidebar */
.sidebar {
  height: 100%;
  width: 250px;
  position: fixed;
  top: 0;
  left: -250px;
  background-color: #333;
  color: white;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 5;
}
.sidebar a, .sidebar span {
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.2em;
  color: white;
  display: block;
  transition: 0.3s;
}
.sidebar a:hover {
  background-color: #575757;
}
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
/* Styles for the hamburger menu */
.hamburger {
  font-size: 30px;
  cursor: pointer;
  color: white;
  padding: 15px;
  text-align: center;
  display: none;
	position: absolute;
    right: 0;
    top: 0px;
}
.logo {
	width:188px;
}
.header {
	background:#46543DE5;
	padding: 10px 40px;
}
#menu-header_menu, #menu-header_menu-2 {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
  margin:0;
  flex-wrap: wrap;
}
#menu-header_menu li a, #menu-header_menu-2 li a {
  color:white;
  font-weight: 500;
}
#menu-header_menu-1 {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1, h2 {
  font-family: 'Comic Sans MS Local', 'Comic Sans MS', cursive, sans-serif;
  font-size:clamp(36px, 5vw, 48px);
  font-weight: 700;
  color:#46543D;
}
.banner {    
  display: flex;
  padding: 25px 0;
}
.banner h1 {
  margin: auto;
}
.mainben {
  display: flex;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 55.29%, rgba(251, 251, 251, 1) 100%);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  height: 100%;
  box-shadow: 0px 14px 24px 0px #2833201F;
}
.mainben b {
  font-weight: 600;
}
.main-btn {
  display: flex;
  background: #598D58;
  width: fit-content;
  color: white;
  padding: 20px 57px;
  border:0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}
.main-btn:hover {
  box-shadow: 0 0 10px #598D58;
}
.main-btn.odinakovo {
	padding:18px 20px;
	width: 280px;
}
.benefit {
  background-color: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  height: 100%;
}
.benefit span {
  font-weight: 600;
}
.product {
  background:#FFFFFF;
  border-radius: 20px;
  padding: 16px;
  gap:15px;
  display: flex;
  flex-direction: column;
}
.obyom-value {
  border: 1px solid #949494;
  padding: 3px 9px;
  border-radius: 6px;
  color:black;
}
.wildberries, .ozon {
  color: white;
  width: fit-content;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding-right: 15px;
  transition: 0.3s;
}
.wildberries {
  background: #CE22A3;  
}
.wildberries:hover {
  box-shadow: 0 0 10px #CE22A3;
}
.ozon {
  background: #536EF2;  
}
.ozon:hover {
  box-shadow: 0 0 10px #536EF2;
}
.product-img-top {
  object-fit: cover;
  border-radius: 12px;
  width: 100%;
}
.product-title a {
  color:#283320;
  font-size:clamp(18px, 5vw, 24px);
  font-weight: 600;
}
.footer {
  background: #242424;
  padding: 20px 0;
  color:white;
}
h1.product-title {
  font-size: clamp(26px, 5vw, 34px);
}
h5.product-title {
  flex-grow: 1;
}
.roundedkomok img {
	border-radius:20px;
}
.wp-block-gallery.has-nested-images figure.wp-block-image.roundedkomok:has(figcaption):before {
	backdrop-filter:unset;
}
.wp-block-gallery.has-nested-images figure.wp-block-image.roundedkomok figcaption {
	border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
	background: rgba(0, 0, 0, 0.4);
	font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px black;
	height: 63px;
	display: flex;
    justify-content: center;
    align-items: center;
}
.gallery img {
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius:20px;
	max-height:250px;
}
.forma {
	display:flex;
	flex-direction:column;
	gap:15px;
}
.forma input[type="text"], .forma textarea {
    background: white;
    border: 1px solid #0000001A;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
}