/*****
** Base
*****/
:root {
  --primary-color: #3cb64a;
  --primary-hover: #34a142;
  --primary-light: rgba(60, 182, 74, 0.12);
  --secondary-color: #0c67af;
  --secondary-color-hover: #1f7dc7;
  --border-radius: 3px;
  --secondary-gradient: linear-gradient(184deg, var(--secondary-color) 0%, var(--secondary-color-hover) 100%);

  /* RGB */
  --primary-rgb: 60, 182, 74;
  --secondary-rgb: 12, 103, 175;
}

.btn-secondary {
  color: var(--bs-btn-color);
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--border-radius);
  background-color: var(--secondary-color);
  background-image: var(--secondary-gradient);
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:hover {
  text-decoration: none;
}



.btn-secondary {
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-bg: var(--bs-secondary-hover-bg);
  --bs-btn-hover-border-color: var(--bs-secondary-hover-bg);
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-bg: var(--bs-secondary-hover-bg);
  --bs-btn-active-border-color: var(--bs-secondary-hover-bg);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-bg: var(--bs-secondary);
  --bs-btn-disabled-border-color: var(--bs-secondary);
}

ol,
ul {
  padding: 0;
}

@media screen and (max-width: 576px) {
  .l_sb_mob {
    margin-top: 1rem;
  }
}

/*****************
*** Articles
*****************/
.swiper-articles {
  overflow: hidden;
  position: relative;
}

.swiper-articles .swiper-slide {
  height: auto;
  display: flex;
}

.swiper-articles .articles__card {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.articles__card {
  border: 1px solid rgba(0, 0, 0, 0.175);
  border-left: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
}

.article__image {
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  position: relative;
}

.article__image img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.articles__date {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.articles__date .bi {
  color: var(--primary-color);
}

.articles__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.articles__title {
  font-size: 16px;
  line-height: 18px;
  padding-bottom: 8px;
  font-weight: 600;
  color: #3a3b3c;
  border-bottom: 1px solid var(--primary-color);
}

.articles__text {
  font-size: 14px;
  line-height: 16px;
  color: #898a8b;
  font-weight: 300;
  font-family: "Helvetica";
}

.link {
  transition: 0.3s all;
}

.link-go {
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 5px 15px;
}

.link-go:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.link-go .bi {
  display: inline-block;
  transform: scale(1.1);
  transition: 0.7s transform;
}

.link-go:hover .bi {
  transform: scale(1.5);
}

.link-go .bi::before {
  font-weight: 600;
}

.link--green {
  color: var(--primary-color);
}

/*****
** Swiper
*****/
.swiper-delay {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.swiper-delay.ready {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  font-weight: 600;
  color: #3cb64a;
  border: 1px solid #3cb64a;
  border-radius: 3px;
  padding: 10px 20px;
  transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #3cb64a;
  color: #fff;
}

.swiper-buttons {
  display: flex;
  gap: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.swiper-button-prev,
.swiper-button-next {
  position: relative;
  inset: unset;
}

/*****
** Misc
*****/
@media screen and (max-width: 1199.98px) {

  #semena_cats h3,
  #semena_cats .mix a {
    font-size: 16px;
    font-weight: normal;
    color: #353a42;
  }

  #semena_cats div a,
  #semena_cats div span {
    font-size: 13px;
  }
}

/**********
***** Useful buttons
**********/
.useful-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media screen and (max-width: 576px) {
  .useful-buttons {
    grid-template-columns: 1fr;
  }
}

.useful-button {
  font-family: "Times New Roman PSMT", sans-serif;
  font-size: 18px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 7px 7px 0 7px;

  transition: transform 0.3s ease;
  position: relative;
}

.useful-button:hover {
  transform: translateY(-2px);
}

.useful-button img {
  vertical-align: middle;
}

.useful-button--telegram {
  background-color: #ebf7fd;
  /* border: 1px solid #b3e6fd; */
  box-shadow: 2px 3px 7px 1px rgba(0, 0, 0, 0.07);
}

.useful-button--instruction {
  background-color: #f0fdef;
  /* border: 1px solid #c4fad0; */
  box-shadow: 2px 3px 7px 1px rgba(0, 0, 0, 0.07);
}

.useful-button__text {
  text-align: left;
}

/***** Utilities *****/
.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}


/**********
***** Cart
**********/
.cart-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .cart-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 10px;
    text-align: center;
  }
}

