
    

/* =========================================================
   ШИРИНА ПОИСКА
   ========================================================= */


body{

  margin:0;

  font-family:Arial,sans-serif;

  background:#e9f0d2;

  min-height:100vh;

  display:flex;

  flex-direction:column;

}
  
/* =========================================================
   TOP PANEL
========================================================= */
.topbar{

  width:100%;

  display:flex;

  align-items:center;

  gap:8px;

  margin-bottom:0;

  position:relative;

}


.catalog-btn{

  height:46px;

  padding:0 14px;

  border:none;

  border-radius:10px;

  background:#7b9c52;

  color:white;

  cursor:pointer;

  font-weight:bold;

  font-size:14px;

}

/* CATALOG */

#catalogMenu{

  position:absolute;

  top:56px;

  left:0;

  width:min(1000px,calc(100vw - 24px));

  background:white;

  border-radius:12px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.12);

  padding:20px;

  box-sizing:border-box;

  display:none;

  z-index:1000;

}

.search-wrapper{

  flex:1;

  display:flex;

  align-items:center;

  height:46px;

  overflow:hidden;

  border-radius:10px;

  background:white;

  border:1px solid rgba(126,155,84,.35);

  box-sizing:border-box;
}

/* ВСЕ КАТЕГОРИИ */


#categoryFilterButton{

  min-width:140px;

  height:36px;

  margin-left:6px;

  padding:0 10px;

  box-sizing:border-box;

  border-radius:8px;

  background:#eef2e5;

  display:flex;

  align-items:center;

  justify-content:space-between;

  cursor:pointer;

  color:#555;

  font-size:14px;

  font-weight:500;

  flex-shrink:0;
}

.category-arrow{

  font-size:14px;

  color:#666;

  margin-left:8px;
}
#categoryDropdown{

  position:absolute;

  top:56px;

  left:0;

  width:320px;

  max-height:500px;

  overflow-y:auto;

  background:white;

  border-radius:22px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.12);

  padding:14px 0;

  display:none;

  z-index:5000;
}

.category-item{

  display:flex;

  align-items:center;

  gap:12px;

  padding:14px 22px;

  cursor:pointer;

  transition:0.2s;
}

.category-item:hover{

  background:#f5f7ef;
}

/* ПОИСК */
.search-box-modern{

  position:relative;

  flex:1;

  height:46px;

}

/* ПОИСК */
#search{

  width:100%;

  height:46px;

  padding:0 36px 0 10px;

  box-sizing:border-box;

  border:none;

  outline:none;

  background:white;

  color:#111;

  font-size:15px;

  border-radius:0 8px 8px 0;

  appearance:none;

  -webkit-appearance:none;

}

#search:focus{

  outline:none;

  background:white;

}

#search:-webkit-autofill:hover,
#search:-webkit-autofill:focus{

  -webkit-text-fill-color:#111;

  transition:
    background-color 9999s ease-out 0s;
}

/* ЦЕНА */
#priceFilter{

  box-shadow:
    inset 0 0 0 1px rgba(126,155,84,.35);

  width:96px;

  height:46px;

  border:none;

  outline:none;

  border-radius:8px;

  padding:0 10px;

  font-size:14px;

}

#priceFilter:focus{

  border:none;

  outline:none;

  box-shadow:
    inset 0 0 0 1px rgba(126,155,84,.5);

}
#priceFilter:-webkit-autofill:hover,
#priceFilter:-webkit-autofill:focus{

  -webkit-text-fill-color:#111;

  transition:
    background-color 9999s ease-out 0s;
}

.header-icon-btn{

  width:46px;

  height:46px;

  border:none;

  border-radius:10px;

  background:white;

  cursor:pointer;

  position:relative;

  font-size:17px;

}

.toast{

  position:fixed;

  bottom:20px;

  right:20px;

  background:#222;

  color:white;

  padding:14px 18px;

  border-radius:12px;

  z-index:99999;

  opacity:0;

  transition:0.3s;
}

.toast.show{

  opacity:1;
}

.cart-btn-modern{

  position:relative;

}


#cartCount{

  position:absolute;

  top:-6px;

  right:-6px;

  min-width:18px;

  height:18px;

  border-radius:999px;

  background:#ff3d00;

  color:white;

  font-size:11px;

  display:flex;

  align-items:center;

  justify-content:center;

  padding:0 4px;

}

#favoritesCount{

  position:absolute;

  top:-6px;

  right:-6px;

  min-width:18px;

  height:18px;

  border-radius:999px;

  background:#ff3d00;

  color:white;

  font-size:11px;

  display:flex;

  align-items:center;

  justify-content:center;

  padding:0 4px;
}

/* =========================================================
    ГЛАВНЫЙ КОНТЕЙНЕР СТРАНИЦЫ
========================================================= */  
.page-container{
  width:1200px;

  margin:0 auto;

  padding:20px;

  box-sizing:border-box;
}

/* =========================================================
   ШАПКА
========================================================= */
    .header{
     padding-bottom:25px;
     }
    
/* =========================================================
   ЛОГОТИП
========================================================= */
.logo{

  display:flex;

  align-items:center;

  gap:15px;

  margin-bottom:25px;

}


    .search-box input{

     width:100%;

     box-sizing:border-box;

     padding:0 35px 0 10px;

     outline:none;

    }

    .clear-btn{

     position:absolute;

     right:10px;

     top:50%;

     transform:translateY(-50%);

     cursor:pointer;

     }

    /* КНОПКИ */
     .btn {

      height:46px;

      padding:0 14px;

     box-sizing:border-box;

     border-radius: 10px;

     background:#e7eadf;

     color:#111;

     border:1px solid #b7c0aa;

     cursor:pointer;

     box-shadow:
      0 2px 6px rgba(77,105,67,0.18);
     }

    /* КАТАЛОГ */
    
  
      /* =========================================================
       ВНУТРЕННИЙ LAYOUT КАТАЛОГА
      ========================================================= */

     .catalog-layout{

      display:flex;

      align-items:flex-start;
    }

/* =========================================================
   ЛЕВАЯ КОЛОНКА
========================================================= */
.menu-column{

  width:240px;

  flex-shrink:0;

  background:#dfe8c7;

  border-radius:12px;

  padding:18px;

  box-sizing:border-box;

  display:flex;

  flex-direction:column;

  gap:14px;

}
/* =========================================================
   ПОДКАТЕГОРИИ
========================================================= */
.submenu-area{

  flex:1;

  padding-left:20px;

  display:grid;

  grid-template-columns:
    repeat(3,minmax(220px,1fr));

  gap:20px;

}
/* =========================================================
   КАРТОЧКА ПОДКАТЕГОРИИ
========================================================= */

.submenu-card{

  background:#dfe8c7;

  border-radius:10px;

  padding:12px;

  min-height:120px;

  display:flex;

  flex-direction:column;

}
/* =========================================================
   ЗАГОЛОВОК ПОДКАТЕГОРИИ
========================================================= */
.submenu-title{
  display:block;

  font-size:20px;

  font-weight:bold;

  margin-bottom:10px;

  color:#111;

  text-decoration:none;
}
.submenu-title:hover{
  color:#1f3b24;
}
/* =========================================================
   ПОДПОДКАТЕГОРИЯ
========================================================= */

.submenu-item{

  display:block;

  background:white;

  border-radius:6px;

  padding:7px 10px;

  margin-bottom:6px;

  text-decoration:none;

  color:#222;

  transition:0.2s;

  font-size:14px;

}


.submenu-item:hover{

  background:#f4f4f4;

}

/* =========================================================
   СКРЫТЫЕ ПУНКТЫ
========================================================= */
.hidden-items{

  display:none;

}


.hidden-items.show{

  display:block;

  flex-direction:column;

}
/* =========================================================
   КНОПКА "ЕЩЁ"
========================================================= */
.show-more{
  margin-top:10px;

  color:#6d994b;

  cursor:pointer;

  font-size:14px;
}
      

    .submenu {
      margin-left: 15px;
      display: none;
    }

    /* КАРТОЧКИ */
    .product-card {
     width: 100%;
     background: white;
     border-radius: 12px;
     padding: 10px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     cursor: pointer;
    }
    /* КАРТОЧКА ТОВАРА */
.product-container {
  max-width: 1300px;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 104px 1fr 320px;
  gap: 40px;
  align-items: start;
}

.thumb-video {

  width: 70px;

  height: 70px;

  border-radius: 8px;

  overflow: hidden;

  cursor: pointer;

  border: 1px solid #ddd;

  position: relative;

  background: black;

  flex-shrink: 0;
}

.product-thumbs {

  height:min(800px, calc(100vh - 120px));

  max-height:800px;

  width: 104px;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;

  position: relative;

  justify-content: space-between;
}

.thumbs-scroll {

  display: flex;

  flex-direction: column;

  gap: 10px;

  overflow-y: auto;

  overflow-x: hidden;

  scrollbar-width: thin;

  scrollbar-color: #7b9c52 #eef2e5;

  width: 100%;

  align-items: center;

  flex: 1;

  min-height: 0;

  height:auto;

  padding:
    0 8px 18px 0;

  box-sizing: border-box;
}

.thumbs-scroll::-webkit-scrollbar {
  width: 8px;
}

.thumbs-scroll::-webkit-scrollbar-track {
  background: #eef2e5;
  border-radius: 999px;
}

.thumbs-scroll::-webkit-scrollbar-thumb {
  background: #7b9c52;
  border-radius: 999px;
}

.thumbs-scroll::-webkit-scrollbar-thumb:hover {
  background: #5f7f3d;
}

