.ads-modern-header .new-search {
  display: none !important;
}

.ads-modern-header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
  margin-right: 15px;
}
.ads-modern-header-search form{
  width: 250px;
}
.ads-modern-header-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
}

.ads-modern-header-search input::placeholder {
  color: #9b9b98;
}

.ads-modern-header-search button {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ads-modern-header-search button svg {
  width: 16px;
  height: 16px;
}

.ads-modern-chips {
  padding: 10px 0 14px;
    display: flex;
    gap: 8px;
}

.ads-modern-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 6px 12px;
  font-size: 13px;
  text-decoration: none;
  color: #6a6a68;
  background: transparent;
}

.ads-modern-chip.is-active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.ads-modern-scope .ads-cards .row.ads-no-row > [class*="col-"] {
  margin-bottom: 20px;
}

.ads-modern-scope .shop__top.grey-bg-6 {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.ads-modern-scope .shop__top .product__name {
  font-size: 20px;
  margin-bottom: 8px;
}

.ads-modern-scope .shop__top .fair-product {
  margin-top: 10px;
}

.ads-modern-scope .shop__top .product__modal-box,
.ads-modern-scope .shop__top .body_info_sections,
.ads-modern-scope .shop__top .new-product-cart {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 10px;
  background: #fafaf8;
}

.ads-modern-scope .shop__top .product__modal-box {
  background: #fff;
}

.ads-modern-scope .shop__top .head_info_sections {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.ads-modern-scope .shop__top .item_head_info_section {
  border-radius: 999px;
  padding: 7px 10px;
}

.ads-modern-scope .shop__top .active_head_info_section {
  background: #1a1a1a;
  color: #fff;
}

.ads-modern-scope .shop__top .add-cart-new {
  border-radius: 8px;
}

@media (max-width: 991px) {
  .ads-modern-header-search {
    max-width: 100%;
    width: 100%;
  }

  .ads-modern-chips {
    max-width: 720px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .ads-modern-chips {
    max-width: 960px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .ads-modern-chips {
    max-width: 540px;
  }
}

@media (max-width: 575px) {
  .ads-modern-chips {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.ads-modern-scope .ads-cards .row.ads-no-row {
  row-gap: 20px;
}

.modern-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s;
}

.modern-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.14);
}

.modern-card-hero {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  overflow: hidden;
  background: #f5f5f3;
}

.modern-gal {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modern-gal-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.modern-gal-slide {
  flex: 0 0 100%;
  height: 100%;
}

.modern-gal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modern-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.modern-gal-arr {
  position: absolute;
  top: 32%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  color: #1a1a1a;
  opacity: 0;
  transition: opacity 0.2s, transform 0.15s, background 0.15s;
}

.modern-card:hover .modern-gal-arr {
  opacity: 1;
}

.modern-gal-prev {
  left: 12px;
}

.modern-gal-next {
  right: 12px;
}

.modern-gal-dots {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 4;
}

.modern-gal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.25s, background 0.25s;
}

.modern-gal-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 3px;
  border: none;
}

.modern-ovr {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.modern-ovr-price {
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

.modern-ovr-name {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.94);
  margin: 4px 0 12px;
  line-height: 1.3;
  font-weight: 500;
  min-height: 32px;
}

.modern-ovr-name-link {
  display: block;
  text-decoration: none;
}

.modern-ovr-name-link:hover {
  text-decoration: underline;
}

.modern-ovr-btns {
  display: flex;
  gap: 6px;
}

.modern-btn-prim,
.modern-btn-sec {
  flex: 1;
  border-radius: 8px;
  padding: 9px 4px;
  font-size: 11.5px;
  text-align: center;
  text-decoration: none;
}

.modern-btn-prim {
  background: #fff;
  color: #1a1a1a;
  border: none;
  font-weight: 600;
}

.modern-btn-sec {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.modern-tabs {
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.modern-tab {
  flex: 1;
  padding: 11px 4px;
  font-size: 12.5px;
  text-align: center;
  border: none;
  background: transparent;
  color: #6a6a68;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

.modern-tab.active {
  color: #1a1a1a;
  border: none;
  border-bottom: 2px solid #1a1a1a;
  font-weight: 600;
}

.modern-panel {
  padding: 13px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-map {
  width: 100%;
  height: 210px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #f1efe8;
}

.modern-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.modern-row:last-child {
  border-bottom: none;
}

.modern-lbl {
  color: #6a6a68;
  font-size: 12px;
}

.modern-val {
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.modern-f-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  color: #1a1a1a;
  text-decoration: none;
}

.modern-f-row:last-child {
  border-bottom: none;
}

.modern-f-name {
  font-size: 12px;
  font-weight: 500;
}

.modern-f-meta {
  font-size: 11px;
  color: #9b9b98;
}

.modern-subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin: 10px 0 4px;
}

.modern-param-link {
  color: #185fa5;
  text-decoration: none;
}

.modern-param-link:hover {
  text-decoration: underline;
}

.ads-modern-categories-page h1 {
  margin-bottom: 16px;
}

.ads-modern-categories-grid {
  row-gap: 16px;
}

.ads-modern-category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  text-decoration: none;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s;
}

.ads-modern-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
}

.ads-modern-category-card-title {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.ads-modern-category-card-action {
  margin-top: 10px;
  color: #6a6a68;
  font-size: 12px;
}
