#pp-search-redesign,
#pp-search-redesign * {
  box-sizing: border-box;
}

#pp-search-redesign {
  --gray-50: #f8fafc;
  --gray-100: #eef2f6;
  --gray-200: #e3e8ef;
  --gray-300: #cdd5df;
  --gray-500: #697586;
  --gray-600: #4b5565;
  --gray-700: #364152;
  --gray-900: #121926;
  --blue-600: #155eef;
  --blue-700: #1249e6;
  --success-200: #d0f8ab;
  --success-600: #4ba30d;
  --warning-100: #fef0c7;
  --warning-200: #fedf89;
  --warning-600: #dc6803;
  --error-200: #fecdca;
  --error-600: #d92d20;
  --white: #ffffff;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;

  width: 100%;
  color: var(--gray-900);
  font-family: Inter, system-ui, sans-serif;
}


#pp-search-redesign .pp-delivery-main {
  font-size: 13px;
  line-height: 16px;
  color: var(--gray-900);
  white-space: nowrap;
}

#pp-search-redesign .pp-delivery-sub {
  margin-top: 2px;
  font-size: 12px;
  line-height: 14px;
  color: var(--gray-500);
  white-space: nowrap;
}


#pp-search-redesign .pp-table-head,
#pp-search-redesign .pp-data-row {
  display: grid;
  grid-template-columns: 160px minmax(300px, 1fr) 240px 90px 201px;
}

#pp-search-redesign .pp-td--price-row {
  min-width: 0;
}

#pp-search-redesign .pp-td--price-row__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

#pp-search-redesign .pp-price-value {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  line-height: 18px;
  color: var(--gray-900);
  flex: 1 1 auto;
  min-width: 0;
}

#pp-search-redesign .pp-basket-control {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
}

#pp-search-redesign .pp-basket-control__qty {
  width: 42px;
  min-width: 42px;
  height: 32px;
  border: none;
  outline: none;
  text-align: center;
  font-size: 14px;
  line-height: 32px;
  padding: 0 4px;
  background: #fff;
  color: var(--gray-900);
  -moz-appearance: textfield;
}

#pp-search-redesign .pp-basket-control__qty::-webkit-outer-spin-button,
#pp-search-redesign .pp-basket-control__qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#pp-search-redesign .pp-basket-control__cart {
  width: 36px;
  min-width: 36px;
  height: 32px;
  background: var(--gray-100);
  border-left: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

#pp-search-redesign .pp-basket-control__cart svg,
#pp-search-redesign .pp-basket-control__cart img {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
}

#pp-search-redesign .pp-basket-control__cart--btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

#pp-search-redesign .pp-td--delivery {
  font-size: 13px;
  line-height: 18px;
  color: var(--gray-900);
}

#pp-search-redesign .pp-td--delivery div + div {
  margin-top: 2px;
  color: var(--gray-500);
}

#pp-search-redesign .pp-oil-button-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

#pp-search-redesign .pp-product-card__cart--table {
  min-height: 32px;
  padding: 6px 12px;
  margin: 0;
  white-space: nowrap;
}

#pp-search-redesign .pp-view-toggle {
  display: flex;
  gap: 4px;
  flex: 0 0 auto;
}

#pp-search-redesign .pp-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  line-height: 16px;
}

#pp-search-redesign .pp-view-btn--active {
  background: var(--gray-100);
}

@media (max-width: 1400px) {
  #pp-search-redesign .pp-results-table-wrap {
    min-width: 1080px;
  }
}


#pp-search-redesign .pp-basket-control__cart--btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#pp-search-redesign .pp-product-card__cart {
  cursor: pointer;
}

#pp-search-redesign .pp-product-card__cart--disabled {
  opacity: .6;
  cursor: not-allowed;
}

#pp-search-redesign .pp-product-card__cart--table {
  min-height: 32px;
  padding: 6px 12px;
}

#pp-search-redesign img {
  max-width: 100%;
  display: block;
}

#pp-search-redesign a {
  text-decoration: none;
}

#pp-search-redesign .pp-main {
  width: 100%;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

#pp-search-redesign .pp-main__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

#pp-search-redesign .pp-main__title {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

#pp-search-redesign .pp-main__title-br {
  display: none;
}

#pp-search-redesign .pp-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

#pp-search-redesign .pp-tab {
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 18px;
  cursor: pointer;
}

#pp-search-redesign .pp-tab--active {
  background: var(--gray-100);
}

#pp-search-redesign .pp-search-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

#pp-search-redesign .pp-search-row__filters-btn {
  width: 48px;
  min-width: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pp-search-redesign .pp-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--blue-600);
  border-radius: 6px;
  padding: 4px 4px 4px 16px;
  min-height: 44px;
  background: #fff;
}

#pp-search-redesign .pp-search-box__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#pp-search-redesign .pp-search-box__input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 15px;
  color: var(--gray-900);
}

#pp-search-redesign .pp-search-box__submit {
  border: none;
  border-radius: 4px;
  background: var(--blue-600);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  cursor: pointer;
}

#pp-search-redesign .pp-applied-filters {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#pp-search-redesign .pp-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#pp-search-redesign .pp-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 6px 4px 4px;
  font-size: 13px;
}

#pp-search-redesign .pp-filter-chip__check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--blue-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

#pp-search-redesign .pp-results-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#pp-search-redesign .pp-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

#pp-search-redesign .pp-results-bar__count {
  margin: 0;
  font-size: 15px;
}

