@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Neucha&display=swap");
:root {
  --menu-height: 50px;
}

/* Глобален reset за линкове */
a {
  color: inherit; /* наследява цвета от родителя */
  text-decoration: none !important; /* маха подчертаването */
  /* text-decoration: underline; */
}

/* основен цвят линкове (тъмен червен) */
/* hover цвят (по-светъл розов) */
/* активен линк (червен) */
/* граница на бутоните */
/* layouts */
/* NAVBAR */
.l-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #e5bbbb;
  z-index: 1000;
  transition: top 0.3s ease;
}

/* MAIN CONTAINER */
.l-nav__list-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin: 0 auto;
}

/* ITEMS – equal width */
.l-nav__item {
  width: 150px;
  /* всички items 150px */
  display: flex;
  position: relative;
  background: #e5bbbb;
}

.l-nav__item:hover {
  color: rgb(250, 230, 230);
}

/* LINKS – full height */
.l-nav__link {
  width: 150px;
  /* линка пасва на контейнера */
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #3b2a2a;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.25s ease, color 0.25s ease;
  font-size: clamp(9px, 3.3vw, 15px) !important;
}

.l-nav__link.current {
  box-shadow: none;
  border: none;
  background: #f7eeed;
  z-index: 2;
}

/* NAV LINK HOVER EFFECT */
.nav-link {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.nav-link:hover {
  color: white !important;
  text-shadow: 0.3px 0.3px rgba(97, 60, 60, 0.9), -0.3px 0.3px rgba(97, 60, 60, 0.9), 0.3px -0.3px rgba(97, 60, 60, 0.9), -0.3px -0.3px rgba(97, 60, 60, 0.9), 0.6px 0.6px rgba(97, 60, 60, 0.85), -0.6px 0.6px rgba(97, 60, 60, 0.85), 0.6px -0.6px rgba(97, 60, 60, 0.85), -0.6px -0.6px rgba(97, 60, 60, 0.85), 0.9px 0 rgba(97, 60, 60, 0.7), -0.9px 0 rgba(97, 60, 60, 0.7), 0 0.9px rgba(97, 60, 60, 0.7), 0 -0.9px rgba(97, 60, 60, 0.7), 1.2px 0 rgba(97, 60, 60, 0.5), -1.2px 0 rgba(97, 60, 60, 0.5), 0 1.2px rgba(97, 60, 60, 0.5), 0 -1.2px rgba(97, 60, 60, 0.5);
}

/* DROPDOWN */
.l-nav__category-wrapper {
  position: relative;
}

/* DROPDOWN */
.l-nav__category-wrapper {
  position: relative;
  z-index: 10;
}

/* Dropdown повдигане нагоре с 10px */
.l-nav__drop {
  position: absolute;
  top: calc(100% - 10px);
  /* повдигане нагоре */
  left: 0;
  /* започва точно от левия край на линка */
  width: 100%;
  /* 190px за да покрие и съседните псевдо */
  background-color: #e5bbbb;
  opacity: 0;
  pointer-events: none;
  z-index: 1001;
  transform: none;
  /* махаме translate за subpixel проблем */
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.l-nav.is-all-active .l-nav__category-wrapper .l-nav__drop,
.l-nav.is-promo-active .l-nav__category-wrapper .l-nav__drop {
  left: -10px;
  width: calc(100% + 20px);
}

/* Показване при hover */
.l-nav__category-wrapper:hover .l-nav__drop {
  opacity: 1;
  pointer-events: auto;
}

/* Първи елемент в dropdown – padding отгоре, за да компенсираме повдигането */
.l-nav__drop > .l-nav__drop-item:first-child {
  padding-top: 10px;
}

/* Меки преходи */
.l-nav__drop {
  transition: opacity 0.2s ease;
}

/* При hover на бутона Категории, фонът става същият като дроп менюто */
.l-nav__category-wrapper:hover > .l-nav__link {
  background-color: #e5bbbb;
}

/* DROPDOWN LINKS */
.l-nav__drop-link {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  /* центриране в 140px контейнера */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: #333 !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.l-nav__drop-item:hover .l-nav__drop-link {
  background-color: #f7eeed;
  box-shadow: inset 0 0 0 4px #e5bbbb;
}

.l-nav__drop-count {
  font-size: 0.85rem;
  color: inherit;
}

.l-nav__drop-link,
.l-nav__drop-link .l-nav__drop-count {
  color: #333;
  /* цвят без hover */
  transition: color 0.5s ease;
  /* добавено забавяне 0.5s */
}

.l-nav__drop-link,
.l-nav__drop-count {
  font-size: clamp(10px, 3.2vw, 14px) !important;
}

/* Активен линк – централна част */
.l-nav__link.current {
  position: relative;
  background: #f7eeed;
  /* фон на активния линк */
  z-index: 1;
}

/* Ляв „корнер“ – 10px извън линка наляво */
.l-nav__link.current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  /* 10px извън линка */
  width: 10px;
  height: 100%;
  background: #e5bbbb;
  /* същия фон като активния линк */
  border-bottom-right-radius: 10px;
  z-index: 1;
}

/* Десен „корнер“ – 10px извън линка надясно */
.l-nav__link.current::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  /* 10px извън линка */
  height: 100%;
  background: #e5bbbb;
  /* същия фон като активния линк */
  border-bottom-left-radius: 10px;
  z-index: 1;
}

