/*
 * EvoOnline UniShop2 category presentation layer — R69.
 * Scope: #product-category.eo-category-r69 only.
 * No product, category, filter, cart, wishlist or compare logic is changed here.
 */

#product-category.eo-category-r69 {
  --eo-r69-ink: #17191e;
  --eo-r69-muted: #727780;
  --eo-r69-red: #ef3129;
  --eo-r69-red-dark: #cf1f1a;
  --eo-r69-surface: #fff;
  --eo-r69-page: #f4f5f6;
  --eo-r69-border: #e2e4e7;
  --eo-r69-radius: 18px;
  --eo-r69-shadow: 0 10px 32px rgba(23, 25, 30, .06);
  max-width: 1540px;
  padding-top: 24px;
  padding-bottom: 64px;
  color: var(--eo-r69-ink);
}

.eo-category-r69,
.eo-category-r69 * {
  box-sizing: border-box;
}

.eo-category-r69 > .breadcrumb-h1 {
  margin: 0 0 24px;
  padding: 28px 32px 30px;
  border: 1px solid var(--eo-r69-border);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #fff 66%, #fff4f3 100%);
  box-shadow: var(--eo-r69-shadow);
}

.eo-category-r69 .breadcrumb {
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
}

.eo-category-r69 .breadcrumb > li,
.eo-category-r69 .breadcrumb > li > a {
  color: var(--eo-r69-muted);
  font-size: 13px;
  line-height: 1.4;
}

.eo-category-r69 .breadcrumb > li > a:hover {
  color: var(--eo-r69-red-dark);
}

.eo-category-r69 .breadcrumb-h1 h1 {
  max-width: 1050px;
  margin: 0;
  color: var(--eo-r69-ink);
  font-size: clamp(32px, 3vw, 50px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.eo-category-r69 > .row {
  display: flex;
  align-items: flex-start;
  margin-right: -10px;
  margin-left: -10px;
}

.eo-category-r69 > .row > #column-left,
.eo-category-r69 > .row > #content,
.eo-category-r69 > .row > #column-right {
  padding-right: 10px;
  padding-left: 10px;
}

.eo-category-r69 #content,
.eo-category-r69 #content > .uni-wrapper {
  min-width: 0;
}

.eo-category-r69 #content > .uni-wrapper {
  display: block;
}

/* Category description and subcategories */
.eo-category-r69 .category-page.category-info {
  display: block;
  max-height: none;
  margin: 0 0 20px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid var(--eo-r69-border);
  border-radius: var(--eo-r69-radius);
  background: var(--eo-r69-surface);
  box-shadow: 0 7px 24px rgba(23, 25, 30, .045);
  color: var(--eo-r69-muted);
  font-size: 15px;
  line-height: 1.65;
}

.eo-category-r69 .category-info__description > :first-child {
  margin-top: 0;
}

.eo-category-r69 .category-info__description > :last-child {
  margin-bottom: 0;
}

.eo-category-r69 .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.eo-category-r69 .category-list > [class*="col-"] {
  flex: 0 0 auto;
  width: auto;
  padding: 0;
}

.eo-category-r69 .category-list__item {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--eo-r69-border);
  border-radius: 999px;
  background: #fff;
  color: var(--eo-r69-ink);
  font-weight: 600;
  box-shadow: none;
}

.eo-category-r69 .category-list__item:hover {
  border-color: #f2b8b3;
  background: #fff5f4;
  color: var(--eo-r69-red-dark);
}

.eo-category-r69 .category-list__img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* FilterVier: visual layer only. */
@media (min-width: 768px) {
  .eo-category-r69 #column-left #fv_module {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .eo-category-r69 #column-left #fv_module .fv-container {
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: hidden;
    border: 1px solid var(--eo-r69-border);
    border-radius: var(--eo-r69-radius);
    background: #fff;
    box-shadow: var(--eo-r69-shadow);
  }
}

.eo-category-r69 #fv_module .fv-head {
  border: 0;
  background: #fff;
}

.eo-category-r69 #fv_module .fv-head_name_filter {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 17px 18px;
  border-bottom: 1px solid var(--eo-r69-border);
  color: var(--eo-r69-ink);
  font-size: 16px;
  font-weight: 700;
}

.eo-category-r69 #fv_module .fv-body {
  padding: 0 16px 14px;
}

.eo-category-r69 #fv_module .fv-items,
.eo-category-r69 #fv_module .fv-head_group {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #eceef0;
  background: #fff;
}

.eo-category-r69 #fv_module .fv-items_title,
.eo-category-r69 #fv_module .fv-items_head {
  background: transparent;
}

