:root {
--base-font-size: 16px;
--menu-bg-color: #ffffff;
--panel-bg-color: #f4f4f4;
--container-bg-color: #ffffff;
--text-color: #000000;
--a-color: #06f;
--a-hover-color: #339933;
--read-more-color: #ffffff;
--footer-menu-color: #06f;
--title-color: #256f46;
--dropdown-content-color: #D6F8D6;
--search-content-color: #ffffff;
--menu-list-color: #000000;
--hr-color: #999999;
--margin-body: 0;
--img-opacity: 1;
--background-color-textarea: #ffffff;
--background-buttons: #ffffff;
--dropdown-box-shadow: 0 0 5px rgba(0,0,0,0.3);
--dropdown-border-color: #cccccc;
--bottom-buttons-opacity: 0.9;
--bottom-buttons-opacity: 0.9;
--div-button: 0px 0px 2px 2px rgba(0,0,0,0.1);
--navigation-color: #f5f5f5;
--original-wrapper-bg: rgba(255,255,255,0.5);
--background-frame-radial: radial-gradient(circle at center, #D6F8D6 5%, #ffffff 100%);
--background-frame: linear-gradient(to top, rgba(214,248,214,1), 1%, #ffffff);
--background-frame-reverse: linear-gradient(to bottom, rgba(214,248,214,1), 1%, #ffffff);
--box-shadow-frame: 0px 3px 2px 0px rgba(0,0,0,0.2);
--box-shadow-main:
  0 3px 5px rgba(0,0,0,0.1),   /* низ */
  3px 0 5px rgba(0,0,0,0.1),  /* право */
  -3px 0 5px rgba(0,0,0,0.1); /* лево */
--basket-table-border: #000000;
--table-hover: linear-gradient(to bottom right, rgba(255,255,255,1) 0%, rgba(214,248,214,0.5) 50%, rgba(255,255,255,1) 100%);
--dropdown-content-line: #D6F8D6;
--span-list: #000000;
--close-dropmenu-shadow: 0 2px 6px rgba(0,0,0,0.12);

}
:root[theme='dark'] {
--menu-bg-color: #57606f;
--body-color: #57606f;
--panel-bg-color: #57606f;
--container-bg-color: #57606f;
--text-color: #fafafa;
--a-color: #00d8ff;
--a-hover-color: #339933;
--read-more-color: #57606f;
--footer-menu-color: #00d8ff;
--title-color: #00ff99;
--dropdown-content-color: #57606f;
--search-content-color: #57606f;
--menu-list-color: #fafafa;
--hr-color: #fafafa;
--img-opacity: 0.9;
--background-color-textarea: #f5f5f5;
--background-buttons: #cccccc;
--dropdown-box-shadow: 0 0 5px rgba(255,255,255,0.3);
--dropdown-border-color: #D6F8D6;
--bottom-buttons-opacity: 0.9;
--div-button: 0px 0px 2px 2px rgba(255,255,255,0.4);
--navigation-color: #f5f5f5;
--original-wrapper-bg: rgba(255,255,255,0.4);
--background-frame: #57606f;
--background-frame-radial: #57606f;
--background-frame-reverse: #57606f;
--box-shadow-frame: 0px 3px 2px 0px rgba(255,255,255,0.7);
--box-shadow-main:
  0 4px 6px rgba(255,255,255,0.2),   /* низ */
  4px 0 6px rgba(255,255,255,0.15),  /* право */
  -4px 0 6px rgba(255,255,255,0.15); /* лево */
--table-hover: #57606f;
--basket-table-border: #ffffff;
--dropdown-content-line: #7a8391;
--span-list: #ffffff;
--close-dropmenu-shadow: 0 2px 6px rgba(255,255,255,0.7);
}
html:not([theme]) {
background-color: #ffffff;
}
html[theme="dark"] {
background-color: #57606f;
}
html {
box-sizing: border-box;
scroll-behavior: smooth;
background-attachment: fixed;
transition: background-image 0.5s ease;
}
body {
background-color: var(--body-color);
margin: var(--margin-body);
color: var(--text-color);
-webkit-text-size-adjust: none;
-webkit-appearance: none;
font-family: Arial, Helvetica, Sans-Serif;
line-height: 1.4;
}
@media screen and (max-resolution: 100dpi) {
body {
margin-left: 0;
margin-right: 0;
font-size: 0.9rem;
font-family: Arial, sans-serif;
line-height: 1.4;
}
}
@media screen and (min-resolution: 101dpi) {
body {
margin-left: 0;
margin-right: 0;
font-size: 0.95rem;
}
}
body ::selection {
background: #b3d4fc;
color: #000000;
}
.container {
background: var(--container-bg-color);
}
div.day-night {
position: fixed;
left: 0.75%;
bottom: 7%;
height: 48px;
width: fit-content;
max-width: 92%;
display: flex;
align-items: center;
justify-content: center;
background: var(--background-buttons);
opacity: var(--bottom-buttons-opacity);
box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
padding: 0 1rem;
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
z-index: 2;
text-align: center;
font-size: 14px !important;
line-height: 1;
white-space: nowrap;
opacity: var(--bottom-buttons-opacity);
cursor: pointer !important;
}
.day-night * {
cursor: pointer !important;
}
div.day-night:hover {
background: linear-gradient(to top, #D6F8D6, 33%, #ffffff);
opacity: var(--bottom-buttons-opacity);
}
div.day-night:active {
background: linear-gradient(to top, #D6F8D6, 66%, #ffffff);
border-radius: 0.75rem;
}
footer#page-footer,
#page-footer {
content-visibility: auto;
contain-intrinsic-size: 420px 1100px;   /* ← дуже важливо підібрати */
contain: layout style paint;
will-change: content-visibility;
}
#info-img {
position: relative;
cursor: pointer;
}
#tooltip {
color: #000000;
position: fixed;
padding: 15px;
background-color: rgba(255, 255, 255, 1);
border-style: solid;
border-width: 1px;
border-radius: 0.375rem;
border-color: #D6F8D6;
display: none;
white-space: nowrap;
opacity: 0;
transition: 0.75s;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
z-index: 3;
}
#tooltip.show {
display: block;
opacity: 1;
z-index: 3;
}
div {
word-break: normal;
}
div.main {
background: var(--container-bg-color);
box-shadow: var(--box-shadow-main);
padding-left: 0;
padding-right: 0;
margin-bottom: 1vh;
margin-left: 2.5%;
margin-right: 2.5%;
border-radius: 0rem 0rem 5rem 5rem;
}
div.toppage {
padding-left: 0;
padding-right: 0;
margin-left: 2.5%;
margin-right: 2.5%;
background: var(--container-bg-color);
box-shadow: var(--box-shadow-main);
padding-top: 1vh;
}
div.toporder {
display: none;
}
@media (min-width: 1024px) {
div.toporder {
display: block;
align-items:center;
justify-content:center;
gap:8px; flex:4;
text-align:center;
}
}
@media (orientation: landscape) {
div.leftmenu {
display: block;
}
}
@media (orientation: portrait) {
div.leftmenu {
display: none;
}
}
@media (orientation: landscape) {
div.overleftmenu {
display: block;
background: var(--container-bg-color);
}
}
@media (orientation: portrait) {
div.overleftmenu {
display: none;
}
}
@media (orientation: landscape) {
div.searchformhor {
display: block;
}
}
@media (orientation: portrait) {
div.searchformhor {
display: none;
}
}
@media (orientation: landscape) {
div.searchformver {
display: none;
}
}
@media (orientation: portrait) {
div.searchformver {
display: block;
}
}
@media (orientation: landscape) {
div.mainpage {
background: var(--container-bg-color);
width: 78%;
text-align: left;
vertical-align: top;
padding: 7px 1.2% 7px 0.8%;
}
}
@media (orientation: portrait) {
div.mainpage {
background: var(--container-bg-color);
width: 100%;
text-align: left;
vertical-align: top;
padding: 7px;
}
}
@media (orientation: landscape) {
div.topspace {
height:8vh;
}
}
@media (orientation: portrait) {
div.topspace {
height:3vh;
}
}
.tablesearch {
height: 27px;
padding-left: 5px;
border-width: 1px;
border-radius: 0.375rem;
margin-right: 5px;
box-sizing: border-box;
}
@media (orientation: landscape) {
.tablesearch {
width: 23ch;
}
}
@media (orientation: portrait) {
.tablesearch {
width: 15ch;
}
}
div.leftmenu {
width: 22%;
text-align: left;
vertical-align: top;
margin: 5px 0.5% 5px 0.5%;
padding: 10px; 
border: 2px solid #D6F8D6;
background: var(--container-bg-color);
border-radius: 0.375rem 0.375rem 0px 0px;
overflow: hidden;           /* важно! */
}
div.leftmenutext {
background: var(--background-frame-reverse);
margin: -10px;              /* убираем отступы padding'а родителя */
padding: 10px;              /* возвращаем внутренние отступы для текста */
border-radius: 0.375rem 0.375rem 0px 0px;  /* чтобы скругления тоже были полные */
}
div.overleftmenu {
display: flex;
flex-direction: row;
width: 100%;
}
@media (orientation: portrait) {
div.middlemenu {
display: none;
}
}
@media (orientation: landscape) {
div.middlemenu {
display: block;
}
}
@media (orientation: portrait) {
div.menu-item {
display: none;
}
}
@media (orientation: portrait) {
div.bottomcarousel {
display: none;
}
}
@media (orientation: landscape) {
div.bottomcarousel {
display: block;
}
}
.middle {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 0px;
margin: 0px;
padding: 2px;
background: var(--background-frame-radial);
border-style: solid;
border-width: 2px;
border-color: #D6F8D6;
border-radius: 0.375rem;
}
.middle > div {
background-color: transparent;
padding: 10px;
display: flex;
justify-content: left;
border: 1px solid var(--menu-bg-color);
}
div.item {
align-items: baseline;
}
div.overbottompage {
background: var(--container-bg-color);
border-radius: 0rem 0rem 3.38rem 3.38rem;
}
div.bottompage {
padding-left: 0px;
padding-right: 0px;
margin-left: 5px;
margin-right: 5px;
margin-bottom: 5px;
background: var(--background-frame);
border-style: solid;
border-width: 2px;
border-color: #D6F8D6;
border-radius: 0rem 0rem 3.38rem 3.38rem;
}
@media (orientation: portrait) {
div.rectangle {
width: 100%;
height: 5vh;
position: relative;
border-radius: 0.375rem;
background: linear-gradient(#0080cf 50%, #ffe200 50%);
}
}
@media (orientation: landscape) {
div.rectangle {
width: 100%;
height: 10vh;
position: relative;
border-radius: 0.375rem;
background: linear-gradient(#0080cf 50%, #ffe200 50%);
}
}
.we-are-working {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* старі Edge/IE */
}
@media (orientation: portrait) {
div.we-are-working {
top: 0;
left: 0;
width: 100%;
font-size: 4vh;
height: 80%;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.375rem;
color: #ffffff;
font-style: italic;
font-weight: bold;
letter-spacing: 1px;
font-family: Times New Roman;
text-align: center;
text-shadow: 4px 3px 3px rgba(50, 50, 50, 0.5);
}
}
@media (orientation: landscape) {
div.we-are-working {
top: 0;
left: 0;
width: 100%;
font-size: 9vh;
height: 80%;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.375rem;
color: #ffffff;
font-style: italic;
font-weight: bold;
letter-spacing: 1px;
font-family: Times New Roman;
text-align: center;
text-shadow: 4px 3px 3px rgba(50, 50, 50, 0.5);
}
}
div.frame {
display: inline-block;
background: var(--background-frame);
box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 20px 10px 20px 10px;
}
div.frame2 {
display: inline-block;
background: var(--background-frame);
box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 20px 10px 20px 10px;
}
.frame2 img {
float: left;
margin-right: 10px;
}
div.frame {
display: inline-block;
background: var(--background-frame);
box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 20px 10px 20px 10px;
}
div.frame-radial {
background: var(--background-frame-radial);
}
@media (orientation: landscape) {
div.info {
position: relative;
background: var(--background-frame);
box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 10px;
width: 44%;
white-space: normal;
overflow-wrap: break-word;
}
}
@media (orientation: portrait) {
div.info {
position: relative;
background: var(--background-frame);
box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 10px;
width: 94%;
white-space: normal;
overflow-wrap: break-word;
}
}
.original-wrapper {
position: absolute;
aspect-ratio: 1 / 1;
border-radius: 50%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--original-wrapper-bg);
}
@media (orientation: landscape) {
.original-wrapper {
bottom: -5%;
right: -2%;
width: 23%;
pointer-events: auto;
}
}
@media (orientation: portrait) {
.original-wrapper {
bottom: -5%;
right: 2%;
width: 23%;
pointer-events: auto;
}
}
img {
opacity: var(--img-opacity);
}
img.original {
width: 100%;
height: auto;
opacity: 0.5;
user-select: none;
pointer-events: none;
}
div.catalog1 {
display: flex;
align-items: center;
width: 99%;
border: 2px solid #D6F8D6;
margin-right: 10%;
border-radius: 0.375rem;
}
div.catalog2 {
width: 150px;
margin-left: 2%;
margin-top: 5px;
}
div.catalog3 {
flex: 1;
text-align: center;
}
div.catalog1:hover {
background: var(--background-frame);
}
a.anchor {
display: block;
position: relative;
top: -10vh;
visibility: hidden;
}
div.button {
display: inline-block;
transform: scale(1);
border-radius: 0.375rem;
}
div.button:hover {
opacity: 0.9;
box-shadow: var(--div-button);
}
div.button:active {
opacity: 1;
outline: 1px solid #339933;
outline-offset: -2px;
box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.1);
transform: scale(0.95);
}
div.hidetop:active {
opacity: 0.75;
}
div.white-block-150-150 {
width: 150px;
height: 150px;
background-color: var(--container-bg-color);
display: inline-block;
vertical-align: top;
}
div.white-block-88-31 {
width: 88px;
height: 31px;
background-color: var(--container-bg-color);
display: inline-block;
vertical-align: top;
}
div.buket {
opacity: 0.7;
}
div.buket:hover {
animation: tilt 3s linear infinite;
}
@keyframes tilt {
0% {
transform: rotate(0deg);
}
25% {
transform: rotate(-5deg);
}
50% {
transform: rotate(0deg);
}
75% {
transform: rotate(5deg);
}
100% {
transform: rotate(0deg);
}
}
div.block {
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 5px;
}
.menu-item {
display: flex;
align-items: flex-end;
gap: 6px;
line-height: 1;
}
.menu-item.basket {
min-width: 140px;
gap: 8px;
justify-content: flex-start;
}
.menu-item a,
.menu-item img {
display: inline-block;
vertical-align: bottom;
}
.menu-left {
display: flex;
align-items: flex-end;
gap: 20px;
flex: 1;
}
div.topmainmenu {
position: fixed;
top: 0;
left: 2.5%;
padding: 0.5%;
z-index:3;
display: flex;
align-items: center;
justify-content: space-between;
width: 95%;
background: var(--background-frame-reverse);
border-bottom: 0;
box-sizing: border-box;
border-radius: 0;
}
.navigation {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
padding-left: 2%;
}
.navigation .pages {
display: inline-block;
}
.pages > *:last-child {
margin-right: 0px;
}
.pages span {
border-color: #06f;
color: var(--text-color);
}
.navigation:after {
clear: both;
display: block;
content: "";
}
.navigation {
position: relative;
}
.pages > * {
display: inline-block;
position: relative;
padding: 4px 4px;
border: 3px solid transparent;
min-width: 22px;
height: 22px;
line-height: 21px;
border-radius: 18px;
text-align: center;
text-decoration: none !important;
}
.pages span {
border-color: #cccccc;
}
.pages span.nav_ext {
border-color: transparent !important;
}
.pages a:hover {
border-color: #D6F8D6;
}
.pages a:active {
border-color: #D6F8D6;
box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.1);
}
.table {
border-collapse: collapse;
border: 2px solid #D6F8D6;
font-size: 0.95rem;
}
.table th,
.table td {
border: 2px solid #D6F8D6;
}
.table tr:hover {
background: var(--table-hover);
}
a {
color: var(--a-color);
text-decoration: none;
transition: color 0.75s ease, text-decoration 0.1s ease;
}
a.title {
font-size: 1.1rem;
text-transform: uppercase;
font-weight: bold;
letter-spacing: 0.02em;
}
a:hover {
color: var(--a-hover-color);
text-decoration: underline;
}
a:active {
color: #008000;
text-decoration: underline;
text-shadow: 1px 1px 1px rgba(50, 50, 50, 0.1);
transition: none;
}
img.logo {
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 1px;
float: right;
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
background:var(--container-bg-color);
margin-left: 10px;
margin-bottom: 5px;
margin-top: 4px;
opacity: 1;
transition: opacity 0.75s ease, border-color 0.75s ease;
}
.farba {
display: flex;
flex-direction: column;
}
.image-container {
position: relative;
display: block;
width: 100%;
}
img.farba {
width: 100%;
height: auto;
display: block;
}
.hide-link {
position: absolute;
bottom: 8px;
right: 8px;
background: rgba(255, 255, 255, 0.8);
padding: 4px 8px;
border-radius: 5px;
font-size: 14px;
text-decoration: none;
z-index: 2;
}
@media (orientation: portrait) {
.image-container {
width: 98%;
}
}
@media (orientation: landscape) {
.farba {
flex-direction: row;
align-items: flex-end;
gap: 10px;
padding-top: 5px;
}
.image-container {
width: 25%;
}
.farba-add {
flex-shrink: 0;
}
}
}
@media (orientation: portrait) {
img.article-post {
width: 98%;
max-width: 600px;
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 2px;
transition:
opacity 3s ease,
transform 3s ease,
background 0.1s ease,
border-color 3s ease,
box-shadow 2s;
}
}
@media (orientation: landscape) {
img.article-post {
width: 66%;
max-width: 600px;
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 2px;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
transition:
opacity 3s ease,
transform 3s ease,
border-color 3s ease,
box-shadow 2s;
}
}
img.article-post:hover {
border-color: #339933;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
}
img.article-post:active {
transform: translateY(0) scale(0.98);
box-shadow: 0 0 7px 3px rgba(150,150,150,0.4);
}
img.preview-150-150 {
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 1px;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
background: var(--container-bg-color);
margin-right: 10px;
margin-bottom: 5px;
margin-top: 4px;
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease;
}
img.preview-150-150:hover {
border-color: #339933;
opacity: 0.9;
}
.assortiment,
.oils,
.carousel,
.story_line,
.article-post,
.preview-150-150,
.recommendations {
transform: scale(0.95);
transition:
transform 3s ease;
}
.is-visible {
transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
.assortiment,
.oils,
.carousel,
.story_line,
.article-post,
.preview-150-150,
.recommendations {
transition: none;
transform: none;
}
}
.story_line {
display: inline-block;
vertical-align: top;
margin-bottom: 25px;
width: 48%;
margin-left: 1%;
}
.story_line:after {
clear: both;
display: table;
content: "";
}
.story_line .edit_btn {
float: right;
}
.story_line .image {
width: 150px;
height: 100px;
padding: 2px;
border: 2px solid #D6F8D6;
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
margin-bottom: 0px;
border-radius: 50%;
box-sizing: border-box;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
opacity: 1;
transition: opacity 0.75s ease, border-color 0.75s ease;
cursor: pointer;
}
.story_line .image-inner {
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
border-radius: 50%;
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease,
outline 0.75s ease;
}
.story_line .image:hover {
border-color: #339933;
opacity: 0.9;
}
.story_line .image:active {
outline: 1px solid var(--container-bg-color);
outline-offset: -1px;
box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
}
.story_line > a:first-child {
display: inline-block;
}
.relatednews {
color: var(--a-color);
text-decoration: none;
transition: color 0.75s ease, text-decoration 0.1s ease;
}
.relatednews:hover {
color: var(--a-hover-color);
text-decoration: underline;
}
@media (orientation: portrait) {
img.app {
width: 40%;
max-width: 500px;
}
}
@media (orientation: landscape) {
img.app {
width: 33%;
max-width: 500px;
}
}
@media (orientation: portrait) {
img.product {
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
width: 98%;
padding: 1px;
float: none !important;
margin-bottom: 15px;
}
}
@media (orientation: landscape) {
img.product {
width: 50%;
float: right;
margin-left: 10px;
transition: 3s;
padding: 10px;
}
}
@media (orientation: landscape) {
img.product:hover {
width: 50%;
float: right;
transform: scale(1.05);
}
}
svg {
filter: saturate(0.97) brightness(0.98);
display: inline-block;
vertical-align: 0;
}
img.menu-little,
svg.menu-little {
transition: transform 0.75s ease;
transform: scale(1);
}
img.menu-little:hover,
svg.menu-little:hover {
transform: scale(1.1);
}
img.dropbtn {
border: 1px solid #000;
border-radius: 0.375rem;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
img.dropbtn:hover {
border-color: #339933;
box-shadow: 0 0 6px rgba(51, 153, 51, 0.4);
}
img.buttons {
filter: brightness(1);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
box-shadow: 0px 0px 4px 2px rgba(255,255,255,0.7);
transition: filter 0.75s ease, border-color 0.75s ease, box-shadow 0.75s ease;
}
img.buttons-small {
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
transition: opacity 0.75s ease, border-color 0.75s ease;
}
@media (orientation: portrait) {
img.oils {
width: 17.7%;
height: auto;
margin-right: 0.5%;
padding: 1px;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease;
}
}
@media (orientation: landscape) {
img.oils {
width: 18.85%;
height: auto;
margin-right: 0.5%;
padding: 1px;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease;
}
}
img.oils:hover {
border-color: #339933;
opacity: 0.9;
}
@media (orientation: landscape) {
img.recommendations {
width: 50%;
height: auto;
padding: 1px;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
/* НЕ трогаем opacity / transform */
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease;
}
}
@media (orientation: portrait) {
img.recommendations {
width: 98%;
height: auto;
padding: 1px;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease;
}
}
img.recommendations:hover {
border-color: #339933;
opacity: 0.9;
}
@media (orientation: portrait) {
img.assortiment {
width: 17.7%;
height: auto;
aspect-ratio: 1 / 1;
margin-right: 0.5%;
padding: 1px;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease;
}
}
@media (orientation: landscape) {
img.assortiment {
width: 18.85%;
height: auto;
aspect-ratio: 1 / 1;
margin-right: 0.5%;
padding: 1px;
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease;
}
}
img.assortiment:hover {
border-color: #339933;
opacity: 0.9;
}
img.buttons:hover {
border-color: #339933;
box-shadow: 0 0 5px 2px rgba(255,255,255,0.9);
filter: brightness(1.1);
}
img.buttons-small:hover {
border-color: #339933;
opacity: 0.9;
}
img.img-light {
opacity: 1;
transition: opacity 0.33s ease;
}
img.preview,
img.letter{
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 1px;
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
background:var(--container-bg-color);
margin-right: 10px;
margin-bottom: 5px;
margin-top: 4px;
opacity: 1;
transition: opacity 0.75s ease, border-color 0.75s ease;
}
img.preview-right {
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 1px;
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
background:var(--container-bg-color);
margin-left: 10px;
margin-bottom: 5px;
margin-top: 4px;
opacity: 1;
transition: opacity 0.75s ease, border-color 0.75s ease;
}
img.preview-simple {
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 1px;
opacity: 1;
transition: opacity 0.75s ease, border-color 0.75s ease;
}
@media (orientation: landscape) {
img.preview-product {
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 1px;
background:var(--container-bg-color);
margin-right: 10px;
margin-bottom: 5px;
margin-top: 4px;
opacity: 1;
transition: opacity 0.75s ease, border-color 0.75s ease;
}
}
@media (orientation: portrait) {
img.preview-product {
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 1px;
float: none !important;
margin-right: 55%;
margin-bottom: 15px;
}
}
img.carousel {
box-shadow: 0 0 1px 1px rgba(225,225,225,0.7);
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 1px;
background: var(--container-bg-color);
margin: 2px -2px 2px 2px;
transition:
opacity 0.75s ease,
transform 0.75s ease,
border-color 0.75s ease,
box-shadow 0.75s ease;
}
img.carousel:hover {
border-color: #339933;
opacity: 0.9;
}
img.img-light-menu {
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
opacity: 1;
transition: opacity 0.33s ease;
}
img.img-light-video {
box-shadow: 0px 0px 1px 1px rgba(225,225,225,0.7);
border:2px solid #D6F8D6;
border-radius: 0.375rem;
padding: 2px;
opacity: 1;
transition: opacity 0.75s ease, border-color 0.75s ease;
width: 66%;
}
img.img-light:hover,
img.img-light-menu:hover,
img.img-light-video:hover{
opacity: 0.9;
}
img.preview:hover,
img.preview-right:hover,
img.preview-simple:hover,
img.preview-product:hover,
img.img-light-video:hover,
img.logo:hover,
img.letter:hover {
border: 2px solid #339933;
opacity: 0.9;
}
img.assortiment:active,
img.menu-little:active,
img.buttons:active,
img.buttons-small:active,
img.recommendations:active,
img.oils:active,
img.img-light:active,
img.preview:active,
img.preview-right:active,
img.preview-simple:active,
img.preview-product:active,
img.preview-150-150:active,
img.carousel:active,
img.img-light-video:active,
img.logo:active,
img.dropbtn:active,
img.letter:active,
img.relatednews,
.bbm:active  {
outline: 1px solid var(--container-bg-color);
outline-offset: -1px;
box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.1);
}

.icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  line-height: 1;
  vertical-align: text-bottom;
  margin-right: 1ch;
  position: relative;
  top: -3px;
}
	
.icon-30 {
  width: 30px;
  height: 30px;
}

.icon-15 {
  width: 15px;
  height: 15px;
}

.icon-18x14 {
  width: 18px;
  height: 14px;
}

.icon-advices {
  background-image: url("/images-ua/advices.svg");
}
.icon-articles {
  background-image: url("/images-ua/articles.svg");
}
.icon-basket {
  background-image: url("/images-ua/basket.svg");
}
.icon-bbm {
  background-image: url("/images-ua/bbm.svg");
}
.icon-catalog {
  background-image: url("/images-ua/catalog.svg");
}
.icon-communication {
  background-image: url("/images-ua/communication.svg");
}
.icon-discounts {
  background-image: url("/images-ua/discounts.svg");
}
.icon-doctor {
  background-image: url("/images-ua/doctor.svg");
}
.icon-instructions {
  background-image: url("/images-ua/instructions.svg");
}
.icon-languages {
  background-image: url("/images-ua/languages.svg");
}
.icon-new-items {
  background-image: url("/images-ua/new-items.svg");
}
.icon-news {
  background-image: url("/images-ua/news.svg");
}
.icon-np {
  background-image: url("/images-ua/np.svg");
}
.icon-offer {
  background-image: url("/images-ua/offer.svg");
}
.icon-offers {
  background-image: url("/images-ua/offers.svg");
}
.icon-online {
  background-image: url("/images-ua/online.svg");
}
.icon-original {
  background-image: url("/images-ua/original.svg");
}
.icon-package {
  background-image: url("/images-ua/package.svg");
}
.icon-payment-and-delivery {
  background-image: url("/images-ua/payment-and-delivery.svg");
}
.icon-presents {
  background-image: url("/images-ua/presents.svg");
}
.icon-price {
  background-image: url("/images-ua/price.svg");
}
.icon-price-list {
  background-image: url("/images-ua/price-list.svg");
}
.icon-promo {
  background-image: url("/images-ua/promo.svg");
}
.icon-random-item {
  background-image: url("/images-ua/random-item.svg");
}
.icon-random-treatment-regimen {
  background-image: url("/images-ua/random-treatment-regimen.svg");
}
.icon-review {
  background-image: url("/images-ua/review.svg");
}
.icon-reviews-big {
  background-image: url("/images-ua/reviews-big.svg");
}
.icon-sections {
  background-image: url("/images-ua/sections.svg");
}