.thumb-arrow {

  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: linear-gradient(180deg,#ffffff 0%,#eef2e5 100%);

  border: 1px solid #cbd8b7;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  font-size: 18px;

  flex-shrink: 0;

  user-select: none;

  color:#4f6f35;

  box-shadow:
    0 4px 12px rgba(77,105,67,0.18);

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.thumb-arrow:hover {
  background:#7b9c52;
  color:white;
  transform: translateY(-1px);
  box-shadow:
    0 6px 16px rgba(77,105,67,0.26);
}

.thumb-arrow:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px rgba(77,105,67,0.18);
}

.video-count {

  margin-top: 0;

  margin-bottom: 8px;

  width: 70px;

  text-align: center;

  font-size: 13px;

  color: #6d994b;

  cursor: pointer;

  line-height: 1.2;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 4px;

  flex-shrink: 0;
}

.video-thumb-box {

  width:70px;

  height:70px;

  border-radius:8px;

  border:2px solid transparent;

  background:#f3f3f3;

  color:#6d994b;

  display:flex;

  align-items:center;

  justify-content:center;

  font-size:24px;

  font-weight:bold;

  line-height:1;

  box-sizing:border-box;

  transition:0.2s;
}

.video-count.active-thumb {

  border:none !important;

  box-shadow:none;

  transform:none;
}

.video-count.active-thumb .video-thumb-box {

  border:2px solid #6d994b;

  box-shadow:
    0 0 0 3px rgba(95,127,82,0.18);

  transform:scale(1.03);
}

.video-label {

  white-space:nowrap;
}

.product-thumbs img,
.product-thumbs video,
.product-thumbs iframe,
.product-thumbs .thumb-video,
.product-thumbs .thumb-no-photo {

  width: 70px;

  height: 70px;

  object-fit: cover;

  border-radius: 8px;

  cursor: pointer;

  flex-shrink: 0;

  border:2px solid transparent;

  transition:0.2s;
}

.product-thumbs .thumb-no-photo {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f3f3f3;
  color:#b4b4b4;
}

.thumb-no-photo .no-photo-placeholder {
  display:flex;
}

.thumb-no-photo .no-photo-camera{
  width:38px;
  height:28px;
  border-width:3px;
  border-radius:7px;
}

.thumb-no-photo .no-photo-camera::before{
  width:12px;
  height:12px;
  border-width:3px;
}

.thumb-no-photo .no-photo-camera::after{
  left:-7px;
  top:11px;
  width:52px;
  height:3px;
}

.active-thumb {

  border: 2px solid #6d994b !important;

  box-shadow:
    0 0 0 3px rgba(95,127,82,0.18);

  transform: scale(1.03);
}

 


.product-main,
.product-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.product-video {
  background: black;
}

.product-card-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.product-review-box{
  margin-top:32px;
  padding-top:26px;
  border-top:1px solid #eee;
}

.product-review-list{
  display:grid;
  gap:12px;
  margin-top:16px;
}

.product-review-card{
  padding:16px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:8px;
  background:#fbfdf8;
}

.product-review-card b{
  display:block;
  color:#1f3b24;
  margin-bottom:6px;
}

.product-review-card span{
  color:#ff5a3d;
  font-weight:800;
}

.product-review-card p{
  margin:8px 0 0;
  color:#333;
  line-height:1.45;
}

.product-review-form{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.product-review-form select,
.product-review-form textarea{
  width:100%;
  border:1px solid rgba(109,153,75,.26);
  border-radius:8px;
  padding:12px;
  box-sizing:border-box;
  font:inherit;
}

.product-review-form textarea{
  min-height:96px;
  resize:vertical;
}

.product-review-note{
  margin-top:14px;
  padding:14px;
  border-radius:8px;
  background:#f8fbf2;
  color:#6f7a73;
  font-size:14px;
}

.product-price {
  font-size: 28px;
  font-weight: bold;
  color: #ff3d00;
  margin: 15px 0;
}

.product-price-stack{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
  margin:15px 0;
}

.product-current-price{
  color:#ff3d00;
  font-size:30px;
  font-weight:900;
}

.product-old-price{
  color:#9aa39d;
  font-size:17px;
  font-weight:800;
  text-decoration:line-through;
}

.product-discount-pill{
  padding:4px 8px;
  border-radius:999px;
  background:#ff5a3d;
  color:#fff;
  font-size:12px;
  font-weight:900;
}

.overlay-actions{

  display:flex;

  align-items:center;

  gap:12px;

  margin-top:20px;
}

.overlay-favorite-btn{

  width:56px;

  height:56px;

  border:none;

  border-radius:14px;

  background:#f3f3f3;

  cursor:pointer;

  font-size:24px;

  color:#bbb;

  flex-shrink:0;

  transition:0.2s;
}

.overlay-favorite-btn.active{

  color:#ff3d00;
}

.overlay-favorite-btn:hover{

  background:#ffeaea;

  transform:scale(1.05);
}

.product-btn {
  width: 100%;
  padding: 14px;
  background: #6d994b;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  
}
.btn,
.cart-btn,
.product-btn {

  transition: 0.2s;
}

.btn:hover,
.cart-btn:hover,
.product-btn:hover {

  background: #dfe5d2;
}
.product-links {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.product-link {
  padding: 10px 15px;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.ozon {
  background: #005bff;
}

.avito {
  background: #000;
}
.image-wrapper {

  position: relative;

  width:100%;

  max-width:800px;

  aspect-ratio: 1 / 1;

  max-height: 800px;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  border-radius: 10px;

  background: #f3f3f3;
}

.image-wrapper.no-photo .no-photo-placeholder{
  display:flex;
  z-index:1;
}

.image-wrapper.no-photo .no-photo-camera{
  width:92px;
  height:64px;
}

.image-wrapper.no-photo .no-photo-camera::before{
  width:32px;
  height:32px;
}

.image-wrapper.no-photo .no-photo-camera::after{
  left:-18px;
  top:28px;
  width:126px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0,0,0,0.4);
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 6px;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

video {
  -webkit-user-select: none;
  user-select: none;
}
.breadcrumbs {
  margin-bottom: 15px;
  font-size: 14px;
  color: #777;

  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs span {
  cursor: pointer;
  transition: 0.2s;
}

.breadcrumbs span:hover {
  color: #1f3b24;
}

.shop-layout{
    width:100%;
}
/* =========================================================
   SHOP
========================================================= */
.products-wrapper{

    display:grid;

    grid-template-columns:230px minmax(0,1fr);

    align-items:flex-start;

    gap:24px;
}

.sidebar{
    width:100%;

    min-width:0;
}

.products-block{

    overflow:hidden;

    min-width:0;
}

#results{

  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:18px;

  width:100%;
}

#pageTitle{
  margin-top:0;
  margin-bottom:25px;
}

@media (max-width:900px){
  .products-wrapper{
    grid-template-columns:1fr;
  }

  .catalog-panel{
    position:static;
  }

  .catalog-toolbar{
    align-items:stretch;
    flex-direction:column;
  }

  .catalog-sort-select{
    width:100%;
  }

  #results{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:600px){
  #results{
    grid-template-columns:1fr;
  }
}
/* =========================================================
   КАРТОЧКА ТОВАРА
========================================================= */

.catalog-product-card{

  position:relative;

  display:flex;

  flex-direction:column;

  width:100%;

  min-width:0;

  height:100%;

  min-height:430px;

  background:#fff;

  border:1px solid rgba(109,153,75,.18);

  border-radius:8px;

  overflow:hidden;

  padding:10px;

  box-sizing:border-box;

  box-shadow:0 10px 25px rgba(31,59,36,.08);

  transition:.2s ease;
}

.catalog-product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 35px rgba(31,59,36,.14);
}

.catalog-product-card img{
  width:100%;
  height:100%;

  object-fit:contain;

  background:#f3f3f3;

  border-radius:8px;

  cursor:pointer;
}

/* =========================================================
   ОБЁРТКА КАРТИНКИ
========================================================= */

.product-image-wrap{

  position:relative;

  width:100%;

  height:178px;

  flex:0 0 178px;

  overflow:hidden;

  background:#f3f3f3;

  border-radius:6px;
}

.no-photo-placeholder{
  position:absolute;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:#f3f3f3;
  color:#b4b4b4;
}

.product-image-wrap.no-photo .no-photo-placeholder{
  display:flex;
}

/* =========================================================
   КОРЗИНА
========================================================= */

.cart-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding:44px 16px;
  overflow:auto;
  background:rgba(31,59,36,.38);
  z-index:9999;
  box-sizing:border-box;
}

.cart-modal{
  width:min(1100px,100%);
  color:#17211b;
}

.cart-modal h2{
  margin:0 0 24px;
  color:#6d994b;
  font-size:30px;
}

.cart-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:26px;
  align-items:start;
}

.cart-list,
.cart-summary{
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(109,153,75,.18);
  border-radius:8px;
  box-shadow:0 18px 45px rgba(31,59,36,.12);
}

.cart-empty{
  padding:34px;
  color:#6f7a73;
  text-align:center;
}

.cart-item{
  display:grid;
  grid-template-columns:92px minmax(0,1fr) 130px 34px;
  gap:16px;
  align-items:center;
  padding:18px;
  border-bottom:1px solid rgba(109,153,75,.18);
}

.cart-item:last-child{
  border-bottom:0;
}

.cart-item-media{
  position:relative;
  width:92px;
  height:92px;
  overflow:hidden;
  border-radius:8px;
  background:#fde2bf;
}

.cart-item-media img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.cart-item-media.no-photo .no-photo-placeholder{
  display:flex;
}

.cart-item-title{
  color:#162018;
  font-size:15px;
  font-weight:800;
  line-height:1.35;
}

.cart-price-line{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
}

.cart-price{
  color:#365cff;
  font-weight:900;
}

.cart-old-price{
  color:#87907e;
  font-size:12px;
  text-decoration:line-through;
}

.cart-qty{
  width:max-content;
  min-width:110px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
  border:1px solid rgba(109,153,75,.22);
  border-radius:8px;
  background:#fff;
}

.cart-qty button{
  width:34px;
  height:100%;
  border:0;
  background:transparent;
  color:#1f3b24;
  font-size:20px;
  cursor:pointer;
}

.cart-line-total{
  color:#07122c;
  font-size:18px;
  font-weight:900;
  text-align:right;
}

.cart-line-meta{
  margin-top:6px;
  color:#6f7a73;
  font-size:12px;
  text-align:right;
}

.cart-remove{
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#d62525;
  font-size:24px;
  cursor:pointer;
}

.cart-footer{
  padding:18px;
  text-align:center;
  border-top:1px solid rgba(109,153,75,.18);
}

.cart-link{
  border:0;
  background:transparent;
  color:#365cff;
  font-weight:800;
  cursor:pointer;
}

.cart-summary{
  padding:24px;
}

.cart-summary h3{
  margin:0 0 22px;
  color:#17211b;
  font-size:20px;
}

.cart-summary-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
  color:#6f7a73;
  font-size:14px;
}

.cart-summary-row.is-discount span:last-child{
  color:#1c9b45;
}

.cart-summary-total{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin:22px 0;
  padding-top:20px;
  border-top:1px solid rgba(109,153,75,.2);
  font-size:18px;
  font-weight:900;
}

.cart-summary-total span:last-child{
  color:#6d994b;
  font-size:24px;
}

.cart-promo-label{
  margin-bottom:10px;
  font-size:13px;
  font-weight:800;
}

.cart-promo{
  display:flex;
  gap:8px;
  margin-bottom:20px;
}

.cart-promo input{
  min-width:0;
  flex:1;
  height:38px;
  padding:0 12px;
  border:1px solid rgba(109,153,75,.22);
  border-radius:8px;
}

.cart-promo button,
.cart-checkout,
.cart-continue{
  min-height:42px;
  border:0;
  border-radius:8px;
  font-weight:900;
  cursor:pointer;
}

.cart-promo button{
  padding:0 14px;
  background:#fde2bf;
  color:#1f3b24;
}

.cart-checkout{
  width:100%;
  color:#fff;
  background:#6d994b;
}

.cart-continue{
  width:100%;
  margin-top:12px;
  color:#1f3b24;
  background:#fff;
  border:1px solid rgba(109,153,75,.22);
}

.cart-benefits{
  display:grid;
  gap:9px;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid rgba(109,153,75,.18);
  color:#6f7a73;
  font-size:13px;
}

.cart-benefits span::before{
  content:"✓";
  margin-right:8px;
  color:#6d994b;
  font-weight:900;
}

.checkout-overlay{
  position:fixed;
  inset:0;
  z-index:10050;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(18,30,20,.42);
  box-sizing:border-box;
}

.checkout-modal{
  width:min(1060px,100%);
  max-height:92vh;
  overflow:auto;
  background:#f7faf1;
  border-radius:24px;
  box-shadow:0 28px 80px rgba(31,59,36,.25);
}

