.search-kc {
    position: fixed;
    top: 0;
    background-color: #000D17;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    width: 100%;
    z-index: 100000000;
    overflow: auto;
}

.search-top-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stock-close-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.skc-close-btn {
    background: transparent;
    color: white;
    font-weight: 200;
    font-size: 13px;
    padding: 3px 17px;
    margin: 0px;
}

.skc-close-btn:hover {
    background: #033d6f!important;
}


.skc-close-btn:hover {
    background: #f5f5f5;
}

.search-inner-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px;
}

.search-top-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    justify-content: space-between;
    border-bottom: 1px solid #003E6E;
    padding-bottom: 30px;
}

.search-top-section p {
    color: white;
    margin: 0px;
}

span.stock-container {
    display: inline-flex;
    background: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    align-items: center;
    gap: 8px;
    border: 1px solid #D0D5DD;
    margin-bottom: 0px;
}

span.green-in-stock {
    width: 10px;
    height: 10px;
    background: #17B26A;
    border-radius: 10000px;
}

img.search-logo {
    width: 60px !important;
    object-fit: contain;
}

form.skc-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input-container {
    display: flex;
    position: relative;
    flex: 1;
}

svg.search-icon-kc {
    color: #00B0DB;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

input.skc-input {
    padding: 25px 50px;
    margin: 0px;
    border-radius: 6px;
    box-shadow: none;
    border: 1px solid #D0D5DD;
}

button.skc-btn {
    background-color: #00B0DB;
    color: white;
    height: 100%;
    margin: 0px;
    padding: 8px 28px;
}

button.skc-clear-btn {
    background-color: #FFF;
    color: black;
    height: 100%;
    margin: 0px;
    padding: 8px 28px;
}

.popular-searches {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

button.skc-pill {
    background: white;
    margin: 0px;
    border-radius: 6px !important;
    border: 1px solid #D0D5DD;
    text-transform: capitalize;
}

button.skc-filter-pill {
    background: white;
    margin: 0px;
    border-radius: 6px !important;
    border: 1px solid #D0D5DD;
    display: flex;
    align-items: center;
    gap: 8px;
}

button.selected-pill {
    background: #032844;
    color: white;
}


.skc-facet-terms {
    display: flex;
    align-items: center;
    gap: 10px;
}

button.skc-filter-pill.selected.selected-pill {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 10px;
}

button.skc-filter-pill.selected.selected-pill svg {
    width: 16px;
}

.filter-attributes-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    margin-bottom: 25px;
}

.skc-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.skc-item {
    display: flex;
    gap: 0px !important;
    padding: 0px !important;
    background: #F9FAFB !important;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.skc-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.skc-thumb {
    padding: 0px !important;
    background-color: white !important;
    width: 130px !important;
    height: 100% !important;
    object-fit: contain !important;
    flex-shrink: 0;
    border-radius: 5px;
}

.skc-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px !important;
}

.skc-brand {
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #49B3A1 !important;
    font-family: 'blacker' !important;
}

.skc-title {
    font-size: 17px;
    color: #000;
    margin: 0;
}

.skc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.skc-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 9px 10px;
    border-radius: 5px;
    color: black;
    border: 1px solid #f4f4f4;
}

.skc-meta-item .dial-swatch {
    width: 16px;
    height: 16px;
}

.skc-price {
    margin-top: auto;
}

.skc-price bdi {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.skc-loading, .skc-empty, .skc-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: white;
}

.skc-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.skc-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #00B0DB;
    border-radius: 50%;
    animation: skc-spin 0.8s linear infinite;
}

@keyframes skc-spin {
    to { transform: rotate(360deg); }
}

/* Skeleton loaders */
.skc-skeleton {
    pointer-events: none;
    cursor: default;
}