up-icon img {
 border-radius: 50%;
 object-fit: cover;
}
.basket {
width: 100%;
}
.basket-phone {
width: 42%;
}
.basket-np {
width: 42%;
}
@media (orientation: portrait) {
.feedback {
width: 96%;
height: 1.2rem;
border: 1px solid #000000;
border-radius: 0.375rem;
padding-left: 5px;
}
}
@media (orientation: landscape) {
.feedback {
width: 50%;
height: 1.2rem;
border: 1px solid #000000;
border-radius: 0.375rem;
padding-left: 5px;
}
}
@media (orientation: portrait) {
.feedback-text {
width: 96%;
border: 1px solid #000000;
border-radius: 0.375rem;
padding-left: 5px;
}
}
@media (orientation: landscape) {
.feedback-text {
width: 50%;
border: 1px solid #000000;
border-radius: 0.375rem;
padding-left: 5px;
}
}
td.solid {
border: 2px solid #D6F8D6;
}
tr.hover:hover {
background: linear-gradient(to bottom right, rgba(255, 255, 255, 1) 0%, rgba(214, 248, 214, 0.5) 50%, rgba(255, 255, 255, 1) 100%);
}
hr {
border: none;
border-top: 2px dotted #cccccc;
margin-top: 7vh;
padding-bottom: 5vh;
}
p.title {
font-size: 1.05rem;
color: var(--title-color);
}
p.small {
font-size: 0.75rem;
}
span.title {
font-size: 1.05rem;
color: var(--title-color);
}
span.edit {
font-size: 1.5rem;
text-decoration: none;
display: inline-block;
color: inherit;
filter: grayscale(100%);
opacity: 0.2;
transition: filter 0.5s ease, opacity 0.5s ease;
margin-top: 10px;
}
span.edit:hover {
filter: grayscale(0%);
opacity: 0.8; 
}
span.edit:active {
outline: 1px solid var(--container-bg-color);
outline-offset: -1px;
box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.1);
}
span.full-link {
font-family: Arial, sans-serif;
text-transform: uppercase;
font-size: 1.1rem;
line-height: 1.5em;
font-weight: bold;
letter-spacing: 0.02em;
}
span.goods_price_discount {
font-family: Arial, sans-serif;
color: #f84147;
}
span.list {
color: var(--span-list);
margin-right:1ch;
}
/* При наведении на всю ссылку меняем цвет точки */
.dropdown-content a:hover .list {
    color: #000000;
}
span.basket {
margin-right:1ch;
}
h1 {
font-family: Arial, sans-serif;
text-transform: uppercase;
font-size: 1.1rem;
line-height: 1.5em;
color: var(--title-color);
font-weight: bold;
letter-spacing: 0.02em;
margin: 0;
}
h2.shortstory {
text-align: left;
font-family: Arial, sans-serif;
text-transform: uppercase;
font-size: 1.1rem;
line-height: 1.5em;
font-weight: bold;
letter-spacing: 0.02em;
margin: 0;
}
h2.caps {
text-align: center;
text-transform: uppercase;
font-weight: bold;
letter-spacing: 0.02em;
font-family: Arial, sans-serif;
font-size: 1.1rem;
color: var(--title-color);
margin: 1em 0 1.5em;
}
h2 {
text-align: center;
font-weight: bold;
letter-spacing: 0.02em;
font-family: Arial, sans-serif;
font-size: 1.1rem;
color: var(--title-color);
margin: 1em 0 0.5em;
}
h2.annotation {
text-align: left;
font-weight: bold;
letter-spacing: 0.02em;
font-family: Arial, sans-serif;
font-style: oblique 10deg;
font-size: 1.05rem;
color: var(--title-color);
margin: 1em 0 0.5em;
}
h3 {
text-align: left;
font-weight: bold;
letter-spacing: 0.02em;
font-family: Arial, sans-serif;
font-style: oblique 10deg;
font-size: 1.05rem;
color: var(--title-color);
margin: 1em 0 0.5em;
}
h4 {
text-align: center;
font-family: Arial, sans-serif;
font-size: 0.9rem;
font-weight: normal;
margin: 1em 0 0.5em;
}
h5 {
text-align: center;
font-weight: bold;
font-family: Arial, sans-serif;
font-size: 1rem;
color: var(--title-color);
margin: 1em 0 0.5em;
}
.gtranslate_wrapper .gt_switcher {
opacity: 0.9;
}
.gtranslate_wrapper .gt_switcher:hover {
opacity: 1;
}
.to-top {
z-index: 2;
display: inline-block;
background: var(--background-buttons);
opacity: var(--bottom-buttons-opacity);
font-size: 1.4rem;
color: #000000;
position: fixed;
bottom: 7%;
right: 0.75%;
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
line-height: 1; /* чтобы стрелка не "плавала" */
}
/* для обычных экранов */
@media screen and (max-resolution: 100dpi) {
.to-top {
padding: 0.7rem 1.2rem;
}
}
/* для более плотных экранов */
@media screen and (min-resolution: 101dpi) {
.to-top {
padding: 0.7rem;
}
}
.to-top:hover {
opacity: var(--bottom-buttons-opacity);
background: linear-gradient(to top, #D6F8D6, 33%, #ffffff);
}
.to-top:active {
background: linear-gradient(to top, #D6F8D6, 66%, #ffffff);
border: 2px solid #D6F8D6;
border-radius: 0.75rem;
}
.basket-bottom:hover {
background: linear-gradient(to top, rgba(214, 248, 214, 1), 33%, #ffffff);
}
.basket-bottom:active {
background: linear-gradient(to top, rgba(214, 248, 214, 1), 66%, #ffffff);
border: 2px solid #D6F8D6;
border-radius: 0.75rem;
}
@media screen and (max-resolution: 100dpi) {
.basket-bottom {
z-index: 2;
font-size: 1.4rem;
color: #808080;
background: linear-gradient(to left, rgba(214, 248, 214, 0.1), 5%, #ffffff);
padding: 0.7rem 1rem 0.7rem 1rem;
position: fixed;
bottom: 7%;
left: 0.75%;
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}
}
@media screen and (min-resolution: 101dpi) {
.basket-bottom {
z-index: 2;
font-size: 1.4rem;
color: #808080;
background: linear-gradient(to left, rgba(214, 248, 214, 0.1), 5%, #ffffff);
padding: 0.7rem 0.7rem 0.7rem 0.7rem;
position: fixed;
bottom: 7%;
left: 0.75%;
border: 2px solid #D6F8D6;
border-radius: 0.375rem;
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}
}
li  {
margin-bottom: 0.90rem;
}
ul  {
padding-inline-start: 15px;
}
ul.relatednews  {
padding-inline-start: 0px;
}
ol {
padding-inline-start: 20px;
}
ol li::marker {
font-weight: bold;
}
details summary {
list-style: none;
cursor: pointer;
margin-bottom:0;
}
details summary:-webkit-details-marker {
display: none;
}
summary.normal {
color: var(--a-color);
transition: color 0.75s ease, text-decoration 0.1s ease;
}
summary.normal:hover {
color: var(--a-hover-color);
text-decoration: underline;
}
summary.normal:active {
color: #008000;
text-decoration: underline;
text-shadow: 1px 1px 1px rgba(50, 50, 50, 0.1);
transition: none;
}
input[type=submit] {
height: 30px;
border: 1px solid #000000;
border-radius: 0.375rem;
color: #0066CC;
font-family: Arial, sans-serif;
font-weight:bold;
background-color:#D6F8D6;
transform: scale(1);
transition: transform 0.5s;
cursor: pointer !important;
}
input[type=button] {
height: 30px;
border: 1px solid #000000;
border-radius: 0.375rem;
color: #0066CC;
font-family: Arial, sans-serif;
font-weight: bold;
background-color: #D6F8D6;
transform: scale(1);
transition: transform 0.5s;
cursor: pointer !important;
}
.hidemaintop {
opacity: 0;
transition: opacity 1s ease;
pointer-events: none;
display: none;
}
.hidemaintop.visible {
opacity: 1;
pointer-events: auto;
}
.bbm,
.bbm2 {
  margin-bottom: 2vh;
  height: 10rem;
  background: linear-gradient(to top, rgba(0,180,255,.9) 0, #00b4ff 100%);
  position: relative;
  overflow: hidden;
  outline: 2px solid #D6F8D6;
  border-radius: 2px;
  outline-offset: 2px;
  opacity: 1;
  transition: opacity .75s ease, outline .75s ease;
}

.bbm:hover,
.bbm2:hover {
  outline: 2px solid #039933;
  opacity: .9;
}

@media (orientation: portrait) {
  .bbm, .bbm2 {
    width: 100%;
  }
}

@media (orientation: landscape) {
  .bbm, .bbm2 {
    width: 100%;
  }
}

.circle {
  position: absolute;
  background: linear-gradient(to bottom, #fff 50%, #00b4ff);
  border: 1px solid #00b4ff;
  border-radius: 50%;
  opacity: .35;
  filter: blur(.27rem);
  animation: moveCircle 90s linear infinite;
}

/* === ЗОБРАЖЕННЯ === */
.bbm img,
.bbm2 img {
  position: absolute;
  top: 10px;
  bottom: 10px;
  height: calc(100% - 20px);
  opacity: 1;
  z-index: 2;

  /* заборона виділення */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;

  /* заборона перетягування */
  -webkit-user-drag: none;
  user-drag: none;

  /* прибирає меню на довгий тап (мобільні) */
  -webkit-touch-callout: none;
}

@media screen and (max-resolution: 100dpi) {
  .bbm img, .bbm2 img {
    left: 5.5rem;
  }
}

@media screen and (min-resolution: 101dpi) {
  .bbm img, .bbm2 img {
    left: 7.5rem;
  }
}

/* === ТЕКСТ === */
.bbm-text,
.bbm2 .bbm-text {
  position: absolute;
  bottom: 1rem;
  left: 9%;
  width: 100%;
  text-align: center;
  line-height: 105%;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-style: italic;
  color: #fff6a3;
  text-shadow: 1px 1px 3px rgba(0,0,100,1);
  z-index: 2;

  /* заборона виділення */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;

  /* мобільні */
  -webkit-touch-callout: none;
}

@media screen and (max-resolution: 100dpi) {
  .bbm-text,
  .bbm2 .bbm-text {
    font-size: 2.75rem;
  }
}

@media screen and (min-resolution: 101dpi) {
  .bbm-text,
  .bbm2 .bbm-text {
    font-size: 2.7rem;
  }
}

@media (orientation: portrait) {
  .bbm-text,
  .bbm2 .bbm-text {
    top: .9rem;
    left: 5px;
    width: calc(100% - 10px);
    line-height: 133%;
    z-index: 3;
    font-size: 2rem;
  }
}

@keyframes moveCircle {
  0%, 100% {
    transform: translateX(-150%);
  }
  50% {
    transform: translateX(150%);
  }
}
.arrow{display:inline-block;width:0;height:0;vertical-align:0;border-style:solid;font-size:1.5em;color:inherit;transition:transform .25s ease}.arrow.left{border-width:.35em .55em .35em 0;border-color:transparent currentColor transparent transparent;margin-right:.3em}.arrow.right{border-width:.35em 0 .35em .55em;border-color:transparent transparent transparent currentColor;margin-left:.3em}.arrow.up{border-width:0 .35em .55em .35em;border-color:transparent transparent currentColor transparent;margin-right:.3em}.arrow.down{border-width:.55em .35em 0 .35em;border-color:currentColor transparent transparent transparent;margin-right:.3em}a.nav-link,a.nav_fullstory,a.next-link,a.prev-link{transition:color .25s ease}.nav-link:hover .arrow,.nav_fullstory:hover .arrow,.next-link:hover .arrow,.prev-link:hover .arrow{transform:scale(1.25)}.nav-link:hover .arrow.left,.nav_fullstory:hover .arrow.left,.next-link:hover .arrow.left,.prev-link:hover .arrow.left{transform:scale(1.25) translateX(-.15em)}.nav-link:hover .arrow.right,.nav_fullstory:hover .arrow.right,.next-link:hover .arrow.right,.prev-link:hover .arrow.right{transform:scale(1.25) translateX(.15em)}.nav-link:hover .arrow.up,.nav_fullstory:hover .arrow.up,.next-link:hover .arrow.up,.prev-link:hover .arrow.up{transform:scale(1.25) translateY(-.15em)}.nav-link:hover .arrow.down,.nav_fullstory:hover .arrow.down,.next-link:hover .arrow.down,.prev-link:hover .arrow.down{transform:scale(1.25) translateY(.15em)}#comment{display:block;position:relative;top:-30vh;visibility:hidden}
.DLEPush{z-index:2001;position:fixed;right:20px;top:20px}@keyframes DLEPush-show{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:1}}.DLEPush-notification.wrapper{animation:DLEPush-show 1s;position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;color:#333;margin-bottom:10px;width:100%;max-width:400px;box-shadow:0 10px 15px rgba(0,0,0,.2);background-color:#fff;border-radius:10px}.DLEPush-notification .DLEPush-icon{grid-column:1;grid-row:1/span 2;display:flex;align-items:center;justify-content:center;color:#fff;width:45px;height:100%;border-radius:10px 0 0 10px;text-align:center}.DLEPush-notification .DLEPush-icon svg{scale:.8}.DLEPush-notification .DLEPush-header{font-weight:500;grid-column:2;grid-row:1;font-size:1rem;margin: .5rem 0 0 1rem}.DLEPush-notification .DLEPush-header:empty{margin-top:0}.DLEPush-notification .DLEPush-message{grid-column:2;grid-row:2;font-size:.875rem;margin:1rem}.DLEPush-notification .DLEPush-message li,.DLEPush-notification .DLEPush-message ul{list-style-type:none;padding-left:0}.DLEPush-notification .DLEPush-close{position:absolute;top:8px;right:10px;font-weight:300;background:0 0;border:0;font-size:1.15rem;cursor:pointer;line-height:1;padding:0;color:inherit;outline:0;opacity:.75}.DLEPush-notification .DLEPush-close:hover{opacity:1}@media only screen and (min-width:601px){.DLEPush-notification.wrapper{min-width:400px}}.DLEPush-notification.wrapper.push-success{background-color:#e0f2f1}.DLEPush-notification.wrapper.push-success .DLEPush-icon{background-color:#00897b}.DLEPush-notification.wrapper.push-warning{background-color:#fff3e0}.DLEPush-notification.wrapper.push-warning .DLEPush-icon{background-color:#ff9800}.DLEPush-notification.wrapper.push-error{background-color:#fbe9e7}.DLEPush-notification.wrapper.push-error .DLEPush-icon{background-color:#ff5722}
.glint-container{position:relative;overflow:hidden}.glint{position:absolute;top:0;left:-50%;width:100%;height:100%;background:linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,.5) 45%,rgba(255,255,255,0) 55%);opacity:0;will-change:transform,opacity}@keyframes glint-move{0%{left:-50%;opacity:0}10%{opacity:1}90%{opacity:1}100%{left:100%;opacity:0}}.glint-container.start-glint .glint{animation:glint-move 7s ease-in-out}

.dropbtn {cursor:pointer}

/* === Основные стили === */
.dropdown-content {
    display: none !important;
    position: fixed;
    left: 1%;
    top: 1%;
    z-index: 4;
    width: 95%;
    height: 92vh;
    overflow: auto;
    padding: 12px 20px 25px 20px;   /* ← главное изменение: 12px сверху вместо 25px */
    background: var(--background-frame);
    border: 1px solid #ccc;
    border-radius: .5rem;
    box-shadow: var(--dropdown-box-shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 28px;
    align-content: start;            /* прижимает контент к верху */
}

/* Показ меню */
.dropdown-content.show {
    display: grid !important;
}

/* ====================== КОЛОНКИ ====================== */
.menu-column {
    display: flex;
    flex-direction: column;
}

.menu-column p {
    margin: 4px 0 14px 0;           /* уменьшили отступ сверху у заголовка */
    font-weight: bold;
    color: #006400;
    text-align: left;
    font-size: 1.08em;
}

.dropdown-content a {
    display: block;
    padding: 7px 10px;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.2s;
	border: 1px solid var(--dropdown-content-line);
}

.dropdown-content a:hover {
    background: #f4f4f4;
    color: var(--a-hover-color);
    padding-left: 15px;
}

/* ====================== КНОПКА ЗАКРЫТИЯ ====================== */
.close-dropmenu {
    position: absolute;
    top: 12px;          /* чуть приподняли крестик */
    right: 18px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.95);
    border: 2px solid #bbb;
    border-radius: 50%;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
    box-shadow: var(--close-dropmenu-shadow);
    line-height: 1;
}

.close-dropmenu:hover {
    background: #256f46;
    color: white;
    border-color: #256f46;
    transform: rotate(90deg);
}

/* ====================== АДАПТИВ ====================== */

/* Широкие экраны (горизонтальная ориентация) */
@media (min-width: 993px) and (orientation: landscape) {
    .dropdown-content {
        gap: 7px 28px;
        padding: 10px 20px 25px 20px;   /* ещё меньше сверху */
    }
    
    .menu-column p {
        margin: 2px 0 13px 0;
    }
}

/* Мобильная версия */
@media (max-width: 992px) {
    .dropdown-content {
        grid-template-columns: 1fr;
        gap: 6px 0;
        padding: 15px 10px 20px 10px;   /* на мобильных оставили чуть больше воздуха */
        width: 96%;
        left: 2%;
    }
   
    .menu-column {
        border-right: none;
        margin-bottom: 25px;
    }
   
    .menu-column p {
        text-align: center;
        margin: 8px 0 12px 0;
    }
   
    .dropdown-content a {
        padding: 14px 16px;
        border-bottom: 1px solid var(--dropdown-content-line);
    }
}

/* Очень узкие экраны */
@media (max-width: 600px) {
    .dropdown-content {
        padding: 12px 8px 18px 8px;
    }
    
    .close-dropmenu {
        top: 10px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 21px;
    }
}

.blocker{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:auto;z-index:3;padding:20px;box-sizing:border-box;background:transparent;text-align:center}.blocker:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.05em}.blocker.behind{background:transparent}.modal{display:none;vertical-align:middle;position:relative;z-index:4;max-width:500px;width:90%;box-sizing:border-box;background:var(--menu-bg-color);padding:15px 30px;border:1px solid #cccccc;border-radius:1rem;box-shadow:var(--dropdown-box-shadow);text-align:left;opacity:1}.modal a.close-modal{position:absolute;top:-12.5px;right:-12.5px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;text-indent:-9999px;overflow:hidden;background-color:#cccccc;border:1px solid #000000;border-radius:50%;opacity:.85;cursor:pointer}.modal a.close-modal::before,.modal a.close-modal::after{content:"";position:absolute;width:14px;height:2px;background:#333;border-radius:2px}.modal a.close-modal::before{transform:rotate(45deg)}.modal a.close-modal::after{transform:rotate(-45deg)}.modal a.close-modal:hover{opacity:1;transform:scale(1.08)}.modal-spinner{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:12px 16px;border-radius:5px;background:#111;height:20px}.modal-spinner>div{border-radius:100px;background:#fff;height:20px;width:2px;margin:0 1px;display:inline-block;animation:sk-stretchdelay 1.2s infinite ease-in-out}.modal-spinner .rect2{animation-delay:-1.1s}.modal-spinner .rect3{animation-delay:-1s}.modal-spinner .rect4{animation-delay:-.9s}@keyframes sk-stretchdelay{0%,40%,100%{transform:scaleY(.5)}20%{transform:scaleY(1)}}.offer:after{opacity:1}

/* Фон на время загрузки + для светлой темы */
html {
background-color: #f4f4f4;   /* твой светлый --panel-bg-color */
}

/* Тёмная тема */
html[theme="dark"] {
background-color: #57606f;
}

/* Показываем страницу (дублируем для надёжности) */
html[theme="dark"],
html:not([theme]) {
visibility: visible;
opacity: 1;
}