.eo-category-r69 #fv_module .fv-items_head {
  min-height: 46px;
  padding: 13px 2px;
}

.eo-category-r69 #fv_module .fv-items_name,
.eo-category-r69 #fv_module .fv-head_group {
  color: var(--eo-r69-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.eo-category-r69 #fv_module .fv-head_group {
  padding: 14px 2px 8px;
  color: var(--eo-r69-muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.eo-category-r69 #fv_module .fv-items_list {
  padding-bottom: 12px;
}

.eo-category-r69 #fv_module .fv-box_item {
  padding: 5px 2px;
}

.eo-category-r69 #fv_module .fv-item_label {
  color: #454950;
  line-height: 1.4;
}

.eo-category-r69 #fv_module .fv-checkbox {
  border-color: #cfd2d6;
  border-radius: 5px;
}

.eo-category-r69 #fv_module .form-control,
.eo-category-r69 #fv_module .fv-input_slider {
  height: 40px;
  border: 1px solid var(--eo-r69-border);
  border-radius: 10px;
  background: #f8f9fa;
  color: var(--eo-r69-ink);
}

.eo-category-r69 #fv_module .fv-btn_load,
.eo-category-r69 #fv_module .fv-ajax_btn_apply {
  border-radius: 10px;
  background: var(--eo-r69-red);
  color: #fff;
  font-weight: 700;
}

/* Toolbar */
.eo-category-r69 .sorts-block {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--eo-r69-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(23, 25, 30, .04);
}

.eo-category-r69 .sorts-block__wrapper {
  gap: 12px;
  min-width: 0;
}

