.category-page{background:#f8faf9;padding-bottom:26px}.breadcrumbs{display:flex;align-items:center;gap:8px;height:52px;font-size:12px;color:#7b8a90}.breadcrumbs a{color:#637982}.breadcrumbs strong{color:#31444b}.category-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;align-items:start}.filters{display:grid;gap:12px;position:sticky;top:10px}.filter-box{background:#fff;border:1px solid #e2e9e6;border-radius:10px;padding:15px 14px}.filter-box h3{font-size:15px;margin:0 0 12px}.filter-box>a{display:block;padding:8px 9px;border-radius:8px;font-size:13px;color:#40535a}.filter-box>a.active{background:linear-gradient(90deg,#e6f7e9,#d6f0dc);color:#15843a;font-weight:700;border-left:3px solid #2db95f}.filter-box>a span{float:right}.filter-box label{display:flex;align-items:center;gap:8px;font-size:12px;color:#4f5e63;padding:5px 0}.filter-box input[type=checkbox]{width:16px;height:16px;accent-color:#16a34a}.price-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.price-fields label{display:block;font-size:11px}.price-fields input{width:100%;margin-top:5px;border:1px solid #d8e0df;border-radius:7px;padding:9px 8px;font-size:12px}.range{height:24px;position:relative;margin:6px 4px}.range:before{content:"";position:absolute;left:0;right:0;top:11px;height:4px;background:#16a34a;border-radius:99px}.range:after,.range span:after{content:"";position:absolute;top:6px;width:14px;height:14px;background:#fff;border:4px solid #16a34a;border-radius:50%}.range:after{left:-2px}.range span:after{right:-2px}.apply-filter{width:100%;border:0;background:#14933e;color:#fff;border-radius:8px;padding:11px;font-weight:700}.category-content{min-width:0}.category-title-block{margin:2px 0 12px}.category-title-block h1{font-size:46px;line-height:1;margin:0 0 5px;color:#143f35}.category-title-block p{font-size:17px;color:#697781;margin:0}.subcategory-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:12px 0 16px}.subcategory-card{min-height:132px;border-radius:11px;padding:14px;display:flex;justify-content:space-between;overflow:hidden;position:relative}.subcategory-card h3{font-size:15px;margin:0 0 8px}.subcategory-card p{font-size:10px;line-height:1.35;margin:0}.subcategory-card a{display:grid;place-items:center;width:32px;height:32px;background:#fff;border-radius:50%;margin-top:12px;font-weight:800}.subcategory-card>span{font-size:55px;align-self:flex-end;transform:translate(8px,4px)}.sc-orange{background:linear-gradient(135deg,#ffd36e,#ffab65)}.sc-yellow{background:linear-gradient(135deg,#ffe399,#9adf76)}.sc-pink{background:linear-gradient(135deg,#ffd0e0,#f7a8c9)}.sc-purple{background:linear-gradient(135deg,#e7d5ff,#cba9f5)}.sc-coral{background:linear-gradient(135deg,#ffd0b6,#ff9f7f)}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;margin:6px 0 14px;color:#65767b;font-size:12px}.toolbar-right{display:flex;gap:8px;align-items:center}.toolbar-right label{background:#fff;border:1px solid #e2e7e5;border-radius:8px;padding-left:11px}.toolbar-right select{border:0;padding:9px 30px 9px 8px;background:transparent;color:#59676d}.view-btn{width:36px;height:36px;border:1px solid #dfe7e2;background:#fff;border-radius:8px}.view-btn.active{background:#e9f7ec;color:#168d3b}.product-section{margin:0 0 18px}.product-section__head{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}.product-section__head h2{font-size:26px;margin:0}.product-section__head a{font-size:12px;color:#15934b}.category-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.category-product-grid .product-card{min-height:310px;padding:11px}.category-product-grid .bottle{width:70px;height:105px;margin:18px auto 8px}.category-product-grid .product-card h3{font-size:12px}.category-product-grid .product-card p{font-size:10px}.category-product-grid .rating{font-size:10px;margin-bottom:3px}.stock{font-size:10px;color:#15914a;margin-bottom:5px}.category-product-grid .price strong{font-size:13px}.category-product-grid .cart-btn{padding:9px 0}.green-b{background:#2d834c}.yellow-b{background:#f1c83d}
@media(max-width:1200px){.category-layout{grid-template-columns:210px minmax(0,1fr)}.subcategory-grid{grid-template-columns:repeat(3,1fr)}.category-product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.category-layout{grid-template-columns:1fr}.filters{position:static;grid-template-columns:repeat(2,1fr)}.category-product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.category-header-info{display:none !important}}
@media(max-width:640px){.filters{grid-template-columns:1fr}.subcategory-grid{grid-template-columns:1fr 1fr}.category-title-block h1{font-size:36px}.category-product-grid{grid-template-columns:1fr}.catalog-toolbar{align-items:flex-start;gap:12px}.toolbar-right{flex-wrap:wrap;justify-content:flex-end}.product-section__head h2{font-size:23px}}

/* =========================================================
   Компактное боковое меню категорий (по образцу скриншота 2, без общего фона)
   ========================================================= */
.askor-category-sidebar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.askor-category-sidebar__nav {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.askor-cat-group {
  border-bottom: 1px solid #edf2f7;
}

.askor-cat-group:last-child {
  border-bottom: none;
}

/* Пункт родительской категории */
.askor-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 8px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.35;
}

.askor-cat-item:hover {
  color: #087b43;
  padding-left: 12px;
}

.askor-cat-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.15s ease;
}