.address-edit-modal{
  width:min(560px, calc(100vw - 32px));
  max-height:90vh;
  overflow:auto;
}

.address-edit-modal .checkout-card{
  display:grid;
  gap:16px;
}

.address-edit-modal .checkout-field input{
  width:100%;
}

.address-edit-modal .checkout-success-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

.checkout-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:22px 24px;
  background:rgba(247,250,241,.96);
  border-bottom:1px solid rgba(109,153,75,.16);
}

.checkout-head h2{
  margin:0;
  color:#1f3b24;
  font-size:28px;
}

.checkout-note{
  margin-top:6px;
  color:#6f7a73;
  font-size:13px;
}

.checkout-close{
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#1f3b24;
  font-size:24px;
  cursor:pointer;
}

.checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);
  gap:18px;
  padding:22px 24px 24px;
}

.checkout-card,
.checkout-summary-card{
  background:#fff;
  border:1px solid rgba(109,153,75,.18);
  border-radius:18px;
  box-shadow:0 14px 34px rgba(31,59,36,.08);
}

.checkout-card{
  padding:20px;
}

.checkout-card + .checkout-card{
  margin-top:16px;
}

.checkout-card h3,
.checkout-summary-card h3{
  margin:0 0 16px;
  color:#17211b;
  font-size:18px;
}

.checkout-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.checkout-field{
  display:grid;
  gap:7px;
}

.checkout-field.is-wide{
  grid-column:1 / -1;
}

.checkout-field label{
  color:#314436;
  font-size:13px;
  font-weight:800;
}

.checkout-field input,
.checkout-field select{
  width:100%;
  min-height:42px;
  padding:0 12px;
  border:1px solid rgba(109,153,75,.28);
  border-radius:10px;
  background:#fcfefa;
  box-sizing:border-box;
  font:inherit;
}

.checkout-field input:focus,
.checkout-field select:focus{
  outline:0;
  border-color:#6d994b;
  box-shadow:0 0 0 3px rgba(109,153,75,.12);
}

.checkout-choice-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.checkout-choice{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:14px;
  border:1px solid rgba(109,153,75,.2);
  border-radius:14px;
  background:#fbfdf8;
  cursor:pointer;
}

.checkout-choice input{
  margin-top:3px;
  accent-color:#6d994b;
}

.checkout-choice b{
  display:block;
  color:#17211b;
  font-size:14px;
}

.checkout-choice span{
  display:block;
  margin-top:3px;
  color:#6f7a73;
  font-size:12px;
  line-height:1.35;
}

.checkout-warning{
  padding:14px;
  border:1px dashed rgba(214,66,46,.3);
  border-radius:12px;
  background:#fff6ef;
  color:#7a3422;
  font-weight:800;
}

.checkout-summary-card{
  position:sticky;
  top:84px;
  align-self:start;
  padding:20px;
}

.checkout-items{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}

.checkout-item-row,
.checkout-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:#5f6d63;
  font-size:14px;
}

.checkout-item-row b{
  color:#17211b;
}

.checkout-row.is-total{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(109,153,75,.2);
  color:#17211b;
  font-size:18px;
  font-weight:900;
}

.checkout-pill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  margin:0 0 14px;
  padding:0 10px;
  border-radius:999px;
  background:#edf8e4;
  color:#5d883c;
  font-size:12px;
  font-weight:900;
}

.checkout-submit{
  width:100%;
  min-height:46px;
  margin-top:18px;
  border:0;
  border-radius:12px;
  background:#6d994b;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

.checkout-submit:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.checkout-success{
  padding:28px;
  text-align:center;
}

.checkout-success-mark{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  margin:0 auto 16px;
  border-radius:50%;
  background:#6d994b;
  color:#fff;
  font-size:32px;
  font-weight:900;
}

.checkout-success h2{
  margin:0 0 10px;
  color:#1f3b24;
}

.checkout-success-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.delivery-admin-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.delivery-admin-form .profile-switch,
.delivery-admin-form .profile-actions{
  grid-column:1 / -1;
}

.warehouse-address-card{
  display:grid;
  gap:12px;
}

.warehouse-address-inline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:end;
}

.warehouse-address-inline .profile-field{
  min-width:0;
}

.warehouse-address-inline input{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}

.warehouse-address-inline input[readonly]{
  cursor:pointer;
  background:#fff;
}

.warehouse-map-link{
  justify-self:start;
}

.warehouse-address-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(24, 35, 55, .58);
  box-sizing: border-box;
}

.warehouse-address-modal {
  position: relative;
  width: min(1060px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  display:flex;
  flex-direction:column;
  overflow: visible;
  padding: 36px 40px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(31, 59, 36, .26);
  box-sizing: border-box;
}

.warehouse-address-modal h2{
  margin:0 0 18px;
  color:#1f3b24;
}

.warehouse-address-close {
  position: absolute;
  top: -24px;
  right: -24px;
  z-index: 10;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #6d994b;
  font-size: 32px;
  font-weight:900;
  line-height:1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(31, 59, 36, .22);
}

.warehouse-address-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 20px;
  align-items: start;
  min-height:0;
  overflow:auto;
  padding-right:4px;
}

.warehouse-address-form {
  display: grid;
  gap: 14px;
}

.warehouse-address-search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:stretch;
}

.warehouse-address-search-row .profile-link-btn{
  min-height:48px;
}

.warehouse-address-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.warehouse-address-form input,
.warehouse-address-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(88, 105, 130, .22);
  border-radius: 12px;
  box-sizing: border-box;
  font: inherit;
}

.warehouse-address-form textarea {
  min-height: 96px;
  padding: 14px;
  resize: vertical;
}

.warehouse-map {
  width: 100%;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(88, 105, 130, .22);
  background: #eef2e5;
}

.warehouse-map-message{
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  box-sizing:border-box;
  color:#586982;
  text-align:center;
}

.warehouse-address-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

@media(max-width:900px){
  .cart-layout{
    grid-template-columns:1fr;
  }

  .cart-item{
    grid-template-columns:78px minmax(0,1fr) 34px;
  }

  .cart-line-total,
  .cart-line-meta{
    grid-column:2 / 3;
    text-align:left;
  }

  .checkout-layout,
  .checkout-grid,
  .checkout-choice-grid,
  .delivery-admin-form{
    grid-template-columns:1fr;
  }

  .warehouse-address-layout {
    grid-template-columns: 1fr;
  }

  .warehouse-map,
  .warehouse-map-message {
    min-height: 320px;
  }

  .checkout-summary-card{
    position:static;
  }
}

@media (max-width: 560px) {
  .warehouse-address-inline{
    grid-template-columns:1fr;
  }

  .warehouse-address-overlay {
    padding: 10px;
  }

  .warehouse-address-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 28px 16px 16px;
    border-radius: 14px;
  }

  .warehouse-address-close {
    top: -8px;
    right: -4px;
    width:42px;
    height:42px;
  }

  .warehouse-address-row {
    grid-template-columns: 1fr;
  }

  .warehouse-address-search-row{
    grid-template-columns:1fr;
  }

  .warehouse-address-actions {
    flex-direction: column;
  }

  .warehouse-address-actions button {
    width: 100%;
  }
}

.no-photo-camera{
  position:relative;
  width:66px;
  height:46px;
  border:4px solid currentColor;
  border-radius:10px;
  box-sizing:border-box;
}

.no-photo-camera::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:22px;
  height:22px;
  border:4px solid currentColor;
  border-radius:50%;
  transform:translate(-50%,-50%);
  box-sizing:border-box;
}

.no-photo-camera::after{
  content:"";
  position:absolute;
  left:-12px;
  top:19px;
  width:88px;
  height:5px;
  border-radius:999px;
  background:currentColor;
  transform:rotate(-34deg);
}

/* =========================================================
   КНОПКА ИЗБРАННОГО
========================================================= */

.catalog-favorite-btn{

  color:#bbb;

  position:absolute;

  top:10px;

  right:10px;

  width:38px;

  height:38px;

  border:none;

  border-radius:999px;

  background:rgba(255,255,255,.95);

  z-index:5;

  pointer-events:auto;

  will-change:transform;
}

.catalog-favorite-btn.active{

  color:#ff3d00;
}

.catalog-favorite-btn:hover{

  transform:scale(1.08);

  background:white;
}

.catalog-title{

  width:100%;

  margin-top:10px;

  margin-bottom:8px;

  color:#151f19;

  font-size:14px;

  font-weight:800;

  line-height:1.22;

  min-height:5.95em;

  max-height:5.95em;

  overflow:hidden;

  display:-webkit-box;

  -webkit-line-clamp:5;

  line-clamp:5;

  -webkit-box-orient:vertical;

  overflow-wrap:anywhere;

  word-break:break-word;
}

.catalog-rating{
  min-height:20px;
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:6px;
  color:#f1a02b;
  font-size:13px;
}

.catalog-rating-value{
  color:#6f7a73;
  font-size:12px;
}

.catalog-old-price{
  margin-left:6px;
  color:#8a9188;
  font-size:12px;
  font-weight:700;
  text-decoration:line-through;
}

.catalog-discount-inline{
  display:inline-flex;
  align-items:center;
  margin-left:6px;
  padding:2px 6px;
  border-radius:999px;
  background:#ffe7de;
  color:#df4d2f;
  font-size:11px;
  font-weight:900;
  vertical-align:middle;
}

.catalog-price{
  margin-top:auto;

  margin-bottom:7px;

  font-size:20px;

  font-weight:bold;

  color:#ff3d00;

  min-height:30px;
}

.catalog-product-card .cart-btn{
  background:#6d994b;

  color:white;

  border:none;

  border-radius:4px;

  padding:8px;

  cursor:pointer;

  width:100%;

  min-height:34px;

  display:flex;

  align-items:center;

  justify-content:center;

  text-align:center;

  white-space:nowrap;

  flex-shrink:0;
}

.catalog-product-card .cart-btn:hover{
  background:#5d883c;
}

.catalog-product-card .product-links{
  min-height:36px;
  margin-top:10px;
  align-items:center;
  flex-wrap:wrap;
}

.catalog-product-card .product-link{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}

.catalog-panel{
  position:sticky;
  top:86px;
  padding:14px;
  background:#fff;
  border:1px solid rgba(109,153,75,.22);
  border-radius:8px;
  box-shadow:0 12px 30px rgba(31,59,36,.08);
}

.catalog-panel-title{
  margin:0 0 14px;
  color:#5d883c;
  font-size:18px;
  font-weight:900;
}

.catalog-filter-group{
  padding:14px 0;
  border-top:1px solid rgba(109,153,75,.16);
}

.catalog-filter-group:first-of-type{
  border-top:0;
  padding-top:0;
}

.catalog-filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px;
  color:#1f3b24;
  font-size:13px;
  font-weight:900;
}

.catalog-filter-list{
  display:grid;
  gap:8px;
}

.catalog-filter-option{
  display:flex;
  align-items:center;
  gap:8px;
  color:#263322;
  font-size:13px;
  line-height:1.25;
  cursor:pointer;
}