.cart-item {
  display: contents
}

.cart-item__image {
  width: 100px;
  text-align: center;
}

@media (max-width: 1199px) {
  .cart-item__image {
    width: 80px;
  }
}

.cart-item__title {
  font-size: 18px;
  text-align: left;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .cart-item__title {
    text-align: center;
  }
}

.cart-item__title a {
  color: #3a3b3c;
  text-decoration: none;
}

.cart-item__title a:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .cart-item__actions {
    text-align: left;
  }
}

.cart-item__actions .wl_rem_wr {
  display: grid;
  gap: 10px;
}

@media screen and (max-width: 600px) {
  .cart-item__actions .wl_rem_wr {
    gap: 5px;
  }
}

.actions__btn {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 5px;

  font-size: 16px;
  color: #a4a4a4;
  cursor: pointer;
}

.actions__btn:hover {
  opacity: 0.6;
}

.cart-item__quantity {
  text-align: center;
}

.cart-item .ch_am {
  width: 100%;
  cursor: pointer;
}

.cart-item .amount_cart {
  padding: 0;
}

.cart-item__price {
  white-space: nowrap;
}

/**********
***** Order
**********/
.order-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .order-items {
    grid-template-columns: repeat(4, 1fr);
  }
}

.order-item {
  display: contents
}

.order-item__image {
  width: 100px;
  text-align: center;
}

.order-item__title {
  font-size: 1rem;
  text-align: left;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .order-item__title {
    text-align: center;
  }
}

@media screen and (max-width: 600px) {
  .order-item__title {
    font-size: 0.875rem;
  }
}

.order-item__title a {
  color: #3a3b3c;
  text-decoration: none;
}

.order-item__title a:hover {
  opacity: 0.6;
}

.order-item__quantity {
  font-size: 1rem;
}

.order-item__price {
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
}

@media screen and (max-width: 600px) {
  .order-item__price {
    font-size: 1rem;
  }
}

.step_ord_reg {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.total a {
  all: initial;
  border-bottom: 1px dotted var(--primary-color);
  color: var(--primary-color);
  font-size: 17px;
}

.total a:hover {
  opacity: 0.6;
  cursor: pointer;
}

.total__price p {
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  color: #3a3b3c;
  margin: 0 !important;
  white-space: nowrap;
}

.old-price {
  font-weight: 400;
  font-size: 0.875rem;
  display: inline-flex;
  row-gap: 5px;
}

.old-price--absolute {
  position: absolute;
  top: -20px;
  right: 0;
}

.old-price::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><line x1="0" y1="100%" x2="100%" y2="0" stroke="red" stroke-width="2"/></svg>');
  background-size: cover;
  z-index: 1;
}

.divider {
  grid-column: 1 / -1;
  height: 1px;
  background: #e8e8e8;
  margin: 10px 0;
}

.divider:last-child {
  display: none;
}

.selectbox .text {
  white-space: nowrap;
}

.checkbox input[type=radio]:checked+label:before,
.checkbox input[type=radio]:checked+label:after {
  box-sizing: content-box;
}

.captcha {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 5px;
}

/***************
*** Payment details
***************/
.paydetails {
  text-align: center;
}

.paydetails__icon {
  font-size: 2rem;
}

.paydetails__icon:hover {
  opacity: 0.6;
}

.paydetails__icon--whatsapp {
  color: #1ad03f;
}

.paydetails__icon--telegram {
  color: #27a4e4;
}

/*****
** Offcanvas Categories
*****/
.offcanvasCategories .offcanvas-title {
  font-weight: 600;
  font-size: 22px;
  color: #353a42;
}

.offcanvasCategories .btn-close:focus {
  box-shadow: 0 0 0 0.25rem rgba(60, 182, 74, 0.25);
}

.offcanvasCategories .categories_list {
  border-top: 2px solid var(--primary-color);
}

.offcanvasCategories .categories_list__item {
  border-bottom: 1px solid #ededed;
  width: 100%;
  padding: 5px;
}

.offcanvasCategories .categories_list__item.active {
  border-left: 2px solid var(--primary-color);
}

.offcanvasCategories .categories_list__item.active .categories_list__name {
  font-weight: 600;
  margin-left: 10px;
}

