/* =========================================================
   KINGSTON GROOM SUITS
   COLLECTIONS PAGE
   Black / Gold Luxury Design
========================================================= */

.kgs-collections-page {
    min-height: 100vh;
    padding: 90px 0 110px;
    background: #050505;
    color: #f2f0ea;
}

.kgs-collections-page .kgs-products-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   PAGE HERO
========================================================= */

.kgs-collections-page .kgs-products-header {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
}

.kgs-collections-page .kgs-products-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #d8af32;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.kgs-collections-page .kgs-products-header h1 {
    margin: 0 0 20px;
    color: #f4f1eb;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 500;
    line-height: 1;
}

.kgs-collections-page .kgs-products-header p {
    max-width: 760px;
    margin: 0 auto;
    color: #999;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   CATEGORY COLLECTION GRID
========================================================= */

.kgs-collections-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 100px;
}

.kgs-collection-category {
    position: relative;
    min-height: 280px;
    padding: 38px 32px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #151515,
            #090909
        );

    border: 1px solid rgba(216, 175, 50, .18);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.kgs-collection-category::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(216,175,50,.08),
            transparent 45%
        );
}

.kgs-collection-category:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 175, 50, .55);
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
}

.kgs-collection-category-content {
    position: relative;
    z-index: 1;
}

.kgs-collection-category .kgs-products-eyebrow {
    margin-bottom: 12px;
    font-size: 8px;
    letter-spacing: 2px;
}

.kgs-collection-category h2 {
    margin: 0 0 12px;
    color: #f1eee8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.kgs-collection-category p {
    min-height: 48px;
    margin: 0 0 25px;
    color: #999;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   COLLECTION BUTTON
========================================================= */

.kgs-collections-page .kgs-products-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 11px 19px;

    color: #050505;
    background: #d8af32;
    border: 1px solid #d8af32;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.kgs-collections-page .kgs-products-filter-btn:hover {
    color: #d8af32;
    background: transparent;
}


/* =========================================================
   FEATURED COLLECTION
========================================================= */

.kgs-collections-products {
    padding-top: 15px;
}

.kgs-collections-products > .kgs-products-header {
    margin-bottom: 45px;
}

.kgs-collections-products > .kgs-products-header h2 {
    margin: 0 0 15px;
    color: #f4f1eb;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
}

.kgs-collections-products > .kgs-products-header p {
    color: #888;
    font-size: 13px;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.kgs-collections-page .kgs-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.kgs-collections-page .kgs-product-card {
    overflow: hidden;
    background: #0c0c0c;
    border: 1px solid rgba(255,255,255,.08);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.kgs-collections-page .kgs-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(216,175,50,.45);
}

.kgs-collections-page .kgs-product-card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #111;
}

.kgs-collections-page .kgs-product-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform .45s ease;
}

.kgs-collections-page .kgs-product-card:hover img {
    transform: scale(1.035);
}

.kgs-collections-page .kgs-product-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;
    font-size: 11px;
}

.kgs-collections-page .kgs-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;

    padding: 7px 10px;

    color: #050505;
    background: #d8af32;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kgs-collections-page .kgs-product-card-content {
    padding: 27px 25px 28px;
}

.kgs-collections-page .kgs-product-card-category {
    display: block;
    margin-bottom: 10px;

    color: #d8af32;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.kgs-collections-page .kgs-product-card-content h2 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.kgs-collections-page .kgs-product-card-content h2 a {
    color: #eee;
    text-decoration: none;
}

.kgs-collections-page .kgs-product-card-content h2 a:hover {
    color: #d8af32;
}

.kgs-collections-page .kgs-product-card-content p {
    min-height: 42px;
    margin: 0 0 22px;

    color: #888;
    font-size: 11px;
    line-height: 1.7;
}

.kgs-collections-page .kgs-product-card-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 13px;
}

.kgs-collections-page .kgs-product-card-price span {
    color: #666;
    font-size: 10px;
    text-decoration: line-through;
}

.kgs-collections-page .kgs-product-card-price strong {
    color: #d8af32;
    font-size: 16px;
}

.kgs-collections-page .kgs-product-card-stock {
    margin-bottom: 22px;
    color: #83bd83;
    font-size: 9px;
    font-weight: 700;
}

.kgs-collections-page .kgs-product-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    color: #d8af32;
    background: transparent;
    border: 1px solid #d8af32;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color .2s ease,
        background .2s ease;
}

.kgs-collections-page .kgs-product-card-btn:hover {
    color: #050505;
    background: #d8af32;
}


/* =========================================================
   VIEW ALL
========================================================= */

.kgs-collections-page .kgs-section-action {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.kgs-collections-page .kgs-products-empty {
    max-width: 700px;
    margin: 80px auto;
    padding: 70px 30px;
    text-align: center;

    border: 1px solid rgba(216,175,50,.2);
}

.kgs-collections-page .kgs-products-empty h2 {
    margin: 0 0 15px;
    color: #f1eee8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
}

.kgs-collections-page .kgs-products-empty p {
    margin: 0 0 25px;
    color: #888;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .kgs-collections-categories,
    .kgs-collections-page .kgs-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kgs-collections-page {
        padding-top: 65px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .kgs-collections-page {
        padding: 55px 0 75px;
    }

    .kgs-collections-page .kgs-products-container {
        width: min(100% - 28px, 520px);
    }

    .kgs-collections-page .kgs-products-header {
        margin-bottom: 45px;
    }

    .kgs-collections-page .kgs-products-header h1 {
        font-size: 42px;
    }

    .kgs-collections-page .kgs-products-header p {
        font-size: 13px;
    }

    .kgs-collections-categories,
    .kgs-collections-page .kgs-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kgs-collection-category {
        min-height: 250px;
        padding: 30px 25px;
    }

    .kgs-collection-category h2 {
        font-size: 27px;
    }

    .kgs-collections-products > .kgs-products-header h2 {
        font-size: 36px;
    }

    .kgs-collections-page .kgs-product-card-content {
        padding: 23px 20px 24px;
    }
}