.catalog-filter-option input{
  width:15px;
  height:15px;
  margin:0;
  accent-color:#6d994b;
}

.catalog-price-range{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.catalog-price-range input,
.catalog-sort-select{
  min-width:0;
  height:34px;
  padding:0 9px;
  border:1px solid rgba(109,153,75,.24);
  border-radius:4px;
  background:#fff;
  color:#17211b;
  box-sizing:border-box;
}

.catalog-filter-reset{
  width:100%;
  min-height:36px;
  border:1px solid rgba(109,153,75,.24);
  border-radius:4px;
  background:#f8fbf2;
  color:#5d883c;
  font-weight:800;
  cursor:pointer;
}

.catalog-filter-reset:hover{
  background:#edf5e4;
}

.catalog-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
  padding:12px 14px;
  background:#fff;
  border:1px solid rgba(109,153,75,.18);
  border-radius:8px;
  box-shadow:0 10px 24px rgba(31,59,36,.07);
}

.catalog-toolbar-count{
  color:#6f7a73;
  font-size:13px;
  font-weight:800;
}

.catalog-empty{
  grid-column:1 / -1;
  padding:34px;
  background:#fff;
  border:1px dashed rgba(109,153,75,.34);
  border-radius:8px;
  color:#6f7a73;
  text-align:center;
}

.catalog-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:24px;
}

.catalog-page-btn{
  min-width:32px;
  height:32px;
  border:1px solid rgba(109,153,75,.22);
  border-radius:6px;
  background:#fff;
  color:#5d883c;
  font-weight:900;
  cursor:pointer;
}

.catalog-page-btn.active{
  background:#6d994b;
  border-color:#6d994b;
  color:#fff;
}

.catalog-page-btn:disabled{
  opacity:.45;
  cursor:default;
}


.active-submenu{
  color:#6d994b !important;

  font-weight:bold;
}
/* =========================================================
   КНОПКА ПРОФИЛЯ
========================================================= */

.profile-btn{

  height:42px;

  padding:0 18px;

  border:none;

  border-radius:10px;

  background:#7fa354;

  color:#fff;

  cursor:pointer;

  font-size:15px;
}


/* =========================================================
   OVERLAY
========================================================= */

.auth-overlay{

  position:fixed;

  inset:0;

  background:rgba(0,0,0,.45);

  display:none;

  justify-content:center;

  align-items:center;

  z-index:3000;
}


/* =========================================================
   МОДАЛКА
========================================================= */

.auth-modal{

  position:relative;

  width:420px;

  background:#fff;

  border-radius:28px;

  padding:30px;

  box-shadow:
    0 20px 50px rgba(0,0,0,.2);

  text-align:center;
}


/* =========================================================
   ЗАКРЫТЬ
========================================================= */

.auth-close{

  position:absolute;

  top:16px;

  right:16px;

  width:34px;

  height:34px;

  border:none;

  border-radius:50%;

  background:#f1f1f1;

  cursor:pointer;

  font-size:18px;
}


/* =========================================================
   ИКОНКА
========================================================= */

.auth-image{

  font-size:90px;

  margin-bottom:20px;
}


/* =========================================================
   ЗАГОЛОВОК
========================================================= */

.auth-title{

  font-size:32px;

  line-height:1.2;

  margin-bottom:24px;
}


/* =========================================================
   КНОПКИ
========================================================= */

.auth-btn{

  width:100%;

  height:54px;

  border:none;

  border-radius:16px;

  margin-bottom:14px;

  font-size:17px;

  font-weight:600;

  cursor:pointer;
}


/* =========================================================
   СТИЛИ КНОПОК
========================================================= */

.sber{

  background:#39b54a;

  color:#fff;
}

.vk{

  background:#e9eefc;

  color:#2b63d9;
}

.tinkoff{

  background:#f4f4f4;

  color:#222;
}

.phone{

  background:#f4f4f4;

  color:#2b63d9;
}


/* =========================================================
   ПОЛИТИКА
========================================================= */

.auth-policy{

  margin-top:16px;

  font-size:12px;

  color:#777;

  line-height:1.5;
}

/* =========================================================
   PHONE MODAL
========================================================= */

.phone-modal{

  position:relative;

  width:440px;

  background:#fff;

  border-radius:28px;

  padding:26px;

  box-sizing:border-box;
}


/* =========================================================
   НАЗАД
========================================================= */

.phone-back{

  position:absolute;

  left:16px;

  top:16px;

  border:none;

  background:none;

  font-size:28px;

  cursor:pointer;

  color:#3b6edc;
}


/* =========================================================
   TITLE
========================================================= */

.phone-title{

  margin-top:24px;

  margin-bottom:22px;

  font-size:28px;

  line-height:1.2;
}


/* =========================================================
   TEXT
========================================================= */

.phone-text{

  font-size:18px;

  line-height:1.5;

  color:#333;

  margin-bottom:28px;
}


.phone-text span{

  color:#3b6edc;
}


/* =========================================================
   BUTTON
========================================================= */

.phone-next-btn{

  width:100%;

  height:54px;

  border:none;

  border-radius:999px;

  background:#3b6edc;

  color:#fff;

  font-size:24px;

  font-weight:700;

  cursor:pointer;
}

/* =========================================================
   PHONE INPUT MODAL
========================================================= */

.phone-input-modal{

  position:relative;

  width:460px;

  background:#fff;

  border-radius:28px;

  padding:26px;

  box-sizing:border-box;
}


/* =========================================================
   TITLE
========================================================= */

.phone-input-title{

  margin-top:24px;

  margin-bottom:28px;

  font-size:26px;

  line-height:1.2;
}


/* =========================================================
   INPUT WRAP
========================================================= */

.phone-input-wrap{

  position:relative;

  border:2px solid #3b6edc;

  border-radius:14px;

  padding:12px 16px;

  margin-bottom:20px;

  background:#f7f9fc;

  overflow:hidden;
}


/* =========================================================
   LABEL
========================================================= */

.phone-label{

  display:block;

  font-size:14px;

  color:#777;

  margin-bottom:6px;
}


/* =========================================================
   ВХОД ПО НОМЕРУ ТЕЛЕФОНА
========================================================= */

.phone-input{

  width:100%;

  border:none;

  outline:none;

  background:transparent;

  font-size:28px;

  box-sizing:border-box;

  padding:0;

  margin:0;

  display:block;

  position:relative;

  z-index:2;
}


/* =========================================================
   ВВОД КОДА
========================================================= */

.code-input{

  width:100%;

  height:72px;

  border:2px solid #3b6edc;

  border-radius:18px;

  background:#f7f9fc;

  text-align:center;

  font-size:42px;

  font-weight:700;

  letter-spacing:12px;

  outline:none;

  box-sizing:border-box;

  transition:0.2s;
}

.code-input:focus{

  border-color:#1f57d6;

  box-shadow:
    0 0 0 4px rgba(59,110,220,0.15);
}

/* =========================================================
   СПРАВОЧНЫЙ ТЕКСТ КОДА
========================================================= */

.code-help-text{

  margin-top:12px;

  font-size:13px;

  line-height:1.4;

  color:#777;

  text-align:center;

}

/* =========================================================
   BUTTON
========================================================= */

.phone-submit-btn{

  transition:0.2s;

  width:100%;

  height:54px;

  border:none;

  border-radius:999px;

  background:#e5e5e5;

  color:#aaa;

  font-size:24px;

  font-weight:700;

  margin-bottom:24px;

  cursor:pointer;
}

/* =========================================================
   АКТИВНАЯ КНОПКА
========================================================= */

.phone-submit-btn.active{

  background:#3b6edc;

  color:#fff;

  cursor:pointer;
}

/* =========================================================
   ЛИЧНЫЙ КАБИНЕТ
========================================================= */

.profile-overlay{
  align-items:flex-start;
  overflow:auto;
  padding:52px 32px 32px;
  box-sizing:border-box;
  background:rgba(31,59,36,.58);
}

.profile-cabinet{
  position:relative;
  width:min(1180px,calc(100vw - 64px));
  height:calc(100vh - 84px);
  max-height:calc(100vh - 84px);
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:22px;
  align-items:stretch;
  overflow:visible;
  color:#1f2d22;
}

.profile-close{
  position:absolute;
  top:-20px;
  right:-20px;
  z-index:100;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#6d994b;
  font-size:26px;
  font-weight:900;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(31,59,36,.22);
}

.profile-sidebar,
.profile-main-card,
.profile-stat-card{
  background:#fff;
  border:1px solid rgba(109,153,75,.2);
  border-radius:12px;
  box-shadow:0 18px 45px rgba(31,59,36,.12);
}

.profile-sidebar{
  flex-shrink:0;
  min-height:0;
  max-height:100%;
  overflow:auto;
  align-self:start;
}

.profile-user-card{
  padding:24px 18px;
  color:#fff;
  background:linear-gradient(135deg,#6d994b,#d8795f);
}

.profile-avatar{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  border-radius:50%;
  background:#fff;
  color:#6d994b;
  font-size:22px;
  font-weight:900;
  overflow:hidden;
}

.profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.profile-name{
  font-size:18px;
  font-weight:900;
}

.profile-phone{
  margin-top:4px;
  font-size:13px;
  opacity:.92;
  word-break:break-word;
}

.profile-menu-btn{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 18px;
  border:0;
  border-top:1px solid rgba(109,153,75,.18);
  background:#fff;
  color:#526050;
  font-size:15px;
  text-align:left;
  cursor:pointer;
}

.profile-menu-btn:hover,
.profile-menu-btn.active{
  color:#5d883c;
  background:#f4f8ed;
}

.profile-menu-btn.is-danger{
  color:#d6422e;
}

.profile-main{
  display:flex;
  min-width:0;
  min-height:0;
  max-height:100%;
  overflow:auto;
  flex-direction:column;
  gap:18px;
}

.profile-main-card{
  min-width:0;
  min-height:0;
  padding:24px;
}

.profile-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}

.profile-section-head h2{
  margin:0;
  color:#1f3b24;
  font-size:24px;
}

.profile-section-note{
  color:#6f7a73;
  font-size:13px;
}

.profile-order-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  padding:15px 0;
  border-top:1px solid rgba(109,153,75,.18);
}

.profile-order-title{
  font-weight:800;
}

.profile-order-meta{
  margin-top:4px;
  color:#6f7a73;
  font-size:13px;
}

.profile-order-price{
  color:#ff4b22;
  font-size:18px;
  font-weight:900;
  text-align:right;
}

.profile-order-status{
  margin-top:5px;
  color:#5d883c;
  font-size:12px;
  text-align:right;
}

.profile-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.profile-stat-card{
  padding:18px;
}

.profile-stat-label{
  color:#6f7a73;
  font-size:13px;
}

.profile-stat-value{
  margin-top:8px;
  color:#6d994b;
  font-size:30px;
  font-weight:900;
}

.profile-favorite-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.profile-favorite-card{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(109,153,75,.2);
  border-radius:10px;
  background:#fff;
}

.profile-favorite-media{
  position:relative;
  height:145px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#edf3df;
}

.profile-favorite-media img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.profile-favorite-media.no-photo .no-photo-placeholder{
  display:flex;
}

.profile-favorite-info{
  padding:12px;
}