.offcanvasCategories .categories_list__image {
  width: 30px;
}

.offcanvasCategories .categories_list__link {
  font-family: "Helvetica";
  font-size: 14px;
  font-weight: 300;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

/*****
** Filter
*****/
.filter_count_mob {
  font-size: 18px;
  color: #3a3b3c;
  margin-top: 10px;
}

.filter_count_value {
  font-weight: 600;
}

/********************
*** Form styling
********************/
.form__block {
  margin-top: 12px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fafc, #f3f5f9);
  border: 1px solid #e6e8ee;
  display: grid;
  gap: 12px;
}

.form__block input,
.form__block textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdfe6;
  background: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form__block input:hover,
.form__block textarea:hover {
  border-color: #c5c9d3;
}

.form__block input:focus,
.form__block textarea:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px var(--primary-light) !important;
  outline: none;
}

.form__field {
  position: relative;
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 18px 14px 8px;

  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;

  font-size: 14px;

  transition: all 0.2s ease;
}

.form__field label {
  position: absolute;
  left: 14px;
  top: 14px;

  font-size: 14px;
  color: #6b7280;

  pointer-events: none;

  transition: all 0.2s ease;
  background: transparent;
}

.form__field input:hover,
.form__field textarea:hover {
  border-color: #cbd5e1;
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-light);
  outline: none;
}

.form__field input:focus+label,
.form__field input:not(:placeholder-shown)+label,
.form__field textarea:focus+label,
.form__field textarea:not(:placeholder-shown)+label {
  top: 6px;
  font-size: 11px;
  color: var(--primary-color);
}

.form__field input:focus+label,
.form__field textarea:focus+label {
  background: #fff;
  padding: 0 4px;
}

.field__hint {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;

  color: #6b7280;

  transition: all 0.2s ease;
}

.form__field input:focus~.field__hint,
.form__field textarea:focus~.field__hint {
  color: #111;
}

.form__field.error input {
  border-color: #ff4d4f;
  background: rgba(255, 77, 79, 0.05);
}

.form__field.error label {
  color: #ff4d4f;
}

.form__field .error__text {
  font-size: 12px;
  color: #ff4d4f;
  margin-top: 4px;
}

.field__hint {
  opacity: 0.8;
  transform: translateY(-2px);
}

.delivery_fields.is-open .field__hint {
  animation: hintFade 0.3s ease;
}

.form__field.filled label {
  top: 6px;
  font-size: 11px;
  color: var(--primary-color);
}

.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.is-loading::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
}

@keyframes hintFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 0.8;
    transform: translateY(0);
  }
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cfd5df;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox input[type="radio"]:checked {
  border-color: var(--primary-color);
}

.checkbox input[type="radio"]:checked::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
}

.checkbox label {
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1.4;
  text-align: left;
}

.checkbox_line {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.checkbox_line input {
  display: none;
}

.checkbox_ui {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 2px solid #d1d5db;
  background: #fff;
  position: relative;
  transition: all 0.25s ease;
}

.checkbox_line:hover .checkbox_ui {
  border-color: var(--primary-color);
}

.checkbox_line input:checked+.checkbox_ui {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox_ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: 0.2s ease;
}

.checkbox_line input:checked+.checkbox_ui::after {
  transform: rotate(45deg) scale(1);
}

.checkbox_text {
  font-size: 14px;
}

.custom_select {
  position: relative;
}

.select_trigger {
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}

.select_trigger:hover {
  border-color: #cbd5e1;
}

.select_trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;

  width: 6px;
  height: 6px;

  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;

  transform: translateY(-50%) rotate(45deg);
  transition: 0.25s ease;
}

.custom_select.open .select_trigger::after {
  transform: translateY(-50%) rotate(-135deg);
  border-color: var(--primary-color);
}

.custom_select.open .select_trigger {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.select_dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;

  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  display: none;
  z-index: 100;
}

.custom_select.open .select_dropdown {
  display: block;
}

.select_option {
  padding: 10px 14px;
  cursor: pointer;
}

.select_option:hover {
  background: var(--primary-light);
}

.custom_select.error .select_trigger {
  border: 1px solid red;
}

/********************
*** End Form styling
********************/


/*****
** Utilities
*****/
.position-relative {
  position: relative;
}