@media (max-width: 1023px) {
  html.cpg-results-mobile-nav-excluded .cpg-f-mobile-nav {
    display: none !important;
  }
  .cpg-results-page .cpg-mobile-action {
    display: inline-flex!important;
    visibility: visible;
    font-size: 15px;
  }
  .cpg-search-empty {
    text-align: center;
  }
  .cpg-mobile-drawer-head h3 {
    font-size: 23px;
  }
  .cpg-facet-group h3 {
    font-size: 17px;
}
  .cpg-search-input-wrap {
    min-height: 54px;
    padding-right: 8px;
    background: #f8f1ef;
  }

  .cpg-search-input {
    min-height: 54px;
    font-size: 18px;
  }
    .cpg-results-page .cpg-orderby-option {
        padding: 12px 14px;
        font-size: 15px;
    }
  .cpg-search-submit {
    min-width: 48px;
    min-height: 48px;
    background: transparent;
    color: var(--cpg-color-text);
  }

  .cpg-search-overlay {
    background: #fff;
    top: 0;
    bottom: auto;
    height: 100%;
    overflow: hidden;
  }

  .cpg-search-backdrop {
    display: none;
  }

  .cpg-search-panel {
    left: 0;
    right: 0;
    width: 100vw;
    top: 0;
    margin: 0;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    display: flex;
    flex-direction: column;
  }

  .cpg-search-shell.is-open .cpg-search-panel {
    transform: none;
  }

  .cpg-search-shell.is-closing .cpg-search-panel {
    transform: translateY(10px);
  }

  .cpg-search-panel-head {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px;
  }

  .cpg-search-overlay .cpg-search-mobile-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    padding: 0;
            border-radius: 99px;
        background: var(--cpg-bg-light);
    color: var(--cpg-color-text);
  }
