.prikkart-search-page {
  width: 100%;
}

.prikkart-search-page__top {
  margin-bottom: 28px;
}

.prikkart-search-page__search-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px 14px 52px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background-color: #efeee8;
  background-image: url('../assets/sokeikon.png');
  background-repeat: no-repeat;
  background-position: 18px center;
  background-size: 18px 18px;
  font-size: 16px;
  line-height: 1.4;
}

.prikkart-search-page__search-input:focus {
  outline: none;
  border-color: #bdbdbd;
}

.prikkart-mobile-filter-toggle {
  display: none;
  margin-top: 14px;
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 30px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.prikkart-search-page__layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.prikkart-search-page__sidebar {
  position: sticky;
  top: 30px;
}

.prikkart-search-page__sidebar-inner {
  background: #fff;
}

.prikkart-mobile-filter-header,
.prikkart-mobile-filter-actions {
  display: none;
}

.prikkart-filter-group {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9d9d9;
}

.prikkart-filter-group__title,
.prikkart-filter-group h3,
.prikkart-filter-group--accordion summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.prikkart-filter-group h4 {
  margin: 14px 0 10px;
  font-size: 13px;
  line-height: 1.3;
}

.prikkart-filter-group--accordion summary {
  list-style: none;
  cursor: pointer;
  padding-right: 22px;
  position: relative;
}

.prikkart-filter-group--accordion summary::-webkit-details-marker {
  display: none;
}

.prikkart-filter-group--accordion summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -1px;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}

.prikkart-filter-group--accordion[open] summary::after {
  content: '–';
}

.prikkart-filter-group--accordion .prikkart-filter-options,
.prikkart-filter-group--accordion h4 {
  margin-top: 14px;
}

.prikkart-filter-options {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.prikkart-filter-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

.prikkart-filter-options input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #4a9082;
}

.prikkart-price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.prikkart-price-fields input {
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #8f8f8f;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}

.prikkart-filter-reset-wrap {
  margin-top: 28px;
}

.prikkart-reset-filters {
  min-height: 42px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.prikkart-search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.prikkart-search-toolbar__left {
  min-width: 0;
  flex: 1;
}

.prikkart-search-toolbar__right {
  flex: 0 0 auto;
}

.prikkart-search-page__summary {
  margin-bottom: 10px;
  font-size: 13px;
  color: #555;
}

.prikkart-active-filters:empty {
  display: none;
}

.prikkart-active-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prikkart-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: #efeee8;
  color: #222;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
}

.prikkart-filter-chip__remove {
  font-size: 14px;
  line-height: 1;
}

.prikkart-sort-select {
  min-height: 32px;
  padding: 4px 34px 4px 12px;
  border: 0;
  border-radius: 999px;
  background-color: #000;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M4 5l3-3 3 3' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M10 9l-3 3-3-3' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.prikkart-search-page__results {
  min-height: 120px;
}

.prikkart-search-page.is-loading .prikkart-search-page__results {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.prikkart-results-heading {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.prikkart-products-section {
  margin-bottom: 48px;
}

.prikkart-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 24px;
  margin-top: 18px;
}

.prikkart-product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.prikkart-product-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #f4f4f4;
  overflow: hidden;
  margin-bottom: 16px;
}

.prikkart-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prikkart-product-card__placeholder {
  width: 100%;
  height: 100%;
  background: #efefef;
}

.prikkart-product-card__sold-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #de7a63;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.prikkart-product-card__content {
  display: grid;
  gap: 2px;
}

.prikkart-product-card__title {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
}

.prikkart-product-card__size,
.prikkart-product-card__artist {
  font-size: 14px;
  line-height: 1.35;
  color: #333;
}

.prikkart-product-card__price {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.prikkart-product-card__price-note {
  font-size: 12px;
  font-weight: 400;
}

.prikkart-no-results {
  padding: 18px 0;
  font-size: 15px;
}

.prikkart-content-results {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid #d9d9d9;
}

.prikkart-content-results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 24px;
  margin-top: 18px;
}

.prikkart-content-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.prikkart-content-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f3f3;
  overflow: hidden;
  margin-bottom: 14px;
}

.prikkart-content-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prikkart-content-card__placeholder {
  width: 100%;
  height: 100%;
  background: #efefef;
}

.prikkart-content-card__content {
  display: grid;
  gap: 7px;
}

.prikkart-content-card__context {
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8a8a;
}

.prikkart-content-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.prikkart-content-card__excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

@media (max-width: 1100px) {
  .prikkart-products-grid,
  .prikkart-content-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.prikkart-mobile-filters-body-open {
    overflow: hidden;
  }

  .prikkart-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .prikkart-search-page__layout {
    grid-template-columns: 1fr;
  }

  .prikkart-search-page__sidebar {
    position: static;
    display: none;
  }

  .prikkart-search-page.prikkart-mobile-filters-open .prikkart-search-page__sidebar {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.3);
    padding: 0;
  }

  .prikkart-search-page.prikkart-mobile-filters-open .prikkart-search-page__sidebar-inner {
    position: absolute;
    inset: 0;
    background: #fff;
    overflow-y: auto;
    padding: 18px 18px 110px;
  }

  .prikkart-mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
  }

  .prikkart-mobile-filter-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
  }

  .prikkart-mobile-filter-close {
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }

  .prikkart-mobile-filter-actions {
    display: block;
    position: sticky;
    bottom: 0;
    padding-top: 18px;
    background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0));
  }

  .prikkart-mobile-filter-apply {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 30px;
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }

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

  .prikkart-search-toolbar__right {
    align-self: flex-end;
  }

  .prikkart-products-grid,
  .prikkart-content-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
  }
}

@media (max-width: 640px) {
  .prikkart-results-heading {
    font-size: 17px;
  }

  .prikkart-product-card__title {
    font-size: 15px;
  }

  .prikkart-product-card__size,
  .prikkart-product-card__artist {
    font-size: 13px;
  }

  .prikkart-product-card__price {
    font-size: 14px;
  }

  .prikkart-product-card__price-note,
  .prikkart-content-card__excerpt {
    font-size: 12px;
  }

  .prikkart-content-card__title {
    font-size: 15px;
  }
}

.prikkart-search-page .prikkart-search-page__search-input{
  display:block !important;
  width:100% !important;
  height:86px !important;
  min-height:86px !important;
  padding:0 24px 0 102px !important;
  border:0 !important;
  border-radius:999px !important;
  background-color:#efeee8 !important;
  background-image:url('sokeikon.png') !important;
  background-repeat:no-repeat !important;
  background-position:34px center !important;
  background-size:38px 38px !important;
  font-size:23px !important;
  line-height:86px !important;
  box-shadow:none !important;
  -webkit-appearance:none !important;
  appearance:none !important;
}

.prikkart-search-page .prikkart-search-page__search-input::placeholder{
  color:#111 !important;
  opacity:1 !important;
}

.prikkart-search-page .prikkart-search-page__search-input{
  height:60px !important;
  min-height:60px !important;
  padding:0 20px 0 64px !important;
  background-position:22px center !important;
  background-size:24px 24px !important;
  font-size:16px !important;
  line-height:60px !important;
}

.prikkart-search-page .prikkart-search-page__search-input:focus::placeholder{
  color: transparent !important;
}
