/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Nov 11 2026 | 22:20:49 */
/* =============================================
   CYCLINGCERAMIC — MOBILE FILTER & SORT
   PNS INSPIRED — MOBILE ONLY
   Brand color: #D1DEE8
   ============================================= */

@media (max-width: 921px) {

  /* Mobile filter button */
  body .astra-shop-filter-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px 16px !important;
    min-height: 42px;
    background: #D1DEE8 !important;
    color: #171717 !important;
    border: 1px solid #D1DEE8 !important;
    border-radius: 5px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
  }

  body .astra-shop-filter-button svg {
    fill: currentColor !important;
  }

  /* Overlay */
  .cc-mobile-filter-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482998 !important;
    background: rgba(0, 0, 0, .38) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
  }

  body.cc-mobile-filter-open
  .cc-mobile-filter-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.cc-mobile-filter-open {
    overflow: hidden !important;
    touch-action: auto;
  }

  /* Mobile bottom sheet */
  body .ast-woocommerce-container
  .ast-collapse-filter {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 86vh !important;
    height: 86dvh !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 10px 10px 0 0 !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,.10);
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    transform: translate3d(0, 105%, 0) !important;
    transition:
      transform .3s ease,
      visibility .3s ease !important;
    z-index: 2147483000 !important;
    font-family: 'Inter', sans-serif;
  }

  body.cc-mobile-filter-open
  .ast-woocommerce-container
  .ast-collapse-filter {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
  }

  /* Header */
  body .ast-collapse-filter .cc-drawer-header {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 16px 20px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #E6E8EB !important;
    box-sizing: border-box;
  }

  body .ast-collapse-filter .cc-drawer-header strong {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #171717 !important;
    letter-spacing: -.02em;
  }

  body .ast-collapse-filter .cc-drawer-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #171717 !important;
    font-size: 30px !important;
    line-height: 1;
    cursor: pointer;
  }

  /* Scroll area */
  body .ast-collapse-filter .ast-filter-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px 24px !important;
    margin: 0 !important;
    gap: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body .ast-collapse-filter
  .ast-filter-wrap > .widget {
    display: block !important;
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 18px 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #E6E8EB !important;
    box-sizing: border-box;
  }

  /* Accordion headings */
  body .ast-collapse-filter .cc-filter-heading {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #171717 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    text-transform: none !important;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  body .ast-collapse-filter
  .cc-filter-heading:hover,
  body .ast-collapse-filter
  .cc-filter-heading:focus,
  body .ast-collapse-filter
  .cc-filter-heading:active {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  body .ast-collapse-filter
  .cc-filter-heading::after {
    content: "+" !important;
    flex-shrink: 0;
    margin-left: 12px;
    font-size: 21px !important;
    font-weight: 300 !important;
    color: #171717 !important;
  }

  body .ast-collapse-filter
  .widget.cc-filter-expanded
  .cc-filter-heading::after {
    content: "−" !important;
  }

  /* Expanded sections */
  body .ast-collapse-filter .cc-filter-content {
    display: none !important;
    width: 100%;
    padding: 18px 0 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  body .ast-collapse-filter
  .widget.cc-filter-expanded
  .cc-filter-content {
    display: block !important;
  }

  /* Square checkboxes - 2 columns */
  body .ast-collapse-filter .cc-filter-choices {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px !important;
  }

  body .ast-collapse-filter .cc-filter-choice {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0;
    padding: 2px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #262626 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    text-transform: none !important;
    cursor: pointer;
  }

  body .ast-collapse-filter .cc-choice-square {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 19px;
    width: 19px !important;
    height: 19px !important;
    border: 1px solid #BBC0C5 !important;
    border-radius: 4px !important;
    background: #FFFFFF;
    box-sizing: border-box;
  }

  body .ast-collapse-filter
  .cc-filter-choice.is-selected
  .cc-choice-square,
  body .ast-collapse-filter
  .cc-color-unknown.is-selected
  .cc-choice-square {
    background: #D1DEE8 !important;
    border-color: #9CB5C7 !important;
  }

  body .ast-collapse-filter
  .cc-filter-choice.is-selected
  .cc-choice-square::after,
  body .ast-collapse-filter
  .cc-color-unknown.is-selected
  .cc-choice-square::after {
    content: "✓";
    color: #171717;
    font-size: 13px;
    font-weight: 700;
  }

  /* Color swatches */
  body .ast-collapse-filter .cc-color-choices {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px !important;
  }

  body .ast-collapse-filter .cc-color-choice {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 6px !important;
    max-width: 105px;
    padding: 7px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #444444 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: none !important;
  }

  body .ast-collapse-filter .cc-color-swatch {
    display: block;
    width: 27px !important;
    height: 27px !important;
    flex-shrink: 0;
    border-radius: 50% !important;
    border: 1px solid #D4D4D4;
  }

  body .ast-collapse-filter
  .cc-color-choice.is-selected {
    background: #F2F6F9 !important;
    border-color: #9CB5C7 !important;
  }

  /* Fallback for unknown color terms */
  body .ast-collapse-filter
  .cc-color-choice.cc-color-unknown {
    flex-direction: row !important;
    max-width: 100%;
  }

  /* Search and native fields */
  body .ast-collapse-filter input[type="search"],
  body .ast-collapse-filter select {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    background: #FFFFFF !important;
    border: 1px solid #DFE3E7 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
  }

  /* Price slider */
  body .ast-collapse-filter
  .widget_price_filter .price_slider {
    background: #E8EDF0 !important;
    margin-bottom: 20px !important;
  }

  body .ast-collapse-filter
  .widget_price_filter .ui-slider-range {
    background: #D1DEE8 !important;
    border-color: #D1DEE8 !important;
  }

  body .ast-collapse-filter
  .widget_price_filter .ui-slider-handle {
    background: #D1DEE8 !important;
    border: 2px solid #A5BAC9 !important;
    box-shadow: none !important;
  }

  body .ast-collapse-filter
  .widget_price_filter .price_slider_amount {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
  }

  /* Hide native price submit: Show Results handles it */
  body .ast-collapse-filter
  .widget_price_filter .price_slider_amount > button {
    display: none !important;
  }

  /* Mobile sorting */
  .cc-mobile-sort {
    flex: 0 0 auto;
    padding: 23px 0 20px !important;
    border-bottom: 1px solid #E6E8EB;
  }

  .cc-mobile-sort-title {
    margin: 0 0 17px !important;
    color: #171717;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
  }

  .cc-mobile-sort-option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    margin-bottom: 5px;
    color: #171717;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
  }

  .cc-mobile-sort-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid #171717;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: none;
  }

  .cc-mobile-sort-option
  input[type="radio"]:checked {
    border: 6px solid #171717;
  }

  /* Fixed bottom actions */
  body .ast-collapse-filter .cc-drawer-footer {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    padding: 14px 20px
      calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #E6E8EB !important;
    background: #FFFFFF !important;
    box-sizing: border-box;
  }

  body .ast-collapse-filter .cc-filter-reset,
  body .ast-collapse-filter .cc-filter-apply {
    min-height: 48px;
    padding: 12px !important;
    border-radius: 5px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    cursor: pointer;
  }

  body .ast-collapse-filter .cc-filter-reset {
    flex: 1;
    background: #FFFFFF !important;
    color: #171717 !important;
    border: 1px solid #C9CDD0 !important;
  }

  body .ast-collapse-filter .cc-filter-apply {
    flex: 2;
    background: #D1DEE8 !important;
    color: #171717 !important;
    border: 1px solid #D1DEE8 !important;
  }

  /* Hide desktop sort select only on mobile */
  body .ast-shop-toolbar-container
  .woocommerce-ordering {
    display: none !important;
  }

  /* Accessibility */
  body .ast-collapse-filter button:focus-visible,
  .cc-mobile-sort-option input:focus-visible {
    outline: 2px solid #7899B0 !important;
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    body .ast-woocommerce-container .ast-collapse-filter,
    .cc-mobile-filter-backdrop {
      transition: none !important;
    }
  }
}

/* CC — MOBILE PANEL SAFETY FIX */

@media (max-width: 921px) {

  body.cc-mobile-filter-open
  .ast-woocommerce-container .ast-collapse-filter {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate3d(0,0,0) !important;
  }

  body.cc-mobile-filter-open {
    touch-action: auto !important;
  }
}