.cpg-search-overlay .cpg-search-mobile-back svg {
    width: 20px;
}
  .cpg-search-panel-body {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-top: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .cpg-search-col {
    padding: 0 16px 22px;
    overflow: visible;
    overscroll-behavior: auto;
  }

  .cpg-search-col-left {
    border-right: 0;
    background: #fff;
  }

  .cpg-search-col-right {
    padding-top: 0;
    min-height: 100%;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .cpg-search-preview-head {
    display: block;
  }

  .cpg-search-content-block,
  .cpg-search-categories-block,
  .cpg-search-col-left .cpg-search-term-list {
    display: none;
  }

  .cpg-search-popular-block {
    display: block;
    margin: 30px 16px 22px;
  }

  .cpg-search-popular-list {
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cpg-search-popular-list::-webkit-scrollbar {
    display: none;
  }

  .cpg-search-popular-list .cpg-popular-chip {
    flex: 0 0 auto;
  }

  .cpg-search-product-grid,
  .cpg-skeleton-grid--search {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cpg-skeleton-grid--search .cpg-skeleton-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    align-items: center;
    gap: 8px 16px;
    padding: 10px;
    border: 0;
    border-radius: 25px;
    background: #fbf9f7;
  }

  .cpg-skeleton-grid--search .cpg-skeleton-media {
    grid-row: 1 / 5;
    width: 108px;
    margin: 0;
  }

  .cpg-skeleton-grid--search .cpg-skeleton-line,
  .cpg-skeleton-grid--search .cpg-skeleton-button {
    grid-column: 2;
    margin-top: 0;
  }

  .cpg-skeleton-grid--search .cpg-skeleton-button {
    height: 34px;
  }

  .cpg-search-product-grid .cpg-product-card {
    display: flex;
        flex-direction: row;
        gap: 16px;
        padding: 10px;
                border-radius: var(--cpg-border-radius-button) !important;
        background: var(--cpg-white-bg);
        box-shadow: none;
        border: var(--cpg-border-field)!important;
        align-content: center;
        align-items: center;
  }
  .cpg-results-page .cpg-load-more-button {
    width: 60% !important;
}
.cpg-product-category {
    margin-bottom: 4px;
    font-size: 10px;
}
  .cpg-search-product-grid .cpg-product-card-media {
    flex: 0 0 108px;
    border-radius: 17px;
    margin-bottom: 0;
  }

  .cpg-search-product-grid .cpg-product-card-body {
    flex: 1;
  }

  .cpg-product-card {
    gap: 0;
    padding: 12px;
    border-radius: 0;
    background: #fff;
            border: none !important;
  }
  .cpg-product-card:hover, .cpg-featured-slide:hover {
    transform: translateY(-1px);
    box-shadow: none!important;
    border: none!important;
}
  .cpg-product-card-media {
    flex: 0 0 auto;
    margin-bottom: 14px;
  }

  .cpg-product-title {
            font-size: 14px;
        min-height: auto;
        margin: 0 0 7px;
        line-height: 1.3;
            -webkit-line-clamp: 2;
  }

  .cpg-product-regular {
    font-size: 18px;
  }

  .cpg-product-sale,
  .cpg-product-pricing .amount {
    font-size: 18px;
  }

  .cpg-add-cart-button {
    min-height: 48px;
    font-size: 16px;
  }

      .cpg-search-empty h3 {
        margin-top: 28px;
        font-size: 24px;
    }

  .cpg-search-empty p {
        margin: 0 auto;
  }

  .cpg-search-mobile-footer {
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding-top: 18px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 24%);
  }

  .cpg-search-mobile-form {
    min-height: 45px;
    padding: 0 12px;
  }
  .cpg-search-mobile-form input[type="search"] {
    font-family: var(--cpg-title-font);
        border: none;
        font-size: 16px !important;
}
  .cpg-search-panel-body .cpg-term-button {
    font-family: var(--cpg-title-font);
    font-size: 15.5px;
}
  .cpg-search-mobile-input {
    min-height: 45px;
    font-size: 17px;
  }

  .cpg-search-mobile-results-button {
    width: 100%;
  }

  .cpg-results-page {
    padding: 65px 0 0;
  }

  .cpg-results-topbar {
    display: block;
    margin-bottom: 12px;
            padding: 0 40px;
  }
  .cpg-facet-option {
    font-size: 15px;
}
  .cpg-results-subcategory-track {
    width: 100%;
    max-width: 100%;
    gap: 10px;
    padding: 2px 10px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 10px;
    scroll-snap-type: x proximity;
    touch-action: pan-x;
    box-sizing: border-box;
  }

  .cpg-results-subcategory-track-wrap {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .cpg-results-subcategory-chip {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .cpg-results-subcategory-nav {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0 0 20px;
    overflow: hidden;
  }

  .cpg-results-subcategory-arrow {
    display: none !important;
  }

  .cpg-product-badges {
    top: 2px;
    left: 4px;
    gap: 4px;
    max-width: calc(100% - 16px);
  }

  .cpg-results-page .cpg-product-badge {
    font-size: 12px;
  }

  .cpg-results-title {
    font-size: 24px;
  }

  .cpg-results-subtitle {
    font-size: 16px;
  }

  .cpg-results-layout {
    display: block;
  }

  .cpg-results-facets,
  .cpg-results-order {
    display: none;
  }

  .cpg-results-actions {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
        margin: 22px 0 0;
    transition: transform 360ms cubic-bezier(.22, .9, .28, 1);
  }

  .cpg-results-page.is-mobile-actions-fixed .cpg-results-actions {
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 20px;
    right: 20px;
    z-index: 30;
    margin: 0;
        padding: 12px;
            backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background: rgb(255 255 255 / 85%);
        border: 1px solid rgb(59 10 8 / 7%);
        border-radius: var(--cpg-border-radius-button);
    box-shadow: rgb(79 47 38 / 7%) 0px 1px 5px 0;
    transform: translate3d(0, calc(100% + 32px), 0);
    will-change: transform;
  }

  .cpg-results-page.is-mobile-actions-fixed.is-mobile-actions-visible .cpg-results-actions {
    transform: translate3d(0, 0, 0);
  }
  .cpg-results-active-filters {
    margin-bottom: 8px;
  }
  .cpg-filter-chip, .cpg-filter-clear-all {
    font-size: 12px;
}
  .cpg-mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    margin-top: 0;
    padding: 0 18px;
  }

  .cpg-mobile-action-filter {
    background: #232b3f;
    color: #fff;
  }

  .cpg-results-active-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0;
  }

  .cpg-mobile-action-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
  }

  .cpg-mobile-action-icon svg {
    width: 100%;
    height: 100%;
  }

  .cpg-orderby-menu {
    position: static;
    min-width: 0;
    padding: 18px 0;
    border: 0;
    border-radius: 20px;
    background: #f5f5f4;
    box-shadow: none;
  }
  .cpg-no-results {
    text-align: center;
}
  .cpg-orderby,
  .cpg-orderby-label,
  .cpg-orderby-toggle {
    display: none;
  }

  [data-cpg-mobile-order] .cpg-orderby {
    display: block;
    min-width: 0;
  }

  [data-cpg-mobile-order] .cpg-orderby-label,
  [data-cpg-mobile-order] .cpg-orderby-toggle {
    display: none;
  }

  [data-cpg-mobile-order] .cpg-orderby-menu {
    display: grid;
    gap: 6px;
    background: #fff;
  }

  .cpg-orderby-option {
    justify-content: center;
    padding: 20px 24px;
    border-bottom: 0;
    font-size: 18px;
    text-align: center;
  }

  .cpg-featured-carousel {
    --cpg-carousel-visible: 3.1;
    padding: 30px 0;
  }

  .cpg-featured-carousel-viewport {
    margin: 0 30px;
  }
  .cpg-featured-carousel-head h2 {
    font-size: 21px;
  }

  .cpg-featured-carousel-nav {
    display: none;
  }

  .cpg-featured-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cpg-featured-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .cpg-featured-carousel-track {
    transform: none !important;
    transition: none;
  }

  .cpg-featured-slide {
    scroll-snap-align: start;
  }
  .cpg-featured-carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 24px;
  }

  .cpg-featured-carousel-arrow[data-cpg-carousel-prev] {
    left: -8px;
  }

  .cpg-featured-carousel-arrow[data-cpg-carousel-next] {
    right: -8px;
  }

  .cpg-featured-slide {
    padding: 12px 12px 16px;
  }

  .cpg-featured-slide .cpg-add-cart-button {
    font-size: 13px !important;
    line-height: 1.2;
  }

  .cpg-load-more-button {
    width: 100%;
    min-width: 0;
  }

  .cpg-cart-qty-control {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 10px;
  }

  .cpg-results-after-main {
    display: block;
    margin-top: 30px;
  }

  .cpg-results-after-main-spacer {
    display: none;
  }
  .cpg-search-overlay .cpg-search-mobile-action[data-cpg-mobile-clear] svg {
    width: 20px;
    stroke-width: 2;
  }
}
@media (max-width: 767px) {
   .cpg-results-grid,
    .cpg-skeleton-grid--results {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .cpg-featured-carousel {
        --cpg-carousel-visible: 2.1;
    }
      .cpg-search-panel-body {
        padding-top: 0;
    }
  .cpg-search-block h3 {
    display: none;
  }
  .cpg-search-preview-head {
    margin-top: 5px;
  }
      .cpg-results-title {
        margin-bottom: 5px;
    }
        .cpg-results-subtitle {
        font-size: 13px;
    }
        .cpg-results-page .cpg-add-cart-button, .cpg-results-page .cpg-add-cart-button.is-loading {
        background: var(--cpg-red);
    }
}
@media (max-width: 650px) {
  .cpg-search-results-context .row {
    margin-inline: 0;
    display: block;
  }
  .cpg-search-results-context .main-page-wrapper .row  .col-12 {
    padding: 0;
}
  .cpg-search-results-context .main-page-wrapper .container {
        max-width: 100% !important;
        width: 100% !important;
    }
  .cpg-search-preview-head h3 {
    margin: 0 0 14px;
    font-size: 16px;
  }
    .cpg-search-empty h3 {
        font-size: 21px;
    }
    .cpg-search-popular-block {
        margin: 20px 0 22px;
    }
    .cpg-mobile-drawer-apply {
      min-height: 48px;
      font-size: 15px;
  }
    .cpg-mobile-drawer-head {
      margin-bottom: 20px;
  }
      .cpg-results-topbar {
        padding: 0 20px;
    }
    .cpg-mobile-drawer-panel .cpg-facet-option {
    grid-template-columns: 20px 80% 0;
  }
  .cpg-mobile-drawer-panel .cpg-facet-option input[type="checkbox"],.cpg-facet-checkbox {
    width: 20px;
    height: 20px;
  }
  .cpg-results-page .cpg-product-pricing .cpg-product-sale .amount {
    font-size: 17px;
  }
  .cpg-results-page .cpg-product-regular,.cpg-results-page .cpg-product-pricing .cpg-product-regular .amount {
    font-size: 14px;
}
  .cpg-cart-qty-count,.cpg-results-progress p,.cpg-results-end p {
    font-size: 13px;
  }
      .cpg-featured-carousel {
        --cpg-carousel-visible: 1.8;
    }
    .cpg-featured-slide .cpg-add-cart-button {
        font-size: 12px !important;
    }
    .cpg-no-results {
      font-size: 15px;
  }
}
@media (max-width: 480px) {
      .cpg-search-mobile-form input[type="search"] {
        font-size: 15px !important;
    }
  .cpg-results-page {
    padding: 50px 0 0;
  }
      .cpg-product-badges {
        top: 0;
        left: 0;
    }
      .cpg-results-topbar {
        padding: 0;
    }
    .cpg-results-title {
        font-size: 21px;
    }
    .cpg-results-page .cpg-product-badge-custom,.cpg-results-page .cpg-product-badge-new {
      font-size: 9px !important;
      border-radius: 8px;
      padding: 4px 10px;
  }
      .cpg-featured-carousel {
        --cpg-carousel-visible: 1.1;
    }
        .cpg-featured-carousel-head h2 {
        font-size: 18px;
    }
    .cpg-product-card {
        padding: 10px 5px;
    }
        .cpg-featured-slide .cpg-add-cart-button {
        font-size: 11px !important;
        min-height: 38px !important;
    }
        .cpg-featured-carousel-viewport {
        margin: 0 10px 0 20px;
    }
        .cpg-results-page .cpg-product-badge {
        font-size: 11px;
    }
    .cpg-product-urgency-badge, .cart-urgency-badge {
      padding: 3px 9px;
      border-radius: 6px;
      font-size: 9px;
  }
  .cpg-mobile-drawer-head h3 {
        font-size: 21px;
    }
    .cpg-facet-group h3 {
        font-size: 15px;
    }
    .cpg-mobile-drawer-panel {
      padding: 26px 30px 14px;
      max-height: 70vh;
      border-radius: 40px 40px 0 0;
  }
  .cpg-results-page .cpg-load-more-button, .cpg-results-page .cpg-mobile-action {
      min-height: 38px;
      border-radius: var(--cpg-border-radius-s);
      font-size: 13px;
  }
    .cpg-results-page.is-mobile-actions-fixed .cpg-mobile-action {
        min-height: 44px;
    }
  .cpg-results-page .cpg-load-more-button {
    padding: 10px 0;
}
    .cpg-results-page.is-mobile-actions-fixed .cpg-results-actions {
        left: 8px;
        right: 8px;
    }
    .cpg-results-actions {
        margin: 14px 0 0;
    }
  .cpg-results-page .cpg-add-cart-button, .cpg-results-page .cpg-add-cart-button.is-loading {
      min-height: 38px;
      border-radius: var(--cpg-border-radius-s);
      font-size: 12px;
  }
    .cpg-search-empty h3 {
        font-size: 18px;
    }
    .cpg-search-empty p {
      font-size: 14px;
    }
      .cpg-search-mobile-results-button {
        font-size: 14px;
        border-radius: var(--cpg-border-radius-s);
    }
    .cpg-term-button-icon,.cpg-term-button-icon svg {
      width: 19px;
      height: 19px;
  }
    .cpg-search-panel-body .cpg-term-button {
        font-size: 14.5px;
    }
  .cpg-search-suggestion-list, .cpg-search-term-list {
    gap: 8px;
  }
      .cpg-search-preview-head {
       display: none;
    }
    .cpg-search-col {
        padding: 0 10px 20px;
    }
    .cpg-product-sale, .cpg-product-pricing .amount {
        font-size: 13px;
    }
    .cpg-product-pricing .cpg-product-sale .amount {
      font-size: 15px;
  }
      .cpg-search-product-grid .cpg-product-card-media {
        flex: 0 0 80px;
        overflow: visible;
    }
    .cpg-product-title {
        font-size: 13px;
    }
    .cpg-featured-slide-body h3 {
      font-size: 13px;
  }
    .cpg-search-col-right .cpg-product-urgency-badge, .cpg-search-col-right .cart-urgency-badge {
      font-size: 9px;
      padding: 4px 8px;
  }
    .cpg-results-subcategory-track {
        padding: 2px 0;
    }
}
@media (max-width: 425px) {
    .cpg-mobile-drawer-apply,.cpg-facet-option {
        font-size: 14px;
    }
      .cpg-search-col-right .cpg-product-title {
        max-width: 240px;
        text-overflow: ellipsis;
    }
    .cpg-product-badge.cpg-product-badge-discount {
      font-size: 11px;
      padding: 4px 8px;
  }
      .cpg-results-page .cpg-add-cart-button, .cpg-results-page .cpg-add-cart-button.is-loading {
        font-size: 11px;
                min-height: 36px;
    }
        .cpg-filter-chip, .cpg-filter-clear-all {
        font-size: 11px;
    }
}