/* Активният линк задава ширината на родителския li */
.l-nav__item:has(> .l-nav__link.current) {
  flex: 0 0 170px;
  /* активният item е по-широк */
}

/* под 479px */
@media (max-width: 479px) {
  /* default – леко по-тесни */
  .l-nav__item {
    width: 31% !important;
  }
  /* item с current линк – по-широк */
  .l-nav__item:has(.l-nav__link.current) {
    flex: 0 0 39%;
    /* активният item е по-широк */
  }
  .l-nav__list-container {
    height: 40px !important;
  }
}
/* generic */
/*! modern-normalize v0.7.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/**
Use a more readable tab size (opinionated).
*/
:root {
  -moz-tab-size: 4;
  -o-tab-size: 4;
     tab-size: 4;
}

/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/*
Sections
========
*/
/**
Remove the margin in all browsers.
*/
body {
  margin: 0;
}

/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/*
Grouping content
================
*/
/**
Add the correct height in Firefox.
*/
hr {
  height: 0;
}

/*
Text-level semantics
====================
*/
/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

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

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
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;
}

/*
Forms
=====
*/
form {
  margin: 0;
}

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

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

/**
Correct the inability to style clickable types in iOS and Safari.
*/
/**
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;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
  padding: 0;
}

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

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
[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; */
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
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;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

/* settings */
/* settings/settings-color.scss */
/* Основни цветове за сайта */
/* тъмночервено */
/* светло розово */
/* много светъл розов фон */
/* Линкове и интерактивни елементи */
/* abstracts */
/* object */
.o-bolder {
  font-weight: bold;
}

.o-bordered {
  border: 1px solid;
  border-radius: 3px;
}

.o-centering {
  margin: 0 auto;
  text-align: center;
}

.o-container {
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 900px) and (any-hover: none) {
  .o-container {
    margin: 0 auto;
  }
}
/* elements */
body {
  background: #f7eeed;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 5px;
  font-weight: 700;
}

a {
  color: black;
  display: block;
}

ul[class],
ol[class] {
  list-style: none;
}

a {
  text-decoration: none;
}

textarea:focus {
  background-color: rgb(255, 255, 199) !important;
}

