/* =========================================================
   BORN REGAL - KIDS
   PREMIUM BLACK + GOLD THEME
========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    background: #ffffff;

    color: #111111;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


button,
select,
input {
    font-family: inherit;
}


button {
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


:root {

    --kids-black: #111111;

    --kids-gold: #c5a04a;

    --kids-gold-dark: #9d7929;

    --kids-gold-light: #f8f3e8;

    --kids-border: #dedbd4;

    --kids-grey: #707070;

}


/* =========================================================
   CONTAINER
========================================================= */

.kids-container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding-left: 24px;

    padding-right: 24px;
}


/* =========================================================
   KIDS COLLECTION HERO
   Shipping Policy style
========================================================= */

.kids-hero {

    position: relative;

    width: 100%;

    min-height: 225px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            100deg,
            #ffffff 0%,
            #ffffff 48%,
            #fbfaf7 100%
        );

    border-bottom:
        1px solid
        #dedbd4;
}


.kids-hero::before {

    content: "";

    position: absolute;

    top: 0;

    right: 0;

    width: 30%;

    height: 100%;

    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(
                197,
                160,
                74,
                .10
            ),
            transparent 65%
        );

    pointer-events: none;
}


.kids-hero-content {

    position: relative;

    z-index: 2;

    text-align: center;

    padding: 38px 20px;
}