.askor-cat-arrow svg {
  width: 12px;
  height: 12px;
}

.askor-cat-item:hover .askor-cat-arrow {
  color: #087b43;
}

/* Активная родительская категория (яркая плашка) */
.askor-cat-item.active {
  background-color: #087b43;
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 12px;
  border-radius: 4px;
}

.askor-cat-item.active .askor-cat-arrow {
  color: #ffffff;
  transform: rotate(90deg);
}

/* Список подкатегорий (без фона, компактно) */
.askor-cat-sublist {
  padding: 2px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Пункт подкатегории */
.askor-cat-subitem {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 8px 8px 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.35;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

.askor-cat-subitem:last-child {
  border-bottom: none;
}

.askor-cat-subicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.askor-cat-subicon svg {
  width: 13px;
  height: 13px;
}

.askor-cat-subname {
  flex: 1;
}

.askor-cat-subitem:hover {
  color: #087b43;
  padding-left: 15px;
}

.askor-cat-subitem:hover .askor-cat-subicon {
  color: #087b43;
  transform: translateX(1px);
}

/* Активная подкатегория */
.askor-cat-subitem.active {
  color: #087b43;
  font-weight: 700;
  padding-left: 14px;
}

.askor-cat-subitem.active .askor-cat-subicon {
  color: #087b43;
}

/* Fallback for standard OpenCart list-group */
#column-left .list-group {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
}
#column-left .list-group-item {
  border: none;
  border-bottom: 1px solid #edf2f7;
  border-radius: 0 !important;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 8px;
  transition: all 0.15s ease;
}
#column-left .list-group-item:hover {
  background: transparent;
  color: #087b43;
  padding-left: 12px;
}
#column-left .list-group-item.active {
  background-color: #087b43 !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 4px !important;
}

/* Category grid product-card overrides */
#product-list,
#component-product-list {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 18px;
}

#product-list > .col,
#component-product-list > .col {
  display: flex;
}

.category-product-grid .product-card,
#product-list .product-card {
  border: 1px solid #e6ecea;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px 12px 14px;
  min-height: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(12, 45, 38, 0.03);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.category-product-grid .product-card:hover,
#product-list .product-card:hover {
  transform: translateY(-2px);
  border-color: #c9ded7;
  box-shadow: 0 8px 22px rgba(12, 45, 38, 0.08);
}

.category-product-grid .product-card__img,
#product-list .product-card__img {
  height: 175px !important;
  width: 100% !important;
  margin: 0 0 10px 0 !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.category-product-grid .product-card__img img,
#product-list .product-card__img img {
  max-height: 165px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.category-product-grid .product-card__title,
#product-list .product-card__title {
  font-size: 13.5px !important;
  line-height: 1.32 !important;
  font-weight: 600 !important;
  margin: 0 0 6px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: auto !important;
}

.category-product-grid .price,
#product-list .price {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.category-product-grid .price strong,
#product-list .price strong {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0b3d32 !important;
}

.category-product-grid .cart-btn,
#product-list .cart-btn {
  background: linear-gradient(135deg, #1b8a52 0%, #107241 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9px !important;
  padding: 9px 12px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(16, 114, 65, 0.22) !important;
  margin-top: 0 !important;
}

.category-product-grid .cart-btn:hover,
#product-list .cart-btn:hover {
  background: linear-gradient(135deg, #20995c 0%, #0d6337 100%) !important;
  box-shadow: 0 5px 14px rgba(16, 114, 65, 0.32) !important;
  transform: translateY(-1px);
}

/* =========================================================
   Стили блока комплексов и мультивитаминов (.category-component-section)
   ========================================================= */
.category-component-section {
  background: linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
  border: 1px solid #e2ebe6;
  border-radius: 16px;
  padding: 24px 20px;
  margin-top: 36px;
  box-shadow: 0 4px 20px rgba(11, 69, 62, 0.03);
}

.category-component-section .component-section-header {
  border-bottom: 1px solid #e9f0ec;
  padding-bottom: 14px;
}

#component-product-list .product-card {
  min-height: auto !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid #e7ecea !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

#component-product-list .product-card:hover {
  border-color: #087b43 !important;
  box-shadow: 0 8px 24px rgba(8, 123, 67, 0.12) !important;
  transform: translateY(-3px) !important;
}

#component-product-list .product-card__img {
  height: 175px !important;
  width: 100% !important;
  margin: 0 0 10px 0 !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#component-product-list .product-card__img img {
  max-height: 165px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

#component-product-list .product-card__title {
  font-size: 13.5px !important;
  line-height: 1.32 !important;
  font-weight: 600 !important;
  margin: 0 0 6px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: auto !important;
}

#component-product-list .price {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

#component-product-list .price strong {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0b3d32 !important;
}

#component-product-list .cart-btn {
  background: linear-gradient(135deg, #1b8a52 0%, #107241 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9px !important;
  padding: 9px 12px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(16, 114, 65, 0.22) !important;
  margin-top: 0 !important;
}

#component-product-list .cart-btn:hover {
  background: linear-gradient(135deg, #20995c 0%, #0d6337 100%) !important;
  box-shadow: 0 5px 14px rgba(16, 114, 65, 0.32) !important;
  transform: translateY(-1px);
}


