/* DemyPharma kategori listeleme deneyimi */
.category-sidebar { display: block; }
#product-category.category-modern { color: #263f59; }
.category-modern #content { padding-left: 20px; }
.category-modern .category-hero {
  align-items: center;
  background: linear-gradient(125deg,#fff7eb 0%,#fff 52%,#f3f8fc 100%);
  border: 1px solid #f0e2cf;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(33,57,82,.08);
  display: flex;
  justify-content: space-between;
  margin: 0 0 26px;
  min-height: 330px;
  overflow: hidden;
  padding: 30px 34px;
  position: relative;
}
.category-modern .category-hero:before {
  background: #f39200; border-radius: 50%; content: '';
  height: 190px; opacity: .07; position: absolute; right: -55px; top: -70px; width: 190px;
}
.category-modern .category-hero-content { max-width: 52%; position: relative; z-index: 2; }
.category-modern .category-hero-kicker {
  color: #e88300; display: block; font: 700 12px/1.3 "Inter",sans-serif;
  letter-spacing: .75px; margin-bottom: 8px; text-transform: uppercase;
}
.category-modern .category-hero-kicker i { margin-right: 5px; }
.category-modern .category-hero h1 {
  color: #243f5f; font: 750 34px/1.15 "Inter",sans-serif; margin: 0 0 11px;
}
.category-modern .category-hero-description {
  color: #637485; font: 400 15px/1.65 "Inter",sans-serif; margin-bottom: 18px;
}
.category-modern .category-hero-description p { margin: 0 0 7px; }
.category-modern .category-hero-button {
  align-items: center; background: #f39200; border-radius: 9px;
  box-shadow: 0 7px 17px rgba(243,146,0,.25); color: #fff;
  display: inline-flex; font: 700 13px/1 "Inter",sans-serif; gap: 8px;
  padding: 12px 17px; transition: background .22s ease, box-shadow .22s ease, transform .22s ease;
}
.category-modern .category-hero-button:hover,
.category-modern .category-hero-button:focus {
  background: #dd7d00; box-shadow: 0 10px 21px rgba(221,125,0,.32);
  color: #fff; text-decoration: none; transform: translateY(-2px);
}
.category-modern .category-hero-image {
  align-items: center; display: flex; height: 285px; justify-content: center;
  position: relative; width: 44%; z-index: 2;
}
.category-modern .category-hero-image:after {
  background: radial-gradient(circle,rgba(243,146,0,.18),rgba(243,146,0,0) 68%);
  content: ''; height: 250px; position: absolute; width: 250px; z-index: -1;
}
.category-modern .category-hero-image img {
  background: #fff; border: 8px solid #fff; border-radius: 22px;
  box-shadow: 0 18px 38px rgba(35,63,95,.2); height: 275px;
  max-width: 100%; object-fit: cover; transform: rotate(1.2deg); width: 275px;
  transition: transform .35s ease;
}
.category-modern .category-hero:hover .category-hero-image img { transform: rotate(0) scale(1.025); }
.category-modern .category-title-only h1 { color: #243f5f; font: 750 30px/1.2 "Inter",sans-serif; }

.category-modern .category-toolbar {
  align-items: center; background: #fff; border: 1px solid #e7ebef;
  border-radius: 12px; box-shadow: 0 5px 18px rgba(35,63,95,.06);
  display: flex; margin: 0 0 14px; padding: 12px 5px;
}
.category-modern .category-toolbar .form-group { margin: 0; }
.category-modern .category-toolbar .input-group-addon {
  background: #f4f7f9; border-color: #dfe5e9; color: #53687b;
  font: 650 12px/1 "Inter",sans-serif; padding: 0 12px;
}
.category-modern .category-toolbar select {
  border-color: #dfe5e9; box-shadow: none; color: #42566a; height: 38px;
}
.category-modern .category-products-row { display: flex; flex-wrap: wrap; }
.category-modern .category-product-item { display: flex; padding: 7px; }
.category-modern .category-product-item .product-layout { margin: 0; width: 100%; }
.category-modern .category-product-card {
  border: 1px solid #e8ecef; border-radius: 14px;
  box-shadow: 0 6px 20px rgba(35,63,95,.07); display: flex;
  flex-direction: column; height: 100%; overflow: hidden;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.category-modern .category-product-card:hover {
  border-color: rgba(243,146,0,.45); box-shadow: 0 17px 36px rgba(35,63,95,.15);
  transform: translateY(-7px);
}
.category-modern .category-product-card .image {
  aspect-ratio: 1/1; background: linear-gradient(145deg,#f9fafb,#fff);
  overflow: hidden; padding: 8px;
}
.category-modern .category-product-image { display: block; height: 100%; overflow: hidden; position: relative; }
.category-modern .category-product-card .image img {
  border-radius: 10px; height: 100%; object-fit: contain;
  transition: transform .5s cubic-bezier(.2,.75,.3,1); width: 100%;
}
.category-modern .category-product-card:hover .image img { transform: scale(1.055); }
.category-modern .category-product-overlay {
  align-items: center; background: rgba(29,48,67,.68); border-radius: 10px;
  bottom: 0; color: #fff; display: flex; font: 700 12px/1 "Inter",sans-serif;
  gap: 7px; justify-content: center; left: 0; opacity: 0; position: absolute;
  right: 0; top: 0; transform: translateY(7px);
  transition: opacity .28s ease, transform .28s ease;
}
.category-modern .category-product-card:hover .category-product-overlay,
.category-modern .category-product-image:focus .category-product-overlay { opacity: 1; transform: translateY(0); }
.category-modern .category-product-card .caption {
  background: #fff; bottom: auto; display: flex; flex: 1; flex-direction: column;
  height: 174px; margin: 0; padding: 14px 12px 58px; position: relative;
}
.category-modern .category-product-card h4 {
  display: -webkit-box; line-height: 1.42; margin: 0 0 9px; min-height: 40px;
  overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.category-modern .category-product-card h4 a { color: #2d4358; font-size: 13px; font-weight: 650; }
.category-modern .category-product-card:hover h4 a { color: #e88300; }
.category-modern .category-product-card .price {
  align-items: center; display: flex; flex-wrap: wrap; gap: 4px 6px;
  justify-content: center; margin: auto 0 0;
}
.category-modern .category-product-card .price-new,
.category-modern .category-product-card .price { color: #f08a00; font-size: 19px; font-weight: 750; }
.category-modern .category-product-card .price-old { color: #aab1b7; font-size: 13px; font-weight: 500; }
.category-modern .category-product-card .button-group {
  bottom: 12px; display: flex; left: 12px; opacity: 0; overflow: visible;
  position: absolute; right: 12px; transform: translateY(10px);
  transition: opacity .24s ease, transform .24s ease; width: auto;
}
.category-modern .category-product-card:hover .button-group,
.category-modern .category-product-card:focus-within .button-group {
  bottom: 12px; opacity: 1; transform: translateY(0);
}
.category-modern .category-product-card .button-group .input-group { display: none; }
.category-modern .category-product-card .button-group > button {
  background: linear-gradient(135deg,#214f7d,#173b63); border-radius: 8px;
  box-shadow: 0 5px 13px rgba(23,59,99,.26); color: #fff;
  font-size: 11px; height: 36px; margin: 0; width: 100%;
}
.category-modern .category-product-card .button-group > button:hover,
.category-modern .category-product-card .button-group > button:focus {
  background: linear-gradient(135deg,#173b63,#0f2d4d);
  box-shadow: 0 7px 17px rgba(15,45,77,.36);
  color: #fff;
}
.category-modern .category-product-card .home-discount-badge {
  border-radius: 7px; left: 13px; padding: 6px 4px; top: 13px; width: 48px;
}
.category-modern .category-product-card .home-discount-badge:after { display: none; }

/* Sol kategori menüsü */
.category-modern #column-left { scrollbar-color: #dce2e7 transparent; scrollbar-width: thin; }
.category-modern #column-left .yo-menu {
  background: #fff; border: 1px solid #e3e8ec; border-radius: 12px;
  box-shadow: 0 7px 22px rgba(35,63,95,.08); margin-bottom: 18px; overflow: hidden;
}
.category-modern #column-left .yo-heading {
  background: linear-gradient(135deg,#243f5f,#315b83) !important;
  border: 0; color: #fff; font: 700 14px/1.2 "Inter",sans-serif;
  letter-spacing: .25px; padding: 15px 16px;
}
.category-modern #column-left .yo-heading i { color: #f7a82d; font-size: 17px; margin-right: 9px; }
.category-modern #column-left .yo-fm > li { border-bottom: 1px solid #edf0f2; }
.category-modern #column-left .yo-fm > li:last-child { border-bottom: 0; }
.category-modern #column-left .yo-fm > li > a {
  background: #fff; color: #53687b; font: 550 13px/1.35 "Inter",sans-serif;
  padding: 12px 14px; position: relative; transition: background .2s ease,color .2s ease,padding-left .2s ease;
}
.category-modern #column-left .yo-fm > li > a:after {
  color: #aab4bd; content: '\f105'; font-family: FontAwesome; position: absolute; right: 13px;
}
.category-modern #column-left .yo-fm > li:hover > a {
  background: #fff8ef; color: #e88300; padding-left: 19px;
}
.category-modern #column-left .yo-fm > li.active > a {
  background: #fff3df; color: #d97900; font-weight: 750; padding-left: 19px;
}
.category-modern #column-left .yo-fm > li.active > a:before {
  background: #f39200; bottom: 7px; content: ''; left: 0; position: absolute; top: 7px; width: 4px;
}

/* Brainy Filter */
.category-modern #column-left .bf-panel-wrapper .box {
  border: 1px solid #e3e8ec; border-radius: 12px;
  box-shadow: 0 7px 22px rgba(35,63,95,.08); overflow: hidden;
}
.category-modern #column-left .bf-panel-wrapper .box-heading {
  background: linear-gradient(135deg,#243f5f,#315b83) !important;
  border: 0; color: #fff; font: 700 14px/1.2 "Inter",sans-serif;
  padding: 14px 16px; text-shadow: none;
}
.category-modern #column-left .bf-attr-header,
.category-modern #column-left .bf-attr-group-header {
  background: #f7f9fb !important; border-color: #e7ebef !important;
  color: #314b64 !important; font: 650 13px/1.35 "Inter",sans-serif;
  padding: 11px 13px;
}
.category-modern #column-left .bf-attr-block-cont { background: #fff; padding: 5px 10px 9px; }
.category-modern #column-left .bf-row { border-bottom: 1px solid #f0f2f4; padding: 7px 2px; }
.category-modern #column-left .bf-row:last-child { border-bottom: 0; }
.category-modern #column-left .bf-c-2 label {
  color: #5f7080; cursor: pointer; font: 500 12px/1.4 "Inter",sans-serif;
}
.category-modern #column-left .bf-count { background: #f39200 !important; border-radius: 5px; }
.category-modern #column-left input[type=text].bf-search,
.category-modern #column-left input[type=text].bf-range-min,
.category-modern #column-left input[type=text].bf-range-max {
  border: 1px solid #dce2e7; border-radius: 7px; height: 34px; padding: 6px 9px;
}
.category-modern #column-left .ui-widget-header { background: #f39200 !important; }
.category-modern #column-left .ui-slider-handle { border: 3px solid #fff !important; box-shadow: 0 2px 7px rgba(35,63,95,.24); }

@media (min-width: 992px) {
  .category-modern #column-left { max-height: calc(100vh - 82px); overflow-y: auto; position: sticky; top: 70px; }
}
@media (max-width: 991px) {
  body:not(.unused-selector) .category-sidebar { display: none; }
  #product-category.category-modern .category-sidebar { display: block; }
  .category-modern #content { padding-left: 15px; }
  .category-modern .category-hero { min-height: 285px; padding: 25px; }
  .category-modern .category-hero h1 { font-size: 29px; }
}
@media (max-width: 767px) {
  #product-category.category-modern .category-sidebar {
    float: none; height: 0; margin: 0; padding: 0; position: static; width: 0;
  }
  #product-category.category-modern .category-sidebar .yo-menu { display: none !important; }
  #product-category.category-modern #content.col-sm-9,
  #product-category.category-modern #content.col-sm-6 { width: 100%; }
  .category-modern .category-hero { display: block; min-height: 0; padding: 23px 20px; text-align: center; }
  .category-modern .category-hero-content { max-width: 100%; }
  .category-modern .category-hero h1 { font-size: 26px; }
  .category-modern .category-hero-description { font-size: 13px; }
  .category-modern .category-hero-image { height: 205px; margin: 19px auto 0; width: 100%; }
  .category-modern .category-hero-image img { height: 195px; max-height: 195px; width: 195px; }
  .category-modern .category-toolbar { display: block; padding: 10px 3px 3px; }
  .category-modern .category-toolbar > div { margin-bottom: 7px; width: 100%; }
  .category-modern .category-product-item { padding: 5px; }
  .category-modern .category-product-card:hover { transform: none; }
  .category-modern .category-product-overlay { display: none; }
  .category-modern .category-product-card .caption { height: 163px; padding: 11px 8px 51px; }
  .category-modern .category-product-card h4 a { font-size: 11px; }
  .category-modern .category-product-card .price-new,
  .category-modern .category-product-card .price { font-size: 16px; }
  .category-modern .category-product-card .price-old { font-size: 11px; }
  .category-modern .category-product-card .button-group {
    bottom: 9px; left: 8px; opacity: 1; right: 8px; transform: none;
  }
  .category-modern .category-product-card:hover .button-group { bottom: 9px; }
  .category-modern .category-product-card .button-group > button { font-size: 10px; height: 34px; }
  .category-modern .category-product-card .home-discount-badge { left: 7px; top: 7px; width: 43px; }
  .bf-responsive.bf-active .bf-btn-show {
    background: #f39200 !important; border-radius: 0 22px 22px 0;
    box-shadow: 0 7px 18px rgba(35,63,95,.25); height: 46px; width: 104px;
  }
  .bf-responsive.bf-active .bf-btn-show:after {
    background: none !important; color: #fff; content: 'Filtrele';
    font: 700 12px/46px "Inter",sans-serif; left: 39px; position: absolute; top: 0;
  }
}

@media (max-width: 767px) {
  .category-modern .category-hero { margin-bottom: 10px; padding: 16px 13px; }
  .category-modern .category-hero h1 { font-size: 21px; margin-bottom: 7px; }
  .category-modern .category-hero-description { font-size: 11px; line-height: 1.5; margin-bottom: 10px; }
  .category-modern .category-hero-button { font-size: 11px; padding: 9px 12px; }
  .category-modern .category-hero-image { height: 154px; margin-top: 12px; }
  .category-modern .category-hero-image img { height: 145px; max-height: 145px; width: 145px; }
  .category-modern .category-toolbar { margin-bottom: 9px; padding: 7px 2px 1px; }
  .category-modern .category-toolbar > div { margin-bottom: 5px; }
  .category-modern .category-product-item { padding: 4px; }
  .category-modern .category-product-card { border-radius: 11px; }
  .category-modern .category-product-card .caption { padding-left: 8px; padding-right: 8px; }
  .category-modern .category-product-card .button-group { bottom: 7px; left: 7px; right: 7px; }
}