/* components */
/* square grid */
.e-square-box {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  text-align: center;
}
.e-square {
  /* лява колона първи ред */
}
.e-square__img {
  width: 100%;
  grid-column: 1/2;
  grid-row: 1/2;
}
.e-square__img img {
  display: block;
  width: 100%;
  height: auto;
}
.e-square {
  /* лява колона втори ред */
}
.e-square__del {
  grid-column: 1/2;
  grid-row: 2/3;
}
.e-square {
  /* дясна колона първи ред */
}
.e-square-field {
  grid-column: 2/3;
  grid-row: 1/2;
}
.e-square-field__quantity {
  width: 3rem;
}
.e-square-field__price {
  display: flex;
  align-items: center;
  gap: 6px;
}
.e-square-field__price input {
  max-width: 30%;
}
.e-square-field__price-old {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  background-color: #687e65;
  border: 1px solid;
  max-width: 65%;
}
.e-square-field__price-old input {
  max-width: 60%;
}
.e-square-field__price-old label {
  white-space: nowrap;
  font-weight: 700;
  color: white;
}
.e-square-field__info, .e-square-field__sort {
  width: 100%;
  max-width: 100%;
}
.e-square {
  /* дясна колона втори ред */
}
.e-square__zeroed {
  grid-column: 2/3;
  grid-row: 2/3;
}
.e-square__checkboxes {
  float: none !important;
  font-size: 15px;
  font-weight: 700;
}
.e-square {
  /* quantity square */
}
.e-square-quantity {
  background-color: #f1e8e8;
}
.e-square-quantity img {
  width: 100%;
  border-radius: 0.2rem;
}
.e-square-quantity input {
  max-width: 20% !important;
}
.e-square-quantity {
  max-width: 100% !important;
}
.e-square-quantity > * {
  max-width: 100%;
}
.e-square-quantity__grid .e-square-quantity > * {
  min-width: 0;
}
.e-square-quantity__quantity {
  width: 3rem !important;
}
.e-square-quantity__grid input {
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0 !important;
}
.e-square-quantity__box {
  padding: 0.2rem;
}

/* slim grid */
.e-slim-content label {
  display: inline-flex;
  /* inline за редовно подреждане, flex за разпределение */
  align-items: center;
  /* вертикално центриране на текста спрямо input */
  gap: 0.3rem;
  /* малко разстояние между текста и input */
  font-weight: 700;
}

.e-slim-box {
  width: 100%; /* важно ! да се вмести в колоната */
  box-sizing: border-box;
  border: 2px solid #b9c9c3;
  border-radius: 5px;
  overflow: hidden; /* за да не излиза изображението извън рамката */
  background-color: #f5f5f5;
  margin-bottom: 0;
}
.e-slim-box__promo {
  background-color: #ebcdcd;
}
.e-slim__img {
  width: 100%; /* важно! */
}
.e-slim {
  /* Всеки ред вътре */
}
.e-slim-content {
  display: grid;
  gap: 8px;
  padding: 3px;
  /* width: 100%; */
  /* margin-bottom: 8px; */
  box-sizing: border-box;
}
.e-slim-content-4 {
  grid-template-columns: repeat(4, 1fr);
}
.e-slim-content-3 {
  grid-template-columns: repeat(3, 1fr);
}
.e-slim-content-2 {
  grid-template-columns: repeat(2, 1fr);
}
.e-slim-content input,
.e-slim-content textarea,
.e-slim-content button {
  box-sizing: border-box;
}
.e-slim-content label {
  display: inline-flex; /* inline за редовно подреждане, flex за разпределение */
  align-items: center; /* вертикално центриране на текста спрямо input */
  gap: 0.3rem; /* малко разстояние между текста и input */
  font-weight: 700;
}
.e-slim-content input {
  width: 3rem; /* фиксирана ширина на инпута */
  padding: 2px 4px;
  box-sizing: border-box;
}
.e-slim-content-check {
  width: 1rem !important;
}
.e-slim-btn {
  justify-items: center;
}
.e-slim {
  /* quantity slim */
}
.e-slim-quantity__grid {
  padding: 2rem;
}
.e-slim-quantity button, .e-slim-quantity input {
  margin: 3px;
}
.e-slim-quantity input {
  width: 2.5rem;
}

/* под 480px */
@media (max-width: 480px) {
  .e-slim-content-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .e-slim-content input {
    width: 5rem;
  }
}
/* home */
.test-label {
  color: red !important;
}

.e-home-box > *, .e-home-second-row > * {
  min-width: 0;
}
.e-home-box textarea, .e-home-box input {
  width: 100%;
  box-sizing: border-box;
}
.e-home-box input {
  width: 50%;
}
.e-home-box {
  display: grid;
  grid-template-columns: 60% minmax(0, 1fr);
  grid-template-rows: auto auto;
}
.e-home-first-row {
  display: contents; /* важно */
}
.e-home-first-row__left {
  grid-column: 1/2;
  grid-row: 1/2;
  /* width: 100%; */
}
.e-home-first-row__right {
  grid-column: 2/3;
  grid-row: 1/2;
}
.e-home-second-row {
  grid-column: 1/-1; /* заема и двете колони */
  grid-row: 2/3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5px;
  text-align: center;
}
.e-home-second-row__left {
  grid-column: 1/2;
}
.e-home-second-row__right {
  grid-column: 2/3;
}
.e-home-quantity img {
  width: 100%; /* да не overflow */
}
.e-home-quantity input {
  width: 3rem;
}