#pp-search-redesign .pp-view-toggle {
  display: flex;
  gap: 4px;
}

#pp-search-redesign .pp-view-btn {
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 13px;
  cursor: pointer;
}

#pp-search-redesign .pp-view-btn--active {
  background: var(--gray-100);
}

#pp-search-redesign .pp-table-scroll[hidden],
#pp-search-redesign .pp-results-cards[hidden] {
  display: none !important;
}

#pp-search-redesign .pp-table-scroll {
  width: 100%;
  overflow-x: auto;
}

#pp-search-redesign .pp-results-table-wrap {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  min-width: 1180px;
  background: #fff;
}

#pp-search-redesign .pp-table-head,
#pp-search-redesign .pp-data-row {
  display: grid;
  grid-template-columns: 160px 1fr 357px 90px 201px;
}

#pp-search-redesign .pp-table-head {
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
}

#pp-search-redesign .pp-th,
#pp-search-redesign .pp-td {
  padding: 12px 16px;
  border-right: 1px solid var(--gray-200);
}

#pp-search-redesign .pp-th:last-child,
#pp-search-redesign .pp-td:last-child {
  border-right: none;
}

#pp-search-redesign .pp-th {
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
}

#pp-search-redesign .pp-th--split {
  justify-content: space-between;
}

#pp-search-redesign .pp-th--qty-warehouse {
  justify-content: space-between;
}

#pp-search-redesign .pp-section-row {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

#pp-search-redesign .pp-section-row--alt {
  background: #efe1b4;
}

#pp-search-redesign .pp-data-row {
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
}

#pp-search-redesign .pp-data-row:last-child {
  border-bottom: none;
}

#pp-search-redesign .pp-td--brand-sku .brand {
  display: block;
  color: var(--gray-900);
  margin-bottom: 4px;
  font-size: 13px;
}

#pp-search-redesign .pp-td--brand-sku .sku {
  color: var(--blue-600);
  font-size: 13px;
}

#pp-search-redesign .pp-td--name {
  font-size: 13px;
  line-height: 16px;
  color: var(--gray-900);
}

#pp-search-redesign .pp-td--qty-row__inner,
#pp-search-redesign .pp-td--price-row__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#pp-search-redesign .pp-qty {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
}

#pp-search-redesign .pp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 13px;
  line-height: 16px;
  white-space: nowrap;
}

#pp-search-redesign .pp-tag--success {
  background: var(--success-200);
}

#pp-search-redesign .pp-tag--warning {
  background: var(--warning-200);
}

#pp-search-redesign .pp-tag--error {
  background: var(--error-200);
}

#pp-search-redesign .pp-tag__pct {
  padding: 1px 4px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
}

#pp-search-redesign .pp-tag__pct--success {
  background: var(--success-600);
}

#pp-search-redesign .pp-tag__pct--warning {
  background: var(--warning-600);
}

#pp-search-redesign .pp-tag__pct--error {
  background: var(--error-600);
}

#pp-search-redesign .pp-basket-control {
  display: inline-flex;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

#pp-search-redesign .pp-basket-control__qty {
  width: 52px;
  border: none;
  text-align: center;
  padding: 4px 8px;
}

#pp-search-redesign .pp-basket-control__cart {
  width: 28px;
  border: none;
  background: var(--gray-100);
  cursor: pointer;
}

#pp-search-redesign .pp-results-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#pp-search-redesign .pp-results-cards__block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#pp-search-redesign .pp-section-row--cards {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
}

#pp-search-redesign .pp-results-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(299px, 1fr));
  gap: 16px;
}

#pp-search-redesign .pp-product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  min-height: 100%;
}

#pp-search-redesign .pp-product-card__image-wrap {
  height: 223px;
  background: var(--gray-100);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pp-search-redesign .pp-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#pp-search-redesign .pp-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  flex: 1;
}

#pp-search-redesign .pp-product-card__price {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

#pp-search-redesign .pp-product-card__sku-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#pp-search-redesign .pp-product-card__sku {
  color: var(--blue-600);
  font-size: 13px;
}

#pp-search-redesign .pp-product-card__brand,
#pp-search-redesign .pp-product-card__title {
  font-size: 13px;
  color: var(--gray-900);
}

#pp-search-redesign .pp-product-card__title {
  margin: 4px 0 0;
  line-height: 16px;
}

#pp-search-redesign .pp-product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#pp-search-redesign .pp-product-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 13px;
}

#pp-search-redesign .pp-product-card__tag--qty {
  background: var(--gray-100);
}

#pp-search-redesign .pp-product-card__tag--delivery-success {
  background: var(--success-200);
}

#pp-search-redesign .pp-product-card__tag--delivery-warning {
  background: var(--warning-200);
}

#pp-search-redesign .pp-product-card__cart {
  margin-top: auto;
  width: 100%;
  min-height: 42px;
  text-align: center;
  padding-top: 8px;
  border: none;
  border-radius: 4px;
  background: var(--blue-600);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

#pp-search-redesign .pp-product-card__cart:disabled {
  opacity: .6;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  #pp-search-redesign .pp-main__title {
    font-size: 24px;
    line-height: 28px;
  }

  #pp-search-redesign .pp-main__title-br {
    display: block;
  }

  #pp-search-redesign .pp-results-bar {
    flex-direction: column;
    align-items: stretch;
  }

  #pp-search-redesign .pp-results-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 380px) {
  #pp-search-redesign .pp-results-cards__grid {
    grid-template-columns: 1fr;
  }
}