.profile-favorite-title{
  min-height:40px;
  font-size:13px;
  font-weight:800;
  line-height:1.3;
}

.profile-favorite-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:10px;
}

.profile-favorite-price{
  color:#ff4b22;
  font-weight:900;
}

.profile-mini-btn,
.profile-link-btn{
  border:0;
  border-radius:8px;
  background:#6d994b;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.profile-mini-btn{
  min-height:34px;
  padding:0 12px;
}

.profile-link-btn{
  min-height:38px;
  padding:0 16px;
}

.profile-empty{
  padding:24px;
  border:1px dashed rgba(109,153,75,.34);
  border-radius:10px;
  color:#6f7a73;
  background:#f8fbf2;
  text-align:center;
}

.profile-info-list{
  display:grid;
  gap:12px;
}

.profile-info-item{
  padding:16px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:10px;
  background:#fbfdf8;
}

.profile-info-item b{
  display:block;
  margin-bottom:5px;
  color:#1f3b24;
}

.profile-info-item span{
  display:block;
  color:#6f7a73;
  font-size:14px;
}

.profile-panel-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:14px;
  margin-bottom:18px;
}

.profile-panel-card{
  min-width:0;
  padding:16px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:10px;
  background:#fbfdf8;
}

.profile-panel-card b{
  display:block;
  color:#1f3b24;
  font-size:13px;
}

.profile-panel-card strong{
  display:block;
  margin-top:8px;
  color:#6d994b;
  font-size:26px;
}

.profile-management-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.profile-management-card{
  min-width:0;
  padding:18px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:10px;
  background:#fff;
}

.profile-management-card.is-wide{
  grid-column:1 / -1;
}

.profile-management-card h3{
  margin:0 0 12px;
  color:#1f3b24;
  font-size:18px;
}

.admin-workspace{
  display:grid;
  grid-template-columns:minmax(190px,240px) minmax(0,1fr);
  gap:20px;
  align-items:start;
}

.admin-nav{
  min-width:0;
  position:sticky;
  top:82px;
  display:grid;
  gap:8px;
  padding:12px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:14px;
  background:#fbfdf8;
}

.admin-nav-btn{
  width:100%;
  min-height:40px;
  padding:0 12px;
  border:1px solid rgba(109,153,75,.16);
  border-radius:10px;
  background:#fff;
  color:#314436;
  font-weight:800;
  text-align:left;
  cursor:pointer;
}

.profile-link-btn,
.profile-secondary-btn,
.profile-mini-btn,
.admin-nav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  box-sizing:border-box;
  text-align:center;
  line-height:1.25;
  white-space:normal;
  overflow-wrap:anywhere;
}

.admin-nav-btn.active{
  background:#6d994b;
  color:#fff;
  box-shadow:0 10px 22px rgba(109,153,75,.2);
}

.admin-section{
  min-width:0;
  overflow-x:hidden;
}

.admin-section-stack{
  display:grid;
  gap:16px;
}

@media(max-width:1280px){
  .admin-workspace{
    grid-template-columns:1fr;
  }

  .admin-nav{
    position:static;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  }

  .admin-section{
    width:100%;
    min-width:0;
  }
}

.profile-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.profile-form-grid .profile-field.is-wide{
  grid-column:1 / -1;
}

.profile-upload-preview{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px dashed rgba(109,153,75,.34);
  border-radius:10px;
  background:#f8fbf2;
  color:#6f7a73;
  text-align:center;
}

.profile-upload-preview img{
  width:100%;
  max-width:100%;
  height:auto;
  max-height:170px;
  object-fit:contain;
}

.profile-table-wrap{
  max-width:100%;
  overflow-x:auto;
}

.profile-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  font-size:13px;
}

.profile-table th,
.profile-table td{
  padding:10px;
  border-bottom:1px solid rgba(109,153,75,.16);
  text-align:left;
  vertical-align:top;
}

.profile-table th{
  color:#1f3b24;
  background:#f8fbf2;
  font-weight:900;
}

.profile-excel-details summary{
  color:#5d883c;
  font-weight:900;
  cursor:pointer;
}

.profile-excel-details[open] summary{
  margin-bottom:8px;
}

.profile-excel-table{
  min-width:440px;
  font-size:12px;
}

.profile-excel-table th{
  width:170px;
}

.profile-status-pill{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  background:#edf5e4;
  color:#5d883c;
  font-size:12px;
  font-weight:900;
}

.profile-action-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.profile-muted{
  color:#6f7a73;
  font-size:13px;
  line-height:1.45;
}

.profile-settings-form{
  display:grid;
  gap:18px;
}

.profile-avatar-settings{
  display:flex;
  align-items:center;
  gap:18px;
  padding:16px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:12px;
  background:#fbfdf8;
}

.profile-avatar-preview{
  width:92px;
  height:92px;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
  background:linear-gradient(135deg,#6d994b,#d8795f);
  color:#fff;
  font-size:30px;
  font-weight:900;
}

.profile-avatar-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.profile-avatar-controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.profile-avatar-input{
  display:none;
}

.profile-avatar-upload-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.profile-field{
  display:grid;
  gap:8px;
}

.profile-field label{
  color:#1f3b24;
  font-weight:800;
}

.profile-field input,
.profile-field select,
.profile-field textarea{
  width:100%;
  min-height:46px;
  padding:0 14px;
  border:1px solid rgba(109,153,75,.26);
  border-radius:10px;
  background:#fbfdf8;
  color:#17211b;
  font-size:15px;
  box-sizing:border-box;
  font-family:inherit;
}

.profile-field textarea{
  min-height:96px;
  padding:12px 14px;
  resize:vertical;
}

.profile-field input:focus,
.profile-field select:focus,
.profile-field textarea:focus{
  outline:2px solid rgba(109,153,75,.22);
  border-color:#6d994b;
}

.profile-field-help{
  color:#6f7a73;
  font-size:12px;
  line-height:1.35;
}

.seller-manage-panel{
  display:grid;
  grid-template-columns:1.2fr .8fr 1fr;
  gap:12px;
  align-items:end;
}

.seller-manage-preview{
  grid-column:1 / -1;
  padding:12px 14px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:10px;
  background:#f8fbf2;
}

.seller-manage-panel .profile-actions{
  grid-column:1 / -1;
}

.seller-manage-panel .profile-field.is-wide{
  grid-column:1 / -1;
}

.profile-form-grid .profile-actions{
  grid-column:1 / -1;
}

.profile-settings-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.profile-switch{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:10px;
  background:#fbfdf8;
}

.profile-switch b{
  display:block;
  color:#1f3b24;
}

.profile-switch span{
  display:block;
  margin-top:4px;
  color:#6f7a73;
  font-size:13px;
}

.profile-switch input{
  width:46px;
  height:26px;
  flex:0 0 auto;
  accent-color:#6d994b;
}

.profile-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding-top:4px;
}

.profile-secondary-btn{
  min-height:38px;
  padding:0 16px;
  border:1px solid rgba(214,66,46,.24);
  border-radius:8px;
  background:#fff;
  color:#d6422e;
  font-weight:800;
  cursor:pointer;
}

.staff-login-switch{
  border:1px solid rgba(109,153,75,.24);
  background:#f8fbf2;
  color:#1f3b24;
}

.staff-auth-modal{
  position:relative;
  width:min(460px,calc(100vw - 32px));
  padding:30px;
  border-radius:28px;
  background:#fff;
  box-shadow:0 24px 70px rgba(31,59,36,.24);
}

.staff-auth-modal h2{
  margin:0 0 8px;
  color:#1f3b24;
  font-size:28px;
}

.staff-auth-note{
  margin:0 0 22px;
  color:#6f7a73;
  font-size:14px;
  line-height:1.45;
}

.staff-auth-form{
  display:grid;
  gap:14px;
}

.staff-auth-error{
  min-height:18px;
  color:#d6422e;
  font-size:13px;
  font-weight:800;
}

.profile-staff-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#edf5e4;
  color:#5d883c;
  font-size:13px;
  font-weight:900;
}

.profile-section-shell{
  display:grid;
  gap:16px;
  padding:18px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fbfdf8);
  box-shadow:0 12px 30px rgba(31,59,36,.07);
}

.profile-section-titleline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.profile-section-title-left{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.profile-section-number{
  width:34px;
  height:34px;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#6d994b;
  color:#fff;
  font-weight:900;
  box-shadow:0 8px 18px rgba(109,153,75,.22);
}

.profile-section-shell h3{
  margin:0;
  color:#1f3b24;
  font-size:20px;
}

.profile-section-shell .profile-section-note{
  margin-top:4px;
}

.seller-section-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.seller-numbered-list{
  grid-template-columns:1fr;
}

.seller-action-card{
  min-width:0;
  padding:16px;
  border:1px solid rgba(109,153,75,.16);
  border-radius:14px;
  background:#fff;
}

.seller-action-card b{
  display:block;
  color:#1f3b24;
  margin-bottom:6px;
}

.seller-media-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.role-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:12px;
}

.role-card{
  padding:14px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:14px;
  background:#fff;
  color:#1f3b24;
  text-align:left;
  cursor:pointer;
}

.role-card.active,
.role-card:hover{
  border-color:#6d994b;
  background:#f4f8ed;
}

.role-card b{
  display:block;
  margin-bottom:6px;
}

.role-card span{
  color:#6f7a73;
  font-size:13px;
}

.role-permission-panel{
  display:grid;
  gap:14px;
  padding:16px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:16px;
  background:#fff;
}

.permission-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
}

.permission-row{
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:12px;
  min-width:0;
  border:1px solid rgba(109,153,75,.14);
  border-radius:12px;
  background:#fbfdf8;
  color:#1f3b24;
  font-weight:700;
  line-height:1.18;
  overflow-wrap:anywhere;
  word-break:normal;
}

.permission-row input{
  width:18px;
  height:18px;
  margin:0;
  accent-color:#6d994b;
}

.permission-row span{
  min-width:0;
  overflow-wrap:anywhere;
  hyphens:auto;
}

.staff-status-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:16px;
  background:#f8fbf2;
}

.staff-status-card b{
  display:block;
  color:#1f3b24;
}

.staff-status-card span{
  color:#6f7a73;
  font-size:13px;
}

.staff-logout-btn{
  min-height:36px;
  padding:0 14px;
  border:1px solid rgba(214,66,46,.22);
  border-radius:10px;
  background:#fff;
  color:#d6422e;
  font-weight:900;
  cursor:pointer;
}