.edit-body {
  background-color: whitesmoke;
}

textarea {
  resize: vertical;
}

/* разделител */
.e-spacer {
  grid-column: 1/-1;
  /* заема целия ред в grid */
  height: 40px;
  /* височината на spacer-а */
  background-color: rgba(14, 15, 15, 0.3294117647);
  /* светъл зелен фон за целия блок */
  margin-bottom: 5rem;
  border-radius: 4px;
}

.e-box input {
  font-weight: 700;
  /* за всички */
}

/* бутон занули всички */
.e-zero-all {
  text-align: center;
  color: white;
  margin: 5rem 0 5rem 0;
}
.e-zero-all input {
  background-color: rgb(58, 106, 74);
  color: white;
  padding: 1rem;
  border-radius: 0.3rem;
  font-size: 18px;
  font-weight: 700;
  white-space: normal;
  /* да отива на нов ред текста */
  max-width: 80%;
}

.edit-save {
  background-color: rgb(158, 211, 158);
  border: 2px #061f15 solid;
}
.edit-save:hover {
  color: white;
  border: 2px white solid;
}

.e-square-quantity__label {
  /* label да е на един ред */
  white-space: nowrap;
  display: inline;
}

/* === БУТОНИ ДА НЕ РАЗДУВАТ === */
.up-btn,
.zero-btn,
.del-btn,
.up-btn-slim {
  padding: 4px;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
  margin-bottom: 5px;
}

.up-btn,
.zero-btn,
.del-btn {
  width: 90%;
  display: block;
}

/* общи */
.e-square__grid, .e-square-quantity__grid,
.e-slim__grid,
.e-slim-quantity__grid,
.e-home__grid,
.e-home-quantity__grid {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  padding: 0.5rem;
}
.e-square-box,
.e-slim-box,
.e-home-box {
  border: 2px solid;
  background-color: #b9c9c3;
}
.e-square-box__promo,
.e-slim-box__promo,
.e-home-box__promo {
  background-color: #ebcdcd;
}
.e-square__zeroed,
.e-slim__zeroed,
.e-home__zeroed {
  background-color: #d8dea3;
  color: black;
  border: 2px #839328 solid;
}
.e-square__zeroed:hover,
.e-slim__zeroed:hover,
.e-home__zeroed:hover {
  color: #2c8c6c;
  background-color: #bdcd31;
}
.e-square__del,
.e-slim__del,
.e-home__del {
  background-color: #bd8787;
  color: black;
  border: 2px #850000 solid;
  padding: 4px;
}
.e-square__del:hover,
.e-slim__del:hover,
.e-home__del:hover {
  color: #cde4dc;
  background-color: #f19191;
}
.e-square__img,
.e-slim__img,
.e-home__img {
  border-radius: 0.3rem;
}
.e-square-quantity,
.e-slim-quantity,
.e-home-quantity {
  background-color: #a2b9b1;
  border: 2px solid;
  border-radius: 0.3rem;
  width: 100%;
  gap: 10px;
}