.skeleton-box,
.skeleton-line {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-box {
    display: block;
}

.skeleton-line {
    height: 16px;
}

.skc-skeleton .skc-thumb.skeleton-box {
    width: 140px;
    height: 140px;
}

.skeleton-brand {
    width: 80px;
    height: 18px;
    margin-bottom: 8px;
}

.skeleton-title {
    width: 60%;
    margin-bottom: 8px;
}

.skeleton-meta {
    width: 60px;
    height: 34px;
}

.skeleton-price {
    width: 100px;
    height: 20px;
    margin-top: auto;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skc-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #003E6E;
}

.skc-page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skc-page-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
    min-width: 40px;
    margin: 0px;
    min-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skc-page-btn:hover {
    background: rgba(0, 176, 219, 0.1);
}

.skc-page-btn.skc-page-active {
    background: #00B0DB;
    color: white;
    font-weight: 600;
}

.skc-page-nav {
    padding: 8px 16px;
}

.skc-page-btn.skc-page-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.skc-page-ellipsis {
    color: white;
    padding: 8px 12px;
    font-size: 14px;
}

.skc-load-more-btn {
    background: #00B0DB;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0px;
}

.skc-load-more-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

span.dial-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #D0D5DD;
    flex-shrink: 0;
}

.dial-swatch-black { background-color: #000000; }
.dial-swatch-white { background-color: #ffffff; }
.dial-swatch-blue { background-color: #1e40af; }
.dial-swatch-sundust { background-color: #f6ca97; }
.dial-swatch-green { background-color: #16a34a; }
.dial-swatch-red { background-color: #dc2626; }
.dial-swatch-brown { background-color: #a16207; }
.dial-swatch-gold { background-color: #facc15; }
.dial-swatch-silver { background-color: #e5e7eb; }
.dial-swatch-grey { background-color: #6b7280; }
.dial-swatch-gray { background-color: #6b7280; }
.dial-swatch-champagne { background-color: #f7e68c; }
.dial-swatch-cream { background-color: #fef3c7; }
.dial-swatch-navy { background-color: #1e3a8a; }
.dial-swatch-burgundy { background-color: #991b1b; }
.dial-swatch-rose { background-color: #f43f5e; }
.dial-swatch-pink { background-color: #ec4899; }
.dial-swatch-purple { background-color: #9333ea; }
.dial-swatch-orange { background-color: #ea580c; }
.dial-swatch-yellow { background-color: #eab308; }

/* ============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop: 1440px+ (default styles above) */

/* Desktop: 1024px - 1439px */
@media (max-width: 1439px) {
    .search-inner-container {
        max-width: 1200px;
    }
}

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
    .search-inner-container {
        max-width: 100%;
        padding: 20px;
    }

    .skc-results {
        /* Keep 2 columns on tablet */
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Mobile: 480px - 767px */
@media (max-width: 767px) {
    .search-inner-container {
        padding: 15px;
    }

    .skc-results {
        /* Single column on mobile */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    p.input-title {
        display: none;
    }

    span.stock-container {
        margin-bottom: 0px;
    }

    .popular-searches {
        width: auto;
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .popular-searches::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

    button.skc-pill {
        width: max-content;
        min-width: fit-content;
    }

    .skc-facet-terms {
        width: auto;
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .skc-facet-terms::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

    button.skc-filter-pill {
        width: max-content;
        min-width: fit-content;
    }

    /* Icon-only buttons on mobile */
    button.skc-btn,
    button.skc-clear-btn {
        padding: 15px;
        min-width: 48px;
        font-size: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    button.skc-btn::before {
        content: '';
        display: block;
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21 21-4.34-4.34'/%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    button.skc-clear-btn::before {
        content: '';
        display: block;
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

/* Small Mobile: 320px - 479px */
@media (max-width: 479px) {
    .search-inner-container {
        padding: 10px;
    }
    img.search-logo {
        width: 120px;
        object-fit: contain;
    }

    .image-logo {
        display: none;
    }

    a.skc-item {
        flex-direction: column;
    }
    img.skc-thumb {
        width: 100% !important;
        height: 200px !important;
        padding: 16px !important;
    }

    /* Skeleton adjustments for mobile */
    .skc-skeleton {
        flex-direction: column;
    }

    .skc-skeleton .skc-thumb.skeleton-box {
        width: 100%;
        height: 200px;
    }

    .search-top-section {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
        justify-content: space-between;
        border-bottom: 1px solid #003E6E;
        padding-bottom: 10px;
    }

    .skc-meta {
        display: none;
    }
}