@media(max-width:900px){
  .profile-cabinet{
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr);
  }

  .admin-workspace{
    grid-template-columns:1fr;
  }

  .admin-nav{
    position:static;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .admin-section{
    width:100%;
  }

  .profile-favorite-grid,
  .profile-stats,
  .profile-panel-grid,
  .profile-management-grid,
  .profile-form-grid,
  .seller-manage-panel,
  .profile-settings-grid{
    grid-template-columns:1fr;
  }

  .profile-management-card.is-wide,
  .profile-form-grid .profile-field.is-wide{
    grid-column:auto;
  }

  .profile-avatar-settings{
    align-items:flex-start;
    flex-direction:column;
  }

  .profile-section-titleline,
  .staff-status-card{
    flex-direction:column;
    align-items:stretch;
  }

  .seller-section-grid,
  .seller-media-grid,
  .permission-list{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .profile-overlay{
    padding:44px 10px 10px;
  }

  .profile-cabinet{
    width:calc(100vw - 20px);
    height:calc(100vh - 54px);
    max-height:calc(100vh - 54px);
    overflow:visible;
    border-radius:0;
  }

  .profile-close{
    top:-38px;
    right:0;
    width:38px;
    height:38px;
    font-size:24px;
  }

  .profile-main-card{
    padding:18px;
  }

  .admin-nav{
    grid-template-columns:1fr;
  }

  .profile-section-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .profile-actions,
  .profile-action-row{
    flex-direction:column;
    align-items:stretch;
  }

  .profile-actions button,
  .profile-action-row button,
  .profile-link-btn,
  .profile-secondary-btn,
  .profile-mini-btn{
    width:100%;
  }

  input,
  select,
  textarea{
    max-width:100%;
  }
}

/* =========================================================
   CAPTCHA
========================================================= */

.captcha-box{

  width:290px;

  margin:0 auto;

  border:1px solid #ddd;

  background:#f9f9f9;

  border-radius:4px;

  padding:12px;

  display:flex;

  align-items:center;

  gap:14px;
}

.captcha-logo{

  font-size:42px;

  color:#3b6edc;
}

.captcha-title{

  font-size:13px;

  font-weight:bold;
}

.captcha-text{

  font-size:11px;

  color:#666;
}

/* =========================================================
   HOME PAGE, KIDSMARKET STYLE
========================================================= */

:root{
  --hp-bg:#eef7df;
  --hp-card:#fff;
  --hp-purple:#6d994b;
  --hp-orange:#edf3df;
  --hp-coral:#7fa354;
  --hp-text:#1f3b24;
  --hp-muted:#60705e;
}

body{
  background:
    radial-gradient(circle at top left,#eef7df 0,#f7f8fb 38%,#eef7df 100%);
  overflow-x:hidden;
}

.page-container{
  width:min(1180px,100%);
  padding:14px clamp(12px,2vw,24px);
  flex:1;
  display:flex;
  flex-direction:column;
}

#product{
  width:min(1300px,calc(100vw - 24px)) !important;
  margin:40px auto;
}

.shop-layout{
  flex:1;
}

.header{
  min-height:138px;
  padding:0 0 14px;
  display:flex;
  align-items:flex-start;
  background:#fff;
  border-radius:0 0 18px 18px;
}

.logo{
  width:100%;
  align-items:flex-start;
  gap:14px;

  margin-bottom:0;
}

.logo > div{
  order:2;
  padding-top:38px;
}

#siteTitle{
  font-size:42px !important;
  letter-spacing:4px !important;
  margin-bottom:0 !important;
  color:#1f3b24 !important;
  cursor:pointer;
  white-space:nowrap;
  transition:.2s ease;
}

#siteTitle:hover{
  color:#6d994b !important;
}

.topbar{
  margin:0;
  padding:8px 0;
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
  gap:10px;
}

/* =========================================================
   STICKY TOPBAR OUTER WRAPPER
   ========================================================= */
.topbar-outer{
  position:sticky;
  top:0;
  z-index:200;
  /* Стабильный full-width без 100vw — компенсируем padding контейнера */
  margin-left:calc(-1 * clamp(12px,2vw,24px));
  margin-right:calc(-1 * clamp(12px,2vw,24px));
  padding:3px clamp(12px,2vw,24px);
  /* Фон, backdrop blur и тень */
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  /* Почти незаметная в верхней точке */
  box-shadow:
    0 1px 0 rgba(0,0,0,.04);
  border-bottom:1px solid rgba(126,155,84,.18);
  /* Плавный transition при скролле */
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.topbar-outer.is-scrolled{
  background:rgba(255,255,255,0.99);
  /* Мягко появляется при scroll */
  box-shadow:
    0 1px 0 rgba(109,153,75,.12),
    0 3px 16px rgba(31,59,36,.09);
  border-color:rgba(126,155,84,.22);
}

@media(max-width:600px){
  .topbar-outer{
    padding:4px 10px;
    margin-left:-10px;
    margin-right:-10px;
  }
  .topbar{
    flex-wrap:wrap;
    gap:6px;
  }
  .topbar-brand{
    flex:0 0 auto;
    width:auto;
  }
  .search-wrapper{
    flex:1 1 calc(100% - 260px);
    min-width:120px;
  }
}

.topbar-brand{
  flex:0 0 120px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(126,155,84,.25);
  border-radius:10px;
}

.topbar-brand #siteTitle{
  font-size:31px !important;
  line-height:1 !important;
  transform:translateY(2px);
}

#categoryFilterButton{
  min-width:130px;
}

/* =========================================================
   COMPACT HEADER + COMPANY FOOTER
========================================================= */

.hp-company-footer{
  margin:20px 0 0;
  margin-top:auto;
  padding:22px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(109,153,75,.18);
  border-radius:24px;
  box-shadow:0 16px 38px rgba(31,59,36,.08);
  color:#1f3b24;
}

.hp-company-footer__inner{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);
  gap:22px;
  align-items:center;
}

.hp-company-footer__brand{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}

.hp-company-footer__logo{
  width:82px;
  height:82px;
  object-fit:contain;
  flex:0 0 auto;
  border-radius:18px;
  background:#edf3df;
  border:1px solid rgba(109,153,75,.14);
}

.hp-company-footer__title{
  font-size:28px;
  font-weight:900;
  color:#355024;
  margin-bottom:6px;
}

.hp-company-footer__text{
  color:#60705e;
  font-size:14px;
  line-height:1.5;
  max-width:620px;
}

.hp-company-footer__contacts{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
  padding:16px;
  border-radius:18px;
  background:linear-gradient(135deg,#f7fbf0,#ffffff);
  border:1px solid rgba(109,153,75,.12);
}

.hp-company-footer__label{
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#6d994b;
}

.hp-company-footer__contact-list{
  font-size:14px;
  line-height:1.6;
  color:#243525;
}

.hp-company-footer__contact-list a{
  color:#243525 !important;
  text-decoration:none !important;
}

.hp-company-footer__links{
  display:flex;
  gap:8px 14px;
  flex-wrap:wrap;
  margin-top:10px;
  font-size:13px;
  line-height:1.35;
}

.hp-company-footer__links button{
  border:0;
  padding:0;
  background:transparent;
  color:#456c2f;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  text-align:left;
}

.hp-company-footer__links button:hover{
  color:#6d994b;
  text-decoration:underline;
}

.hp-company-footer__max{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:10px 14px 10px 40px;
  border-radius:12px;
  background:
    #2f63ff
    url('https://maxicons.ru/icons/Max_logo.svg')
    13px center / 18px 18px
    no-repeat;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  box-shadow:0 10px 22px rgba(47,99,255,.18);
}

.auth-image{
  overflow:hidden;
}

.auth-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

@media(max-width:720px){
  .hp-company-footer{
    margin-top:24px;
    padding:16px;
    border-radius:20px;
  }

  .hp-company-footer__inner{
    grid-template-columns:1fr;
  }

  .hp-company-footer__brand{
    align-items:flex-start;
  }

  .hp-company-footer__logo{
    width:64px;
    height:64px;
  }
}

.store-info-page{
  grid-column:1 / -1;
  width:min(1060px,100%);
  margin:0 auto;
  display:grid;
  gap:18px;
}

.store-info-card{
  padding:24px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 38px rgba(31,59,36,.08);
}

.store-info-card h2{
  margin:0 0 10px;
  color:#1f3b24;
  font-size:28px;
}

.store-info-card h3{
  margin:18px 0 8px;
  color:#1f3b24;
  font-size:18px;
}

.store-info-text{
  color:#3f5142;
  font-size:15px;
  line-height:1.65;
  white-space:pre-wrap;
}

.store-info-list{
  display:grid;
  gap:10px;
  margin-top:14px;
}

.store-info-row{
  display:grid;
  grid-template-columns:minmax(160px,.35fr) minmax(0,1fr);
  gap:12px;
  padding:12px 14px;
  border:1px solid rgba(109,153,75,.14);
  border-radius:10px;
  background:#fbfdf8;
}

.store-info-row b{
  color:#1f3b24;
}

.legal-admin-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.legal-admin-grid .profile-field.is-wide{
  grid-column:1 / -1;
}

@media(max-width:720px){
  .store-info-card{
    padding:18px;
  }

  .store-info-row,
  .legal-admin-grid{
    grid-template-columns:1fr;
  }

  .legal-admin-grid .profile-field.is-wide{
    grid-column:auto;
  }
}

.hp-home{
  grid-column:1 / -1;
  display:flex;
  flex-direction:column;
  gap:26px;
  color:var(--hp-text);
}

.hp-hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:26px;
  padding:30px;
  background:linear-gradient(135deg,#ffffff,#edf3df);
  border-radius:10px;
}

.hp-hero-main,
.hp-hero-side,
.hp-section{
  background:transparent;
  border:0;
  box-shadow:none;
}

.hp-hero-main{
  min-height:0;
  padding:0;
  background:transparent;
}

.hp-kicker{
  margin-bottom:10px;
  padding:0;
  background:transparent;
  color:var(--hp-purple);
  font-size:13px;
  font-weight:800;
}

.hp-hero h1{
  max-width:620px;
  margin:0 0 12px;
  color:var(--hp-purple);
  font-size:clamp(30px,4vw,54px);
  line-height:1.02;
}

.hp-hero p{
  max-width:570px;
  margin:0;
  color:var(--hp-muted);
  font-size:17px;
  line-height:1.5;
}

.hp-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}

.hp-primary,
.hp-secondary{
  min-height:42px;
  border-radius:4px;
  padding:0 20px;
  font-weight:800;
  cursor:pointer;
}

.hp-primary{
  border:0;
  color:#fff;
  background:var(--hp-purple);
}

.hp-secondary{
  color:var(--hp-purple);
  background:#fff;
  border:1px solid rgba(109,153,75,.28);
}

.hp-hero-side{
  display:grid;
  padding:0;
}