/* === RESPONSIVE (АКО ГО ИСКАШ) === */
/* под 479px */
@media (max-width: 479px) {
  /* 1 колона */
  .e-square__grid,
  .e-home__grid,
  .e-slim__grid,
  .e-slim-quantity__grid {
    grid-template-columns: repeat(1, 1fr);
    /* 1 на ред */
  }
  /* 2 колони */
  .e-square-quantity__grid,
  .e-home-quantity__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 2 на ред */
  }
}
/* над 480px */
@media (min-width: 480px) {
  /* 2 колона */
  .e-square__grid,
  .e-home__grid,
  .e-slim-quantity__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 2 на ред */
  }
  /* 3 колони */
  .e-home-quantity__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 3 на ред */
  }
  /* 4 колони */
  .e-square-quantity__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* 4 на ред */
  }
}
/* над 768px */
@media (min-width: 768px) {
  .e-slim__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 2 на ред */
  }
  /* 3 колона */
  .e-square__grid,
  .e-home__grid,
  .e-slim-quantity__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 3 на ред */
  }
  /* 4 колони */
  .e-home-quantity__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* 4 на ред */
  }
  /* 6 колони */
  .e-square-quantity__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    /* 6 на ред */
  }
}
/* desktop */
@media (min-width: 1024px) {
  .e-slim__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 3 на ред */
  }
  /* 4 колона */
  .e-square__grid,
  .e-home__grid,
  .e-slim-quantity__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* 4 на ред */
  }
  /* 6 колони */
  .e-home-quantity__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    /* 6 на ред */
  }
  /* 8 колони */
  .e-square-quantity__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    /* 8 на ред */
  }
}
@media (min-width: 1800px) {
  .e-slim__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    /* 4 на ред */
  }
  /* 4 колона */
  .e-square__grid,
  .e-home__grid,
  .e-slim-quantity__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    /* 6 на ред */
  }
  /* 6 колони */
  .e-home-quantity__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    /* 8 на ред */
  }
  /* 8 колони */
  .e-square-quantity__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    /* 8 на ред */
  }
}
/* ===== RESET ЗА GRID СЧУПВАНЕ ===== */
* {
  box-sizing: border-box; /* преоразмерява оформя всички елементи */
}

/* c-edit */
.e-nav {
  padding: 0;
  align-content: stretch;
  flex-wrap: wrap;
}
.e-nav__lists, .e-nav-square__lists {
  width: 150px;
  margin: 0.5rem !important;
  border-radius: 3px;
  border-radius: 10px;
}
.e-nav__lists a, .e-nav-square__lists a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
}
.e-nav__lists {
  color: #7F1D1D;
  background-color: #e4bebe;
  border: 2px #B91C1C solid;
}
.e-nav__lists a {
  height: 50px;
}
.e-nav {
  /* edit-square */
}
.e-nav-square {
  padding-left: 0;
}
.e-nav-square__lists {
  color: #6e4040;
  background-color: #e0d3d3;
  border: 2px #c57070 solid;
}
.e-nav-square__lists a {
  height: 30px;
}

/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */
#button {
  display: inline-block;
  background-color: #536b36;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 15px;
  position: fixed;
  bottom: 30px;
  right: 5px;
  transition: background-color 0.1s, opacity 0.8s, visibility 0.8s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  color: #fff;
}

#button:hover {
  cursor: pointer;
  background-color: #4a593c;
}

#button:active {
  background-color: #3d4837;
}

#button.show {
  opacity: 0.7;
  visibility: visible;
}

/* ===========================================
   CONTENT STYLES
   =========================================== */
.content {
  width: 43%;
  font-family: "Merriweather", serif;
  font-size: 17px;
  color: #6c767a;
  line-height: 1.9;
  transition: transform 0.3s ease;
}

.content:hover {
  transform: translate(0, -10px);
}

.content h1 {
  color: #03a9f4;
  line-height: 1.5;
}

.content h3 {
  font-style: italic;
  color: #96a2a7;
}

/* ===========================================
   FOOTER
   =========================================== */
.c-footer__block-left,
.c-footer__block-right,
.c-footer__category {
  justify-items: start;
  justify-self: center;
}

.c-footer {
  background: #f7f7f7;
  color: #333;
  padding: 1.5em 1em 0.5em;
  font-size: 0.95em;
}
.c-footer__wrapper {
  display: grid;
  gap: 1rem;
  grid-template-columns: 2fr 4fr;
  align-items: start;
  margin: 0 auto;
}
.c-footer__title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.c-footer__category {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-footer__category li {
  margin: 0;
  white-space: nowrap;
}
.c-footer__block-left .c-footer__title {
  padding-bottom: 0.25rem; /* за gap да са равни */
}
.c-footer__category, .c-footer__block-right {
  gap: 0.25rem 1rem;
}
.c-footer__block-right {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(6, 1fr);
  grid-auto-flow: column;
}
.c-footer__bottom {
  text-align: center;
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ccc;
  font-size: 0.85em;
}

#button {
  margin: 30px;
}