.kids-hero-small {

    display: block;

    margin-bottom: 13px;

    color:
        var(--kids-gold-dark);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.kids-hero-content h1 {

    margin: 0;

    color:
        var(--kids-black);

    font-size:
        clamp(
            42px,
            5vw,
            58px
        );

    line-height: 1.08;

    font-weight: 600;

    letter-spacing: -1.8px;
}


.kids-hero-content p {

    margin: 15px auto 0;

    max-width: 650px;

    color:
        #666666;

    font-size: 14px;

    line-height: 1.6;
}


.kids-hero-line {

    display: block;

    width: 42px;

    height: 2px;

    margin: 21px auto 0;

    background:
        var(--kids-gold);
}


/* =========================================================
   CATEGORY TABS
========================================================= */

.kids-category-section {

    padding-top: 32px;

    padding-bottom: 25px;
}


.kids-category-tabs {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;
}


.kids-category-tab {

    min-width: 105px;

    height: 40px;

    padding: 0 22px;

    background: #ffffff;

    border:
        1px solid
        var(--kids-border);

    color:
        var(--kids-black);

    font-size: 13px;

    font-weight: 600;

    transition: .2s ease;
}


.kids-category-tab:hover {

    border-color:
        var(--kids-gold);

    color:
        var(--kids-gold-dark);
}


.kids-category-tab.active {

    background:
        var(--kids-black);

    border-color:
        var(--kids-black);

    color: #ffffff;
}


/* =========================================================
   FILTER
========================================================= */

.kids-filter-section {

    padding-bottom: 22px;
}


.kids-filter-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.kids-filter-left {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;
}


.kids-filter {

    position: relative;
}


.kids-filter-button {

    min-width: 116px;

    height: 42px;

    padding: 0 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    background: #ffffff;

    border:
        1px solid
        var(--kids-border);

    color:
        var(--kids-black);

    font-size: 13px;

    transition: .2s ease;
}


.kids-filter-button:hover {

    border-color:
        var(--kids-gold);

    color:
        var(--kids-gold-dark);
}


.kids-filter-button i {

    font-size: 10px;

    transition:
        transform .2s ease;
}


.kids-filter.open
.kids-filter-button i {

    transform:
        rotate(180deg);
}


/* =========================================================
   DROPDOWN
========================================================= */

.kids-filter-dropdown {

    position: absolute;

    top:
        calc(
            100% + 7px
        );

    left: 0;

    z-index: 100;

    width: 210px;

    max-height: 330px;

    overflow-y: auto;

    display: none;

    padding: 18px;

    background: #ffffff;

    border:
        1px solid
        var(--kids-border);

    box-shadow:
        0 15px 35px
        rgba(
            0,
            0,
            0,
            .12
        );
}


.kids-filter.open
.kids-filter-dropdown {

    display: block;
}


.kids-filter-heading {

    margin-bottom: 12px;

    padding-bottom: 10px;

    border-bottom:
        1px solid
        #eeeeee;

    font-size: 13px;

    font-weight: 700;
}


.kids-filter-option {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 7px 0;

    font-size: 13px;

    color: #333333;
}


.kids-filter-option input {

    width: 15px;

    height: 15px;

    accent-color:
        var(--kids-gold-dark);
}


/* =========================================================
   ALL FILTERS
========================================================= */

.all-filter-box {

    position: relative;
}


.kids-all-filter-panel {

    position: absolute;

    top:
        calc(
            100% + 7px
        );

    right: 0;

    z-index: 200;

    width: 430px;

    max-height: 600px;

    overflow-y: auto;

    display: none;

    padding: 22px;

    background: #ffffff;

    border:
        1px solid
        var(--kids-border);

    box-shadow:
        0 18px 45px
        rgba(
            0,
            0,
            0,
            .15
        );
}


.all-filter-box.open
.kids-all-filter-panel {

    display: block;
}


.kids-all-filter-title {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 16px;

    border-bottom:
        1px solid
        #eeeeee;

    font-size: 15px;

    font-weight: 700;
}


.kids-all-filter-close {

    width: 28px;

    height: 28px;

    background: transparent;

    border: 0;

    font-size: 21px;
}


.kids-all-filter-group {

    padding: 17px 0;

    border-bottom:
        1px solid
        #eeeeee;
}


.kids-all-filter-group h4 {

    margin: 0 0 12px;

    font-size: 13px;
}


.kids-all-options {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.kids-all-options label {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 10px;

    border:
        1px solid
        #e2dfd8;

    font-size: 12px;

    cursor: pointer;
}


.kids-all-options label:hover {

    border-color:
        var(--kids-gold);
}


.kids-all-options input {

    accent-color:
        var(--kids-gold-dark);
}


.kids-clear-all {

    width: 100%;

    height: 42px;

    margin-top: 18px;

    background:
        var(--kids-black);

    border:
        1px solid
        var(--kids-black);

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   RIGHT FILTER
========================================================= */

.kids-filter-right {

    display: flex;

    align-items: center;

    gap: 20px;
}


.kids-product-count {

    color:
        #555555;

    font-size: 13px;

    white-space: nowrap;
}


.kids-sort {

    width: 145px;

    height: 42px;

    padding: 0 12px;

    background: #ffffff;

    border:
        1px solid
        var(--kids-border);

    color:
        var(--kids-black);

    font-size: 13px;

    outline: none;
}


.kids-sort:focus {

    border-color:
        var(--kids-gold);
}


/* =========================================================
   SELECTED FILTERS
========================================================= */

.kids-selected-filters {

    display: none;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 18px;

    padding: 13px 15px;

    background:
        #fcfaf5;

    border:
        1px solid
        #eee5d2;
}


.kids-selected-filters.show {

    display: flex;
}


.selected-filter-label {

    font-size: 12px;

    font-weight: 700;
}


.selected-filter-list {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.selected-filter-chip {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    height: 30px;

    padding: 0 10px;

    background: #ffffff;

    border:
        1px solid
        #ddd5c4;

    color: #222222;

    font-size: 11px;
}


.selected-filter-chip i {

    color:
        var(--kids-gold-dark);

    font-size: 9px;
}


.selected-clear-button {

    margin-left: auto;

    background: transparent;

    border: 0;

    color:
        var(--kids-gold-dark);

    font-size: 11px;

    text-decoration: underline;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.kids-products-section {

    padding-top: 5px;

    padding-bottom: 80px;
}


.kids-product-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap: 24px;
}


.kids-product-card {

    min-width: 0;

    background: #ffffff;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.kids-product-image-wrap {

    position: relative;

    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background:
        #f5f4f1;
}


.kids-product-image-link {

    display: block;

    width: 100%;

    height: 100%;
}


.kids-product-image {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease;
}


.kids-product-image-wrap:hover
.kids-product-image {

    transform:
        scale(1.025);
}


/* =========================================================
   BADGE
========================================================= */

.kids-product-badge {

    position: absolute;

    top: 12px;

    left: 12px;

    z-index: 5;

    padding: 7px 10px;

    background:
        var(--kids-black);

    border:
        1px solid
        rgba(
            197,
            160,
            74,
            .65
        );

    color:
        var(--kids-gold);

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================================
   WISHLIST
========================================================= */

.kids-wishlist {

    position: absolute;

    top: 12px;

    right: 12px;

    z-index: 8;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border: 0;

    border-radius: 50%;

    color:
        var(--kids-black);

    box-shadow:
        0 4px 14px
        rgba(
            0,
            0,
            0,
            .10
        );

    transition: .2s ease;
}


.kids-wishlist:hover {

    color:
        var(--kids-gold-dark);

    transform:
        scale(1.06);
}


.kids-wishlist.active {

    color:
        var(--kids-gold-dark);
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.kids-product-info {

    padding-top: 14px;
}


.kids-product-category {

    margin-bottom: 7px;

    color:
        #777777;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


.kids-product-name {

    margin: 0;

    font-size: 16px;

    line-height: 1.35;

    font-weight: 600;
}


.kids-product-name a:hover {

    color:
        var(--kids-gold-dark);
}


/* =========================================================
   RATING
========================================================= */

.kids-rating {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 8px;
}


.kids-rating > span:first-child {

    color:
        var(--kids-gold-dark);

    font-size: 11px;

    letter-spacing: 1px;
}


.kids-rating-count {

    color:
        #777777;

    font-size: 11px;
}


/* =========================================================
   PRICE
========================================================= */

.kids-price {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 10px;
}


.kids-price strong {

    color:
        var(--kids-black);

    font-size: 15px;

    font-weight: 700;
}


.kids-price del {

    color:
        #999999;

    font-size: 11px;
}


.kids-price > span {

    padding: 4px 6px;

    background:
        var(--kids-gold-light);

    color:
        var(--kids-gold-dark);

    font-size: 9px;

    font-weight: 700;
}


/* =========================================================
   COLORS
========================================================= */

.kids-color-section {

    margin-top: 16px;

    padding-top: 13px;

    border-top:
        1px solid
        #eeeeee;
}


.kids-color-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 11px;

    color:
        #555555;

    font-size: 11px;
}


.kids-hover-color-name {

    color:
        var(--kids-gold-dark);

    font-weight: 700;
}


.kids-color-swatches {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 11px;
}


/* =========================================================
   SWATCH
========================================================= */

.kids-swatch-wrapper {

    position: relative;

    width: 25px;

    height: 25px;

    display: block;
}


/*
   FIRST 5 ONLY
*/

.kids-hidden-color {

    display: none;
}


/*
   AFTER + CLICK
*/

.kids-hidden-color.show-color {

    display: block;
}


/* =========================================================
   +6 BUTTON
========================================================= */

.kids-more-colors {

    width: 29px;

    height: 29px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    background:
        #ffffff;

    border:
        1px solid
        #cfc8ba;

    border-radius: 50%;

    color:
        var(--kids-gold-dark);

    font-size: 10px;

    font-weight: 700;

    transition: .2s ease;
}


.kids-more-colors:hover {

    background:
        var(--kids-black);

    border-color:
        var(--kids-black);

    color:
        var(--kids-gold);
}


/* =========================================================
   COLOR SWATCH
========================================================= */

.kids-color-swatch {

    width: 25px;

    height: 25px;

    padding: 0;

    border-radius: 50%;

    border:
        1px solid
        #cfcfcf;

    outline:
        1px solid
        transparent;

    outline-offset: 3px;

    transition:
        transform .18s ease,
        outline-color .18s ease;
}


.kids-color-swatch:hover {

    transform:
        scale(1.08);

    outline-color:
        var(--kids-gold);
}


.kids-color-swatch.active {

    outline-color:
        var(--kids-gold-dark);
}


.kids-color-swatch[style*="#ffffff"] {

    border-color:
        #b9b9b9;
}


/* =========================================================
   COLOR TOOLTIP
========================================================= */

.kids-swatch-tooltip {

    position: absolute;

    left: 50%;

    bottom:
        calc(
            100% + 10px
        );

    transform:
        translateX(-50%)
        translateY(5px);

    z-index: 100;

    min-width: max-content;

    padding: 6px 9px;

    background:
        var(--kids-black);

    border:
        1px solid
        var(--kids-gold);

    color:
        #ffffff;

    font-size: 10px;

    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .18s ease,
        transform .18s ease;
}


.kids-swatch-tooltip::after {

    content: "";

    position: absolute;

    left: 50%;

    top: 100%;

    transform:
        translateX(-50%);

    border-left:
        5px solid transparent;

    border-right:
        5px solid transparent;

    border-top:
        5px solid
        var(--kids-gold);
}


.kids-swatch-wrapper:hover
.kids-swatch-tooltip {

    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


/* =========================================================
   NO PRODUCTS
========================================================= */

.kids-no-products {

    display: none;

    text-align: center;

    padding: 90px 20px;
}


.kids-no-products.show {

    display: block;
}


.kids-no-products h3 {

    margin:
        0 0 8px;

    color:
        var(--kids-black);

    font-size: 22px;
}


.kids-no-products p {

    margin:
        0 0 22px;

    color:
        #777777;

    font-size: 13px;
}


.kids-no-products button {

    height: 42px;

    padding:
        0 25px;

    background:
        var(--kids-black);

    border:
        1px solid
        var(--kids-gold);

    color:
        var(--kids-gold);

    font-size: 12px;

    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .kids-product-grid {

        grid-template-columns:
            repeat(
                3,
                minmax(
                    0,
                    1fr
                )
            );
    }

}


@media (max-width: 850px) {

    .kids-hero {

        min-height: 210px;
    }


    .kids-filter-row {

        flex-direction: column;

        align-items: flex-start;
    }


    .kids-filter-right {

        width: 100%;

        justify-content: space-between;
    }


    .kids-product-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

        gap: 18px;
    }

}


@media (max-width: 600px) {

    .kids-container {

        padding-left: 14px;

        padding-right: 14px;
    }


    .kids-hero {

        min-height: 190px;
    }


    .kids-hero-content {

        padding:
            35px 15px;
    }


    .kids-hero-content h1 {

        font-size: 38px;

        letter-spacing: -1px;
    }


    .kids-hero-content p {

        font-size: 12px;
    }


    .kids-category-tabs {

        justify-content:
            flex-start;

        overflow-x: auto;
    }


    .kids-category-tab {

        min-width: 100px;
    }


    .kids-filter-left {

        width: 100%;
    }


    .kids-filter {

        flex: 1;
    }


    .kids-filter-button {

        width: 100%;

        min-width: 0;
    }


    .kids-filter-right {

        width: 100%;

        gap: 10px;
    }


    .kids-sort {

        flex: 1;
    }


    .kids-product-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

        gap: 14px;
    }


    .kids-product-name {

        font-size: 14px;
    }


    .kids-all-filter-panel {

        position: fixed;

        left: 14px;

        right: 14px;

        top: 100px;

        width: auto;

        max-height:
            calc(
                100vh - 120px
            );
    }

}