.hp-hero-visual{
  position:relative;
  min-height:230px;
  overflow:hidden;
  border-radius:8px;
  background:linear-gradient(135deg,#fff,#f2f6ea);
  box-shadow:0 18px 38px rgba(31,59,36,.13);
}

.hp-hero-visual::before{
  content:"";
  position:absolute;
  inset:auto 10% -36px 10%;
  height:92px;
  border-radius:999px;
  background:#dfe8c7;
}

.hp-hero-photo{
  position:absolute;
  width:36%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border:8px solid #fff;
  border-radius:18px;
  box-shadow:0 14px 26px rgba(31,59,36,.16);
}

.hp-hero-photo:nth-child(1){
  left:9%;
  top:24%;
  transform:rotate(-7deg);
}

.hp-hero-photo:nth-child(2){
  left:33%;
  top:10%;
  z-index:2;
}

.hp-hero-photo:nth-child(3){
  right:9%;
  top:28%;
  transform:rotate(7deg);
}

.hp-sale{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:28px 34px;
  color:#fff;
  background:linear-gradient(135deg,#7fa354,#6d994b);
  border-radius:8px;
  overflow:hidden;
  position:relative;
}

.hp-sale h2{
  margin:0 0 6px;
  font-size:28px;
}

.hp-sale p{
  margin:0;
  opacity:.92;
}

.hp-sale button{
  min-height:40px;
  border:0;
  border-radius:4px;
  padding:0 18px;
  color:#6d994b;
  background:#fff;
  font-weight:800;
}

.hp-sale-content{
  position:relative;
  z-index:1;
  max-width:720px;
}

.hp-sale-badge{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  margin-bottom:10px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:13px;
  font-weight:900;
}

.hp-sale-period{
  display:block;
  margin-top:8px;
  color:rgba(255,255,255,.9);
  font-weight:700;
}

.hp-sale-image{
  width:min(260px,32%);
  height:140px;
  object-fit:cover;
  border-radius:8px;
  background:rgba(255,255,255,.25);
  box-shadow:0 12px 28px rgba(31,59,36,.18);
}

.hp-sale.is-neutral{
  color:#355024;
  background:
    radial-gradient(circle at 85% 30%,rgba(255,199,139,.45),transparent 30%),
    radial-gradient(circle at 70% 80%,rgba(126,163,84,.18),transparent 26%),
    linear-gradient(135deg,#fff,#fff7ed);
  border:1px solid rgba(109,153,75,.18);
  box-shadow:0 12px 30px rgba(31,59,36,.08);
}

.hp-sale.is-neutral .hp-sale-badge{
  color:#6d994b;
  background:#edf8e4;
}

.hp-sale.is-neutral .hp-sale-period,
.hp-sale.is-neutral p{
  color:#6f7a73;
}

.hp-admin-banners{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}

.hp-admin-banner{
  padding:20px 22px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:8px;
  background:linear-gradient(135deg,#fff,#fff7ed);
  box-shadow:0 12px 30px rgba(31,59,36,.08);
  color:#355024;
  font-weight:800;
}

.hp-admin-banner span{
  display:block;
  margin-top:6px;
  color:#d95b34;
  font-size:13px;
}

.hp-section{
  padding:0;
}

.hp-section-head{
  display:flex;
  justify-content:space-between;
  margin-bottom:14px;
}

.hp-section h2{
  margin:0;
  color:var(--hp-purple);
  font-size:22px;
}

.hp-category-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:18px;
}

.hp-category-card{
  min-height:168px;
  display:flex;
  flex-direction:column;
  padding:12px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(109,153,75,.18);
  border-radius:18px;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(31,59,36,.08);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hp-category-card:hover{
  transform:translateY(-5px) scale(1.015);
  border-color:rgba(109,153,75,.34);
  box-shadow:0 24px 48px rgba(31,59,36,.14);
}

.hp-category-image{
  position:relative;
  height:112px;
  flex:0 0 112px;
  margin-bottom:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:14px;
  background:linear-gradient(135deg,#fbfdf8,#edf5e4);
}

.hp-category-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hp-category-label{
  color:var(--hp-text);
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:800;
  line-height:1.25;
  text-align:center;
}

.category-banner-admin-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;
}

.category-banner-admin-card{
  min-width:0;
  padding:12px;
  border:1px solid rgba(109,153,75,.16);
  border-radius:16px;
  background:#fff;
}

.category-banner-admin-card img{
  width:100%;
  height:96px;
  display:block;
  object-fit:cover;
  border-radius:12px;
  background:#f8fbf2;
}

.category-banner-admin-card b{
  min-height:38px;
  display:block;
  margin:10px 0;
  color:#1f3b24;
  line-height:1.25;
}

.category-banner-upload{
  display:none;
}

.promotion-admin-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  align-items:end;
}

.promotion-admin-form .profile-field.is-wide,
.promotion-admin-form .profile-actions{
  grid-column:1 / -1;
}

.promotion-list{
  display:grid;
  gap:12px;
  margin-top:16px;
}

.promotion-card{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  padding:14px;
  border:1px solid rgba(109,153,75,.16);
  border-radius:16px;
  background:#fff;
}

.promotion-card.is-off{
  opacity:.62;
}

.promo-settings-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap:16px;
  margin-bottom:18px;
  align-items:start;
}

.promo-settings-card{
  min-width:0;
  padding:18px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:12px;
  background:#fff;
  box-shadow:0 10px 24px rgba(31,59,36,.06);
}

.promo-settings-card h4{
  margin:0 0 12px;
  color:#1f3b24;
  font-size:18px;
}

.promo-banner-preview{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:130px;
  margin:10px 0 12px;
  border:1px dashed rgba(109,153,75,.34);
  border-radius:10px;
  background:#f8fbf2;
  overflow:hidden;
}

.promo-banner-preview img{
  max-width:100%;
  width:100%;
  height:auto;
  max-height:160px;
  object-fit:contain;
}

.promo-settings-note{
  color:#6f7a73;
  font-size:13px;
  line-height:1.45;
}

.promotion-title-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:6px;
}

.promotion-title-row b{
  color:#1f3b24;
}

.promotion-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  background:#edf5e4;
  color:#5d883c;
  font-size:12px;
  font-weight:900;
}

.promotion-badge.is-hot{
  background:#fff0ec;
  color:#e94c2a;
}

.promotion-meta{
  color:#6f7a73;
  font-size:13px;
  line-height:1.45;
}

.promo-admin-grid,
.category-banner-grid,
.banner-admin-grid,
.banner-settings-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap:16px;
  align-items:start;
}

.banner-admin-card,
.category-banner-admin-card,
.promo-admin-panel,
.banner-settings-card,
.profile-management-card,
.promo-settings-card{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
  overflow-wrap:anywhere;
}

.profile-upload-preview,
.banner-preview,
.category-banner-preview,
.promo-banner-preview{
  width:100%;
  max-width:100%;
  min-height:120px;
  box-sizing:border-box;
  overflow:hidden;
}

.profile-upload-preview img,
.banner-preview img,
.category-banner-preview img,
.promo-banner-preview img{
  max-width:100%;
  height:auto;
  object-fit:contain;
}

.banner-admin-card input,
.banner-admin-card select,
.banner-admin-card textarea,
.category-banner-admin-card input,
.category-banner-admin-card select,
.category-banner-admin-card textarea,
.promo-admin-panel input,
.promo-admin-panel select,
.promo-admin-panel textarea,
.promo-settings-card input,
.promo-settings-card select,
.promo-settings-card textarea{
  max-width:100%;
  box-sizing:border-box;
}

.banner-admin-card input[type="file"],
.category-banner-admin-card input[type="file"],
.promo-admin-panel input[type="file"],
.promo-settings-card input[type="file"]{
  width:100%;
  max-width:100%;
  overflow:hidden;
}

.promo-file-input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.profile-field .promo-file-input,
.category-banner-admin-card .promo-file-input{
  width:1px !important;
  height:1px !important;
  min-height:1px !important;
  padding:0 !important;
  border:0 !important;
}

.promo-file-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  text-align:center;
  line-height:1.25;
  white-space:normal;
  cursor:pointer;
  width:100%;
}

@media(max-width:900px){
  .promo-admin-grid,
  .category-banner-grid,
  .banner-admin-grid,
  .banner-settings-grid,
  .promo-settings-grid,
  .promotion-admin-form{
    grid-template-columns:1fr;
  }

  .promotion-admin-form .profile-field.is-wide,
  .promotion-admin-form .profile-actions{
    grid-column:auto;
  }

  .promotion-card{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .banner-admin-card,
  .category-banner-admin-card,
  .promo-admin-panel,
  .banner-settings-card,
  .promo-settings-card{
    padding:14px;
  }

  .banner-admin-card button,
  .category-banner-admin-card button,
  .promo-admin-panel button,
  .banner-settings-card button,
  .promo-settings-card button{
    width:100%;
    white-space:normal;
  }
}

.hp-products-section,
.hp-reviews-section{
  padding:20px;
  background:var(--hp-orange);
  border-radius:8px;
}

.hp-products-section.is-new{
  padding:0;
  background:transparent;
}

.hp-product-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:16px;
}

.hp-product-card{
  position:relative;
  display:flex;
  min-width:0;
  min-height:330px;
  padding:10px;
  flex-direction:column;
  background:#fff;
  border:1px solid rgba(109,153,75,.18);
  border-radius:6px;
  box-shadow:0 8px 20px rgba(31,59,36,.08);
  cursor:pointer;
}

.hp-product-media{
  position:relative;
  height:160px;
  margin:-10px -10px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:var(--hp-orange);
  border-radius:6px 6px 0 0;
}

.hp-product-media img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.hp-product-media.no-photo .no-photo-placeholder{
  display:flex;
}

.hp-favorite-mini{
  position:absolute;
  left:8px;
  top:8px;
  z-index:2;
  width:26px;
  height:26px;
  border:1px solid rgba(109,153,75,.22);
  border-radius:999px;
  background:#fff;
  color:#6d994b;
}

.hp-product-title{
  min-height:4.8em;
  max-height:4.8em;
  margin:0 0 8px;
  overflow:hidden;
  color:#1f3b24;
  display:-webkit-box;
  -webkit-line-clamp:4;
  line-clamp:4;
  -webkit-box-orient:vertical;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
}

.hp-product-price{
  margin-top:auto;
  color:var(--hp-purple);
  font-size:20px;
  font-weight:900;
}

.hp-product-old-price{
  color:#87907e;
  font-size:12px;
  text-decoration:line-through;
}

.hp-card-btn{
  width:100%;
  min-height:36px;
  margin-top:10px;
  border:0;
  border-radius:4px;
  color:#fff;
  background:var(--hp-purple);
  font-weight:800;
}