/* RESPONSIVE */
/* над 500px */
@media (min-width: 500px) {
  .c-footer__wrapper {
    grid-template-columns: 1fr 2fr;
  }
  .c-footer__category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* над 768px */
@media (min-width: 768px) {
  .c-footer__wrapper {
    grid-template-columns: 1fr 2fr;
  }
  .c-footer__block-right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
}
/* над 900px */
@media (min-width: 992px) {
  .c-footer__wrapper {
    gap: 2rem;
    max-width: 60rem;
  }
  .c-footer__category {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .c-footer__block-left .c-footer__title {
    justify-self: center;
  }
  .c-footer__category,
  .c-footer__block-right {
    gap: 0.25rem 3rem;
  }
}
.gallery-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 100%;
  margin: 2rem 0;
}
.gallery-item-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  border-radius: 3px;
  overflow: hidden;
  /* за pseudo-element */
  padding: 3px;
  /* ширина на бордера */
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  background: whitesmoke;
  /* фон зад изображението и секцията с текст */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* .gallery-item-wrapper  /pseudo-element за бордера */
}
.gallery-item-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 3px;
  background: repeating-linear-gradient(45deg, #b30000 0, #b30000 6px, #ffffff 6px, #ffffff 12px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  /* за бордера */
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  transition: background-position 0.2s linear;
}
.gallery-item-wrapper {
  /* .gallery-item-wrapper  /Hover: движение на шарките */
}
.gallery-item-wrapper:hover {
  background-color: #e4d3d1;
  transform: translateY(-2px);
}
.gallery-item-wrapper:hover a {
  color: #000;
}
.gallery-item-wrapper:hover::before {
  background-position: 4px 0;
}
.gallery-item-wrapper {
  /* .gallery-item-wrapper */
}
.gallery-item-wrapper__promo {
  background: rgb(228, 197, 200);
  /* светло червен/розов фон за промо */
  /* border: 1px solid #f5c2c7; - optional border */
}
.gallery-item-wrapper__promo::before {
  background: repeating-linear-gradient(45deg, #f7a6a6 0, #f67f7f 6px, #ffffff 6px, #ffffff 12px);
}
.gallery-item-wrapper {
  /* .gallery-item-wrapper */
}
.gallery-item-wrapper__out {
  opacity: 0.8;
  cursor: not-allowed;
  /* линка да е неактивен */
}
.gallery-item-wrapper__out:hover {
  filter: grayscale(100%);
  transform: translateY(0);
}
.gallery-item-wrapper__out:hover .gallery__image img {
  transform: scale(1);
}
.gallery {
  /* gallery */
}
.gallery__image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  overflow: hidden;
  /* задължително, за да не излиза изображението */
  font-size: 0.7rem;
}
.gallery__image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0, 0.1, 1);
  /* забавен zoom */
}
.gallery {
  /* gallery */
}
.gallery__price-old {
  color: #965858;
  text-decoration: line-through;
  text-shadow: 0 0 1.5px rgba(100, 45, 45, 0.35);
  opacity: 0.9;
}
.gallery {
  /* gallery */
}
.gallery__price, .gallery__price-old, .gallery__code {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 0 5px;
  max-width: 100%;
  box-sizing: border-box;
}
.gallery {
  /* gallery */
}
.gallery__code {
  display: inline-block;
}
.gallery {
  /* gallery */
}
.gallery__price {
  color: #2f2f20;
  text-shadow: 0 0 1px rgb(174, 255, 38);
  background-color: rgba(12, 59, 26, 0.09);
}
.gallery {
  /* gallery */
}
.gallery__badge {
  position: absolute;
  top: 3px;
  left: 50%;
  background: #dc3545;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  z-index: 2;
  transition: transform 0.3s ease;
  transform: translateX(-50%) scale(1);
  opacity: 0.7;
}
.gallery__badge:hover {
  transform: translateX(-50%) scale(1.1);
  opacity: 1;
}
.gallery {
  /* gallery */
}
.gallery-item-wrapper, .gallery__image img {
  border-radius: 3px;
}
.gallery__out-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
  letter-spacing: 0.05em;
}
.gallery-image__unavailable {
  filter: grayscale(100%);
}

.lightGallery-captions {
  font-weight: 700;
}
.lightGallery-captions__unavailable {
  background-color: rgba(220, 53, 70, 0.3607843137);
}

