/** Shopify CDN: Minification failed

Line 507:23 Expected ":"

**/
/* Header Styles */
.collection-header {
    margin-bottom: 32px;
    text-align: left;
}

.collection-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 16px 0 8px;
    color: #1a1a1a;
}

.collection-count {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 24px;
}

.collection-toolbar {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 24px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.collection-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 99px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s;
}

.collection-btn:hover {
    border-color: #1a1a1a;
    background-color: #f9f9f9;
}

.collection-template__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 0;
    /* Base: 0 horizontal padding for mobile */
}

@media (min-width: 768px) {
    .collection-template__container {
        padding: 40px 16px;
        /* Restore padding on tablet/desktop */
    }
}

.collection-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Mobile: 2 columns */
    gap: 16px;
}

/* Tablet */
@media (min-width: 768px) {
    .collection-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;

    }
}

/* Desktop */
@media (min-width: 990px) {
    .collection-products {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Override Product Card styles for Grid Context */
.collection-products .product-card {
    flex: 1 1 auto;
    /* Allow growth/shrink in grid cell */
    width: 100%;
    max-width: 100%;
}

/* Pagination Limit Selector */
.collection-pagination-limit {
    position: relative;
}

.pagination-select {
    appearance: none;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 99px;
    padding: 8px 32px 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
}

.pagination-select:hover {
    border-color: #1a1a1a;
    background-color: #f9f9f9;
}

.collection-pagination-limit .select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
/* -------------------------------------------------------------------------
   ADVANCED FILTERING STYLES (Moved from facets.liquid)
   ------------------------------------------------------------------------- */

/* Filter Drawer */
.filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.filter-drawer-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 400px;
    background: #fff;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.filter-drawer.is-visible {
    transform: translateX(0);
}

.filter-drawer__header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.filter-drawer__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.filter-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #1a1a1a;
}

.filter-drawer__content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 32px;
}

.filter-group__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.filter-group__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-reset {
    font-size: 0.8rem;
    text-decoration: underline;
    color: #666;
}

/* Pills (Generic List + Sort) */
.filter-pills,
.sort-options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill,
.sort-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    background: #fff;
}

.filter-pill:hover,
.sort-pill:hover {
    border-color: #1a1a1a;
    background: #f9f9f9;
}

.filter-pill.is-active,
.sort-pill.is-active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.filter-pill.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f5f5f5;
}

.filter-pill input,
.sort-pill input,
.filter-swatch input {
    display: none;
}

.filter-count {
    font-size: 0.8em;
    opacity: 0.8;
}

/* Swatches */
.filter-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-swatch {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    padding: 3px;
    /* Space for border ring */
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.filter-swatch.is-active {
    border-color: #1a1a1a;
}

.swatch-visual {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
}

/* Price Range */
.filter-price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    flex: 1;
}

.price-input-group span {
    color: #666;
    margin-right: 4px;
}

.price-input-group input {
    border: none;
    background: none;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    appearance: none;
    -moz-appearance: textfield;
}

/* Footer */
.filter-drawer__footer {
    padding: 24px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.filter-drawer__clear-btn {
    text-decoration: underline;
    font-size: 0.9rem;
    color: #666;
}

.filter-drawer__apply-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.filter-drawer__apply-btn:hover {
    opacity: 0.9;
}

/* Collection Tiles */
.collection-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.collection-tile {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: #f9f9f9;
}

.collection-tile input {
    display: none;
}

.collection-tile.is-selected {
    border-color: #1a1a1a;
}

.collection-tile__image {
    width: 100%;
    aspect-ratio: 1; /* Square tiles */
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.collection-tile__image img,
.collection-tile__image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.collection-tile__image svg {
    padding: 24px;
    opacity: 0.1;
}

.collection-tile:hover .collection-tile__image img {
    transform: scale(1.05);
}

.collection-tile__title {
    display: block;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    background: white;
}

.collection-tile.is-selected .collection-tile__title {
    background: #1a1a1a;
    color: white;
}

/* Collection Tiles */
.collection-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.collection-tile {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: #f9f9f9;
}

.collection-tile input {
    display: none;
}

.collection-tile.is-selected {
    border-color: #1a1a1a;
}

.collection-tile__image {
    width: 100%;
    aspect-ratio: 1; /* Square tiles */
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.collection-tile__image img,
.collection-tile__image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.collection-tile__image svg {
    padding: 24px;
    opacity: 0.1;
}

.collection-tile:hover .collection-tile__image img {
    transform: scale(1.05);
}

.collection-tile__title {
    display: block;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    background: white;
}

.collection-tile.is-selected .collection-tile__title {
    background: #1a1a1a;
    color: white;clesar
}