.eo-category-r69 .eo-r69-toolbar__count {
  flex: 0 0 auto;
  max-width: 210px;
  overflow: hidden;
  color: var(--eo-r69-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eo-category-r69 .sorts-block__sorts {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.eo-category-r69 .sorts-block__span {
  margin: 0;
  padding: 9px 11px;
  border-radius: 9px;
  color: #555a62;
  font-size: 12px;
  font-weight: 600;
}

.eo-category-r69 .sorts-block__span:hover,
.eo-category-r69 .sorts-block__span.selected {
  background: #fff0ef;
  color: var(--eo-r69-red-dark);
}

.eo-category-r69 .sorts-block__select {
  height: 40px;
  min-width: 76px;
  margin: 0;
  border: 1px solid var(--eo-r69-border);
  border-radius: 10px;
  background-color: #f8f9fa;
  box-shadow: none;
}

.eo-category-r69 .sorts-block__btn-group {
  gap: 5px;
  margin: 0;
}

.eo-category-r69 .sorts-block__btn {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--eo-r69-border);
  border-radius: 10px !important;
  background: #fff;
  color: #555a62;
}

.eo-category-r69 .sorts-block__btn:hover,
.eo-category-r69 .sorts-block__btn.selected {
  border-color: #f2b8b3;
  background: #fff0ef;
  color: var(--eo-r69-red-dark);
}

/* Product layout: three grid cards beside the filter on desktop. */
.eo-category-r69 .products-block {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 -10px 24px;
  overflow: visible;
}

.eo-category-r69 .products-block > .product-layout {
  min-width: 0;
  margin-bottom: 20px;
  padding: 0 10px;
}

@media (min-width: 1200px) {
  .eo-category-r69 .products-block > .product-layout.grid-view {
    flex: 0 0 33.333333%;
    width: 33.333333%;
    max-width: 33.333333%;
  }
}

.eo-category-r69 .products-block > .product-layout.list-view,
.eo-category-r69 .products-block > .product-layout.compact-view {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.eo-category-r69 .product-thumb {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--eo-r69-border);
  border-radius: var(--eo-r69-radius);
  background: #fff;
  box-shadow: var(--eo-r69-shadow);
  transform: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.eo-category-r69 .product-thumb:hover {
  border-color: #d5d8dc;
  box-shadow: 0 16px 38px rgba(23, 25, 30, .09);
  transform: translateY(-2px);
}

/* R69 image contract. This intentionally overrides the unscoped R28 rules. */
.eo-category-r69 .product-thumb__image {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  aspect-ratio: auto;
  background: #fff;
}

.eo-category-r69 .product-thumb__image > a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.eo-category-r69 .product-thumb__image img,
.eo-category-r69 .product-thumb__image .img-responsive {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.eo-category-r69 .grid-view .product-thumb {
  flex-direction: column;
}

.eo-category-r69 .grid-view .product-thumb__image {
  width: 100%;
  height: 220px;
  min-height: 220px;
  border-bottom: 1px solid #eff0f2;
}

.eo-category-r69 .list-view .product-thumb {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
}

.eo-category-r69 .list-view .product-thumb__image {
  width: 220px;
  min-width: 220px;
  height: 220px;
  min-height: 220px;
  border-right: 1px solid #eff0f2;
}

.eo-category-r69 .compact-view .product-thumb__image {
  display: flex;
  width: 76px;
  min-width: 76px;
  height: 76px;
  min-height: 76px;
  padding: 8px;
  border-right: 1px solid #eff0f2;
}

.eo-category-r69 .product-thumb__caption {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 17px 18px 18px;
  overflow: visible;
}

.eo-category-r69 .product-thumb__name {
  display: -webkit-box;
  min-height: 3.9em;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  color: var(--eo-r69-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.eo-category-r69 .product-thumb__name::after {
  display: none;
}

.eo-category-r69 .product-thumb__name:hover {
  color: var(--eo-r69-red-dark);
}

.eo-category-r69 .product-thumb__model {
  margin: 10px 0 0;
  color: var(--eo-r69-muted);
  font-size: 12px;
  line-height: 1.4;
}

.eo-category-r69 .product-thumb__description {
  margin: 12px 0 0;
  color: var(--eo-r69-muted);
  font-size: 13px;
  line-height: 1.5;
}

.eo-category-r69 .product-thumb__price {
  margin-top: auto;
  padding-top: 16px;
  color: var(--eo-r69-ink);
  font-size: 21px;
  font-weight: 750;
  line-height: 1.2;
}

.eo-category-r69 .product-thumb__price .price-new {
  color: var(--eo-r69-red);
}

.eo-category-r69 .product-thumb__price .price-old {
  margin-left: 7px;
  color: #8b8f96;
  font-size: 13px;
}

.eo-category-r69 .product-thumb__cart {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 7px;
  margin: 14px 0 0;
}

.eo-category-r69 .product-thumb__add-to-cart {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  border-color: var(--eo-r69-red);
  border-radius: 10px;
  background: var(--eo-r69-red);
  color: #fff;
  font-weight: 700;
}

.eo-category-r69 .product-thumb__add-to-cart:hover,
.eo-category-r69 .product-thumb__add-to-cart:focus {
  border-color: var(--eo-r69-red-dark);
  background: var(--eo-r69-red-dark);
  color: #fff;
}

.eo-category-r69 .product-thumb__quick-order {
  position: static;
  display: inline-flex !important;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  opacity: 1;
  border: 1px solid #f0d3d0;
  border-radius: 10px;
  background: #fff;
  color: var(--eo-r69-red);
}

.eo-category-r69 .product-thumb__wishlist,
.eo-category-r69 .product-thumb__compare {
  position: absolute;
  z-index: 4;
  right: 10px;
  display: inline-flex;
  width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--eo-r69-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #555a62;
  box-shadow: 0 4px 14px rgba(23, 25, 30, .08);
}

.eo-category-r69 .product-thumb__wishlist {
  top: 10px !important;
}

.eo-category-r69 .product-thumb__compare,
.eo-category-r69 .product-thumb__wishlist + .product-thumb__compare {
  top: 54px !important;
}

.eo-category-r69 .product-thumb__wishlist:hover,
.eo-category-r69 .product-thumb__compare:hover,
.eo-category-r69 .product-thumb__quick-order:hover {
  border-color: #f2b8b3;
  background: #fff1f0;
  color: var(--eo-r69-red-dark);
}

.eo-category-r69 .product-thumb__quick-order span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.eo-category-r69 .list-view .product-thumb__caption {
  padding: 22px 64px 22px 24px;
}

.eo-category-r69 .list-view .product-thumb__name {
  min-height: auto;
  font-size: 17px;
  -webkit-line-clamp: 2;
}

.eo-category-r69 .list-view .product-thumb__cart {
  max-width: 420px;
}

.eo-category-r69 .compact-view .product-thumb {
  min-height: 96px;
  padding: 10px;
  border-radius: 14px;
}

.eo-category-r69 .compact-view .product-thumb__caption {
  padding: 8px 48px 8px 16px;
}

/* Pagination */
.eo-category-r69 .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 8px;
}

.eo-category-r69 .pagination > li {
  margin: 0;
}

.eo-category-r69 .pagination > li > a,
.eo-category-r69 .pagination > li > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid var(--eo-r69-border);
  border-radius: 11px;
  background: #fff;
  color: #4e535b;
  font-weight: 700;
}

.eo-category-r69 .pagination > li > a:hover {
  border-color: #f2b8b3;
  background: #fff1f0;
  color: var(--eo-r69-red-dark);
}

.eo-category-r69 .pagination > .active > span,
.eo-category-r69 .pagination > .active > span:hover {
  border-color: var(--eo-r69-red);
  background: var(--eo-r69-red);
  color: #fff;
}

.eo-category-r69 .pagination-text {
  margin: 0 0 30px;
  color: var(--eo-r69-muted);
  font-size: 13px;
  text-align: center;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
  .eo-category-r69 .products-block > .product-layout.grid-view {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }

  .eo-category-r69 .grid-view .product-thumb__image {
    height: 205px;
    min-height: 205px;
  }

  .eo-category-r69 .eo-r69-toolbar__count {
    display: none;
  }
}

/* Mobile contracts: 430 / 390 / 375 / 360. */
@media (max-width: 767px) {
  #product-category.eo-category-r69 {
    width: 100%;
    padding: 14px 14px 40px;
    overflow-x: clip;
  }

  .eo-category-r69 > .breadcrumb-h1 {
    margin-bottom: 16px;
    padding: 20px 18px 22px;
    border-radius: 18px;
  }

  .eo-category-r69 .breadcrumb {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .eo-category-r69 .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .eo-category-r69 .breadcrumb > li {
    flex: 0 0 auto;
  }

  .eo-category-r69 .breadcrumb-h1 h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .eo-category-r69 > .row {
    display: block;
    margin: 0;
  }

  .eo-category-r69 > .row > #content,
  .eo-category-r69 > .row > #column-left,
  .eo-category-r69 > .row > #column-right {
    width: 100%;
    padding: 0;
  }

  .eo-category-r69 .category-page.category-info {
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 16px;
    font-size: 14px;
  }

  .eo-category-r69 .sorts-block {
    padding: 10px;
  }

  .eo-category-r69 .sorts-block__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .eo-category-r69 .eo-r69-toolbar__count {
    display: none;
  }

  .eo-category-r69 #input-sort {
    display: block !important;
    width: 100%;
    min-width: 0;
  }

  .eo-category-r69 #input-limit {
    width: 74px;
    min-width: 74px;
  }

  .eo-category-r69 .sorts-block__btn-group {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .eo-category-r69 .products-block {
    margin-right: 0;
    margin-left: 0;
  }

  .eo-category-r69 .products-block > .product-layout,
  .eo-category-r69 .products-block > .product-layout.grid-view,
  .eo-category-r69 .products-block > .product-layout.list-view,
  .eo-category-r69 .products-block > .product-layout.compact-view {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .eo-category-r69 .grid-view .product-thumb__image {
    height: 210px;
    min-height: 210px;
    padding: 16px;
  }

  .eo-category-r69 .list-view .product-thumb {
    display: flex;
    flex-direction: column;
  }

  .eo-category-r69 .list-view .product-thumb__image {
    width: 100%;
    min-width: 0;
    height: 210px;
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid #eff0f2;
  }

  .eo-category-r69 .list-view .product-thumb__caption {
    padding: 17px 58px 18px 18px;
  }

  .eo-category-r69 .product-thumb__name,
  .eo-category-r69 .list-view .product-thumb__name {
    font-size: 15px;
  }

  .eo-category-r69 .product-thumb__cart,
  .eo-category-r69 .list-view .product-thumb__cart {
    width: 100%;
    max-width: none;
  }

  .eo-category-r69 #fv_module .fv-container {
    border-radius: 0 18px 18px 0;
    box-shadow: 12px 0 36px rgba(23, 25, 30, .16);
  }

  .eo-category-r69 #fv_module .fv-mobile_btn_mini {
    border-radius: 0 12px 12px 0;
    background: var(--eo-r69-red);
    color: #fff;
  }
}

@media (max-width: 390px) {
  #product-category.eo-category-r69 {
    padding-right: 10px;
    padding-left: 10px;
  }

  .eo-category-r69 .grid-view .product-thumb__image,
  .eo-category-r69 .list-view .product-thumb__image {
    height: 196px;
    min-height: 196px;
  }

  .eo-category-r69 .product-thumb__caption,
  .eo-category-r69 .list-view .product-thumb__caption {
    padding: 15px 54px 16px 15px;
  }

  .eo-category-r69 .pagination {
    gap: 6px;
  }

  .eo-category-r69 .pagination > li > a,
  .eo-category-r69 .pagination > li > span {
    width: 38px;
    height: 38px;
  }
}