.item-gallery {
  /* за 100% височина на линка в галерията */
  gap: 0.4rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.item-gallery:hover .gallery__badge {
  opacity: 1;
  transform: translateX(-50%) scale(1.04);
}

.c-header {
  padding: 1rem 1.5rem;
  border-radius: 3px;
  /* Стар, износен папирус */
  background: linear-gradient(180deg, #f8eeee 0%, #efdada 40%, #f6eaea 60%, #f5e3de 100%);
  border: 1px solid rgba(150, 100, 100, 0.35);
  color: #3b2a2a; /* същият текстов цвят като менюто */
  border: 1px solid #c8a2a2;
  /* Сянка от ръба към средата */
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1), inset 0 0 60px rgba(255, 255, 255, 0.05), 0 8px 20px rgba(0, 0, 0, 0.12);
  position: relative;
}
.c-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015) 2px, rgba(0, 0, 0, 0.02) 4px);
  pointer-events: none;
  border-radius: 6px;
}
.c-header__heading {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: center;
}
.c-header__title {
  display: inline-block;
  cursor: pointer;
  color: #946e6e; /* active цвят от менюто */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.c-header__title:hover {
  color: #3b2a2a;
  border-color: #3b2a2a;
}
.c-header__legend {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ae3e3e;
}
.c-header__title, .c-header__legend {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

.c-note_container {
  padding: 1em;
}
.c-note_save {
  position: relative;
  top: 23px;
  left: 0;
  height: 23px;
  border-radius: 0 0 5px 0;
  background-color: rgb(171, 200, 171);
  border: 1px solid;
  font-size: 13px;
}
.c-note_content {
  text-align: left;
}

/* mobile */
@media screen and (min-width: 360px) and (max-width: 704px) {
  .c-note_container {
    padding: 5px;
  }
  .c-note_box {
    margin-top: -20px;
  }
}
.c-order {
  margin: auto;
  width: 50%;
  text-align: center;
}
.c-order_create_box {
  width: 25em;
}
.c-order_create_title {
  width: 100%;
}
.c-order_create_code {
  width: 50%;
}
.c-order {
  /* client */
}
.c-order_client_box {
  width: 32em;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1%;
  margin-bottom: 5px;
  background-color: #e1b8b3;
  border: 1px solid #98736f;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
}
.c-order_client_img {
  margin: 2px;
}
.c-order_client_total {
  background-color: #c27d74;
  color: white;
  grid-column: 1/4;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
}
.pagination .page {
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  text-decoration: none;
  border: 0.1rem solid #781212;
  border-radius: 0.2rem;
  background-color: rgb(219, 163, 174);
  width: 3rem;
  text-align: center;
  color: white !important;
  font-weight: 600;
  font-size: 1rem;
}
.pagination .page.active {
  background-color: #e3c5c5;
  cursor: default;
  border: 0;
}
.pagination .page:hover {
  background-color: #cfb1b6;
}
.pagination .page.active, .pagination .page:hover {
  color: #763030 !important;
}
.pagination .page.active:hover {
  background-color: #e3c5c5;
  /* само за активната */
}
.pagination .page:not(.active):hover {
  outline: 0.1rem solid #763030;
  border: 0.1rem solid #763030;
}
.pagination .page.disabled {
  display: none !important;
}
.pagination .page.number > span {
  display: inline-block;
  transition: transform 0.15s ease;
}
.pagination .page.number:not(.active):hover > span {
  transform: scale(1.25);
}
.pagination .page.prev, .pagination .page.next {
  background-color: #ab6767;
  border: 0.1rem solid rgb(163, 140, 144);
  font-weight: 700;
  transform-origin: center;
}

.prev-page,
.next-page {
  font-weight: 900;
  transform-origin: center;
  display: inline-flex;
  transform: scale(1.4) translateY(-2px);
}

/* На малък екран само намаляваме размера на бутоните.
   JavaScript определя кои страници да се виждат. */
@media (max-width: 767px) {
  .pagination .page {
    padding: 0.2rem;
    width: 2rem;
  }
  .prev-page,
  .next-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: scale(1.4);
  }
}
/* test-pagination */
/* settings */
/* =============================== */
/* Sort Options Component */
/* =============================== */
/* modern way */
.c-sort-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.c-sort-options a {
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  text-align: center;
  font-weight: 600;
  background-color: #dcc8c8;
  color: #663838;
  box-shadow: 0 2px 0 rgba(151, 112, 112, 0.5215686275);
  transition: all 0.2s ease;
}
.c-sort-options a:hover {
  background-color: #c1a0a0;
  color: #542c2c;
  box-shadow: 0 1px 0 rgba(151, 112, 112, 0.5215686275);
  transform: translateY(1px);
}
.c-sort-options a.c-sort-options__current {
  background-color: #c39a9a;
  color: #ffffff;
  margin: -0.5px;
  pointer-events: none;
}

