/* =========================================================
   SALES PAGE
========================================================= */

.sales-page {
    min-height: 100vh;

    background: #0c0c0c;
    color: #fff;
}


.sales-container {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;
}



/* =========================================================
   HERO
========================================================= */

.sales-hero {
    padding:
        165px 0
        90px;

    background:
        linear-gradient(
            180deg,
            #090909 0%,
            #0d0d0d 100%
        );

    border-bottom:
        1px solid rgba(255,255,255,.07);
}


.sales-hero-content {
    max-width: 1050px;
}


.sales-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: #c9a84c;

    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .24em;

    text-transform: uppercase;
}


.sales-hero h1 {
    margin: 0;

    color: #fff;

    font-size:
        clamp(3.1rem, 6vw, 6.8rem);

    font-weight: 600;

    line-height: .96;

    letter-spacing: -.045em;
}


.sales-hero h1 span,
.sales-hero h1 strong {
    display: block;
}


.sales-hero h1 strong {
    color: #c9a84c;

    font-weight: inherit;
}


.sales-description {
    max-width: 680px;

    margin-top: 28px;

    color:
        rgba(255,255,255,.50);

    font-size: .90rem;

    line-height: 1.85;
}



/* =========================================================
   CATEGORIES
========================================================= */

.sales-categories {
    padding:
        90px 0
        130px;
}


.sales-category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}



/* =========================================================
   CARD
========================================================= */

.sales-category-card {
    position: relative;

    min-height: 490px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );

    color: #fff;

    text-decoration: none;

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}


.sales-category-card::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -140px;
    right: -140px;

    border-radius: 50%;

    background:
        rgba(201,168,76,.07);

    transition:
        transform .45s ease,
        background .45s ease;
}


.sales-category-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(201,168,76,.35);

    background:
        linear-gradient(
            145deg,
            rgba(201,168,76,.055),
            rgba(255,255,255,.015)
        );
}


.sales-category-card:hover::before {
    transform:
        scale(1.4);

    background:
        rgba(201,168,76,.10);
}



/* =========================================================
   TOP
========================================================= */

.sales-category-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}


.sales-category-number {
    color:
        rgba(255,255,255,.24);

    font-size: .68rem;
    font-weight: 700;

    letter-spacing: .12em;
}


.sales-category-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(201,168,76,.28);

    border-radius: 50%;

    color: #c9a84c;

    background:
        rgba(201,168,76,.035);

    transition:
        transform .35s ease,
        background .35s ease;
}


.sales-category-icon svg {
    width: 26px;
    height: 26px;
}


.sales-category-card:hover
.sales-category-icon {
    transform:
        rotate(-5deg)
        scale(1.08);

    background:
        rgba(201,168,76,.10);
}



/* =========================================================
   CONTENT
========================================================= */

.sales-category-content {
    position: relative;
    z-index: 2;

    margin-top: auto;

    padding-top: 90px;
}


.sales-category-label {
    display: block;

    margin-bottom: 12px;

    color: #c9a84c;

    font-size: .60rem;
    font-weight: 800;

    letter-spacing: .17em;
}


.sales-category-content h2 {
    margin: 0;

    color: #fff;

    font-size:
        clamp(1.8rem, 2.6vw, 2.8rem);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -.03em;
}


.sales-category-content h2 strong {
    display: block;

    font-weight: 700;
}


.sales-category-content p {
    max-width: 330px;

    margin:
        18px 0
        0;

    color:
        rgba(255,255,255,.43);

    font-size: .80rem;

    line-height: 1.7;
}



/* =========================================================
   BOTTOM
========================================================= */

.sales-category-bottom {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 35px;
    padding-top: 20px;

    border-top:
        1px solid rgba(255,255,255,.08);

    color:
        rgba(255,255,255,.65);

    font-size: .70rem;
    font-weight: 700;

    letter-spacing: .04em;
}


.sales-category-arrow {
    color: #c9a84c;

    font-size: 1.2rem;

    transition:
        transform .30s ease;
}


.sales-category-card:hover
.sales-category-arrow {
    transform:
        translateX(6px);
}



/* =========================================================
   LIGHT MODE
========================================================= */

body.light-mode .sales-page {
    background: #f4f4f2;

    color: #161616;
}


body.light-mode .sales-hero {
    background:
        linear-gradient(
            180deg,
            #f4f4f2,
            #ececea
        );

    border-bottom-color:
        rgba(0,0,0,.07);
}


body.light-mode .sales-hero h1 {
    color: #161616;
}


body.light-mode
.sales-hero h1 strong,
body.light-mode
.sales-eyebrow {
    color: #9d7c22;
}


body.light-mode
.sales-description {
    color: #666;
}


body.light-mode
.sales-category-card {
    background: #fff;

    color: #161616;

    border-color:
        rgba(0,0,0,.08);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.035);
}


body.light-mode
.sales-category-card:hover {
    border-color:
        rgba(157,124,34,.30);

    background: #fff;
}


body.light-mode
.sales-category-number {
    color:
        rgba(0,0,0,.25);
}


body.light-mode
.sales-category-icon {
    color: #9d7c22;

    border-color:
        rgba(157,124,34,.25);

    background:
        rgba(157,124,34,.035);
}


body.light-mode
.sales-category-label {
    color: #9d7c22;
}


body.light-mode
.sales-category-content h2 {
    color: #161616;
}


body.light-mode
.sales-category-content p {
    color: #666;
}


body.light-mode
.sales-category-bottom {
    color: #555;

    border-top-color:
        rgba(0,0,0,.08);
}


body.light-mode
.sales-category-arrow {
    color: #9d7c22;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .sales-container {
        width:
            calc(100% - 50px);
    }


    .sales-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .sales-container {
        width:
            calc(100% - 32px);
    }


    .sales-hero {
        padding:
            125px 0
            65px;
    }


    .sales-hero h1 {
        font-size:
            clamp(2.8rem, 13vw, 4.5rem);
    }


    .sales-categories {
        padding:
            55px 0
            80px;
    }


    .sales-category-grid {
        grid-template-columns: 1fr;
    }


    .sales-category-card {
        min-height: 400px;

        padding: 24px;
    }


    .sales-category-content {
        padding-top: 65px;
    }

}

.sales-empty {
    padding: 55px 20px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 14px;

    color: rgba(255,255,255,.45);

    text-align: center;
}

body.light-mode .sales-empty {
    border-color:
        rgba(0,0,0,.08);

    color: #666;
}