.hp-benefits,
.hp-reviews{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.hp-reviews{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.hp-benefit,
.hp-review{
  min-height:120px;
  padding:20px;
  background:#fff;
  border:1px solid rgba(109,153,75,.24);
  border-radius:6px;
  text-align:center;
}

.hp-benefit-icon{
  display:block;
  margin-bottom:10px;
  color:var(--hp-purple);
  font-size:24px;
}

.hp-benefit b,
.hp-review b{
  display:block;
  color:var(--hp-text);
}

.hp-benefit span,
.hp-review p{
  color:var(--hp-muted);
  font-size:13px;
  line-height:1.45;
}

.hp-stars{
  color:#f0a23a;
  letter-spacing:2px;
}

.hp-bottom-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:26px 34px;
  color:#fff;
  background:linear-gradient(135deg,#6d994b,#7fa354);
  border-radius:8px;
}

.hp-bottom-cta h2{
  margin:0;
  color:#fff;
  font-size:28px;
}

@media(max-width:900px){
  .hp-hero{
    grid-template-columns:1fr;
  }

  .hp-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .hp-product-row,
  .hp-benefits,
  .hp-reviews{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .hp-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hp-product-row,
  .hp-benefits,
  .hp-reviews{
    grid-template-columns:1fr;
  }

  .hp-sale,
  .hp-bottom-cta{
    align-items:flex-start;
    flex-direction:column;
  }

  .hp-sale-image{
    width:100%;
    height:150px;
  }
}

.customer-order-list,
.admin-order-list,
.address-book-list,
.notification-list{
  display:grid;
  gap:14px;
  min-width:0;
}

.customer-order-section{
  display:grid;
  gap:12px;
  min-width:0;
}

.customer-order-section + .customer-order-section{
  margin-top:20px;
}

.customer-order-section h3{
  margin:0;
  color:#1f3b24;
  font-size:18px;
}

.customer-order-section .profile-empty{
  margin:0;
}

.customer-order-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.customer-order-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(109,153,75,.24);
  border-radius: 999px;
  background: #fff;
  color: #314436;
  font-weight: 800;
  cursor: pointer;
}

.customer-order-tab.active {
  background: #6d994b;
  border-color: #6d994b;
  color: #fff;
}

.customer-order-tab:hover {
  background: #edf5e4;
}

.customer-order-tab.active:hover {
  background: #5d883c;
}

@media (max-width: 560px) {
  .customer-order-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .customer-order-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

.customer-order-card,
.admin-order-card,
.address-book-card,
.notification-card,
.order-detail-card,
.order-public-comment{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
  background:#fff;
  border:1px solid rgba(31,59,36,.10);
  border-radius:22px;
  box-shadow:0 10px 28px rgba(31,59,36,.06);
  padding:16px;
}

.customer-order-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.customer-order-summary{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
  margin:14px 0;
}

.customer-order-summary div{
  background:#f7fbf0;
  border-radius:16px;
  padding:10px 12px;
}

.customer-order-summary span{
  display:block;
  margin-bottom:4px;
  color:#6f7a73;
  font-size:12px;
}

.customer-order-summary b{
  color:#1f3b24;
  font-size:14px;
  line-height:1.25;
}

.order-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 12px;
  border-radius:999px;
  background:#edf8e4;
  color:#5d883c;
  font-weight:800;
  font-size:13px;
  white-space:nowrap;
}

.order-status-badge.is-processing,
.order-status-badge.is-packed{
  background:#fff4d8;
  color:#9a691c;
}

.order-status-badge.is-shipped{
  background:#e7efff;
  color:#365cff;
}

.order-status-badge.is-delivered{
  background:#e6f6ec;
  color:#3e8d53;
}

.order-status-badge.is-canceled,
.order-status-badge.is-closed{
  background:#ffe8e4;
  color:#c8422f;
}

.completed-order-card{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:14px;
  align-items:start;
}

.completed-order-media{
  display:grid;
  gap:8px;
}

.completed-order-photo{
  width:92px;
  height:92px;
  padding:0;
  border:1px solid rgba(31,59,36,.10);
  border-radius:18px;
  background:#f3f5f0;
  overflow:hidden;
  cursor:pointer;
}

.completed-order-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.completed-order-photo.no-photo .no-photo-placeholder{
  display:flex;
}

.completed-order-review{
  width:100%;
  border:0;
  background:transparent;
  color:#6d994b;
  font-weight:800;
  cursor:pointer;
}

.completed-order-info{
  display:grid;
  gap:8px;
  min-width:0;
}

.customer-order-details,
.admin-order-details{
  display:grid;
  gap:14px;
  margin-top:14px;
}

.order-detail-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap:14px;
  align-items:start;
}

.compact-order-details {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  min-width:0;
  max-width:100%;
}

.order-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 14px;
  align-items: start;
  min-width:0;
  max-width:100%;
}

.order-detail-row {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:start;
  min-width:0;
}

.order-detail-left,
.order-detail-right {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.order-actions-row {
  justify-content: flex-start;
}

.order-actions-card{
  display:grid;
  gap:10px;
}

.order-actions-card .profile-mini-btn,
.order-actions-card .profile-secondary-btn{
  width:100%;
  justify-content:center;
  margin-top:0;
}

.order-status-details{
  padding:0;
  overflow:hidden;
}

.order-status-details summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  color:#1f3b24;
  font-weight:900;
  cursor:pointer;
  list-style:none;
}

.order-status-details summary::-webkit-details-marker{
  display:none;
}

.order-status-details summary::after{
  content:"⌄";
  color:#6d994b;
  font-size:18px;
}

.order-status-details[open] summary::after{
  transform:rotate(180deg);
}

.order-status-details .order-history-list{
  padding:0 16px 16px;
}

.order-detail-card{
  min-width:0;
  height:max-content;
}

.order-detail-card.is-wide{
  grid-column:1 / -1;
}

.order-detail-card .profile-mini-btn{
  width:auto;
  max-width:100%;
  white-space:normal;
  margin-top:8px;
}

.order-detail-card .profile-info-item .profile-mini-btn {
  display: inline-flex;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .order-detail-layout,
  .order-detail-row {
    grid-template-columns: 1fr;
  }
}

.customer-order-list + .profile-stats{
  margin-top:18px;
}

.order-detail-card h4{
  margin:0 0 12px;
  color:#1f3b24;
}

.order-items-list,
.order-history-list{
  display:grid;
  gap:10px;
}

.order-items-compact{
  display:grid;
  gap:10px;
}

.order-items-compact-footer{
  display:grid;
  gap:8px;
  color:#6f7a73;
  font-size:13px;
}

.order-item-row{
  display:grid;
  grid-template-columns:58px 1fr auto;
  align-items:center;
  gap:10px;
}

.order-item-media{
  position:relative;
  width:58px;
  height:58px;
  padding:0;
  border:0;
  overflow:hidden;
  border-radius:14px;
  background:#f3f5f0;
  cursor:pointer;
}

.order-item-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.order-item-media.no-photo .no-photo-placeholder{
  display:flex;
}

.order-item-info{
  display:grid;
  gap:3px;
}

.order-item-info span,
.order-history-item span{
  color:#6f7a73;
  font-size:13px;
}

.order-history-item{
  border-left:3px solid #7aa45b;
  padding-left:10px;
}

.order-public-comment{
  display:grid;
  gap:6px;
  background:#f7fbf0;
}

.order-items-modal-overlay{
  position:fixed;
  inset:0;
  z-index:2200;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-sizing:border-box;
  overflow:hidden;
  background:rgba(31,59,36,.45);
}

.order-items-modal{
  width:min(760px, calc(100vw - 24px));
  max-width:100%;
  max-height:min(78vh, 720px);
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:14px;
  padding:18px;
  box-sizing:border-box;
  border-radius:22px;
  background:#fff;
  box-shadow:0 24px 60px rgba(31,59,36,.24);
}

.order-items-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.order-items-modal-head .profile-close{
  position:static;
  flex:0 0 auto;
  width:38px;
  height:38px;
  font-size:24px;
}

.order-items-modal-head h3{
  margin:0;
  color:#1f3b24;
}

.order-items-modal-list{
  display:grid;
  gap:12px;
  min-height:0;
  overflow:auto;
  padding-right:4px;
}

.order-modal-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) 104px;
  gap:14px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(31,59,36,.10);
  border-radius:18px;
  background:#fbfdf8;
}

.order-modal-item-info{
  display:grid;
  gap:7px;
  min-width:0;
}

.order-modal-item-title{
  color:#1f3b24;
  font-weight:800;
  line-height:1.25;
}

.order-modal-item-total{
  color:#1f3b24;
  font-size:20px;
  font-weight:900;
}

.order-modal-item-meta{
  color:#6f7a73;
  font-size:13px;
}

.order-modal-item-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.order-modal-fav{
  width:38px;
  height:38px;
  border:1px solid rgba(109,153,75,.24);
  border-radius:999px;
  background:#fff;
  color:#6d994b;
  font-size:20px;
  font-weight:900;
  cursor:pointer;
}

.order-modal-fav.active{
  background:#6d994b;
  color:#fff;
}

.order-modal-item-photo{
  width:104px;
  height:104px;
  padding:0;
  border:1px solid rgba(31,59,36,.10);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  cursor:pointer;
}

.order-modal-item-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.order-modal-item-photo.no-photo .no-photo-placeholder{
  display:flex;
}

@media(max-width:560px){
  .completed-order-card{
    grid-template-columns:76px minmax(0,1fr);
  }

  .completed-order-photo{
    width:76px;
    height:76px;
  }

  .order-items-modal-overlay{
    padding:10px;
  }

  .order-items-modal{
    width:100%;
    max-height:calc(100vh - 56px);
    padding:14px;
  }

  .order-modal-item{
    grid-template-columns:minmax(0,1fr) 82px;
    gap:10px;
  }

  .order-modal-item-photo{
    width:82px;
    height:82px;
  }
}

.return-policy-box,
.return-request-note{
  margin-top:16px;
  padding:14px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:12px;
  background:#fbfdf8;
  color:#3f5142;
  font-size:14px;
  line-height:1.45;
}

.return-policy-box b{
  display:block;
  margin-bottom:6px;
  color:#1f3b24;
}

.return-request-overlay{
  position:fixed;
  inset:0;
  z-index:12020;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(24,35,55,.58);
  box-sizing:border-box;
}

.return-request-modal{
  position:relative;
  width:min(820px,calc(100vw - 48px));
  max-height:calc(100vh - 48px);
  overflow:auto;
  padding:30px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 28px 80px rgba(31,59,36,.26);
  box-sizing:border-box;
}

.return-request-modal h2{
  margin:0 0 8px;
  color:#1f3b24;
}

.return-wizard-steps{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:14px 0 18px;
}

.return-wizard-step{
  padding:7px 10px;
  border-radius:999px;
  background:#edf5e4;
  color:#5d883c;
  font-size:12px;
  font-weight:900;
}

.return-wizard-step.active{
  background:#6d994b;
  color:#fff;
}

.return-item-list,
.return-admin-list{
  display:grid;
  gap:10px;
}

.return-item-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:12px;
  background:#fbfdf8;
}

.return-item-card.is-disabled{
  opacity:.72;
}

.return-item-card input[type="number"]{
  width:74px;
  min-height:36px;
}

.return-admin-card{
  padding:14px;
  border:1px solid rgba(109,153,75,.18);
  border-radius:12px;
  background:#fff;
}

.return-admin-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

@media(max-width:560px){
  .return-request-overlay{
    padding:10px;
  }

  .return-request-modal{
    width:calc(100vw - 20px);
    max-height:calc(100vh - 20px);
    padding:24px 14px 14px;
  }

  .return-item-card{
    grid-template-columns:1fr;
  }
}

.address-book-form{
  margin-bottom:16px;
}

.address-book-card{
  display:grid;
  gap:8px;
}

.address-book-card p,
.notification-card p{
  margin:0;
  color:#1f3b24;
  line-height:1.45;
}

.notification-card.is-unread{
  border-color:rgba(109,153,75,.45);
  background:#fbfff6;
}

.notification-card > div:first-child{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.notification-card > div:first-child span{
  color:#6f7a73;
  font-size:12px;
}

.admin-order-form textarea{
  min-height:90px;
}

.admin-order-status-select{
  min-height:38px;
  border:1px solid rgba(109,153,75,.25);
  border-radius:12px;
  padding:0 12px;
  background:#fff;
}

@media(max-width:700px){
  .customer-order-head,
  .notification-card > div:first-child{
    flex-direction:column;
  }

  .order-item-row{
    grid-template-columns:52px 1fr;
  }

  .order-item-row strong{
    grid-column:2;
  }
}