/* търсачката */
.sort-search {
  margin: 0 auto;
  background-color: #eddadc;
  padding: 0.3rem 0.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.sort-search__search input {
  width: 100%;
  max-width: 120px;
  padding: 0.3rem;
  border-radius: 0.25rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-weight: 600;
}
.sort-search__search input:focus {
  outline: none;
  border-color: #a16363;
  box-shadow: 0 0 5px #a16363;
  background-color: #e2e2e2;
}
.sort-search__search label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.c-up {
  display: grid;
  grid-gap: 10px;
  margin: 5px;
}
.c-up_input {
  width: 1em;
  height: 1em;
}
.c-up_heading {
  grid-column: 1/3;
  text-align: center;
}
.c-up_upload-btn {
  display: none;
}
.c-up_square {
  grid-template-columns: 1fr 1fr;
}
.c-up {
  /* slim */
}
.c-up_slim {
  grid-template-columns: 1fr 1fr;
}
.c-up_slim-img {
  grid-column: 1/3;
}

.c-view__square,
.c-view__home {
  width: 50%;
  margin-inline: auto;
}

.c-view__img {
  border: 2px solid red;
  -o-border-image: repeating-linear-gradient(45deg, red, red 4px, white, white 10px) 2;
  border-image: repeating-linear-gradient(45deg, red, red 4px, white, white 10px) 2;
}
.c-view__data {
  text-align: center;
  background-color: #d1cece;
  padding: 10px;
  border: 2px solid;
}
.c-view__data span {
  margin: 10px;
  font-size: 20px;
  font-weight: 600;
}

/* responsive */
/* responsive/breakpoints.scss */
html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-app {
  flex: 1;
  /* Makes main fill the available space and keeps the footer at the bottom */
  align-content: start;
  /* Keeps grid rows at the top without stretching them vertically */
  display: grid;
  grid-auto-rows: auto;
  justify-content: center;
  gap: 2rem;
  margin-inline: auto;
  padding: 1rem;
  margin-top: 4rem;
}

.c-header {
  width: 100%;
  /* заема целия ред на main */
}

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

@media (max-width: 480px) {
  .main-app {
    margin: 4rem 0.3rem 0.3rem 0.3rem;
    padding: 0.3rem;
  }
  .gallery-cards {
    gap: 0.7rem; /* за да изглеждат всички еднакво */
  }
}
/* sm */
@media (min-width: 640px) {
  .main-app {
    max-width: 640px;
  }
  .gallery-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* md */
@media (min-width: 768px) {
  .main-app {
    max-width: 768px;
  }
  .gallery-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .main-app {
    max-width: 1024px;
  }
  .gallery-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* xl */
@media (min-width: 1280px) {
  .main-app {
    max-width: 1280px;
  }
  .gallery-cards {
    grid-template-columns: repeat(6, 1fr);
  }
}
/* 2xl */
@media (min-width: 1900px) {
  .main-app {
    max-width: 1792px;
  }
  .gallery-cards {
    grid-template-columns: repeat(8, 1fr);
  }
}
/* xs */
@media (max-width: 320px) {
  /* font-size: 1rem; */
}
/* sm */
@media (max-width: 360px) {
  .px-16 {
    padding: 0 0.75rem 0 0.75rem !important;
  }
}
/* md */
@media (max-width: 480px) {
  .c-nav__link {
    font-size: 0.8rem;
  }
  .px-16 {
    padding: 0 1rem 0 1rem !important;
  }
  .c-sort-options a {
    padding: 4px 13px;
    font-size: 0.8rem;
  }
}
/* lg */
/* xl */
/* xxl *//*# sourceMappingURL=style.css.map */