/* =========================================
   LUXE — PREMIUM FASHION STORE
   Responsive Editorial Design
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #fff;
    color: #111;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* =========================================
   ANNOUNCEMENT
========================================= */

.announcement {
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
    color: #fff;

    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;

    animation: announcementReveal .8s ease both;
}

@keyframes announcementReveal {

    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    height: 82px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid #eee;

    position: sticky;
    top: 0;

    z-index: 1000;

    transition:
        background .4s ease,
        box-shadow .4s ease,
        height .4s ease;
}

.navbar.scrolled {
    height: 68px;

    background: rgba(255,255,255,.85);

    backdrop-filter: blur(15px);

    box-shadow: 0 5px 30px rgba(0,0,0,.05);
}


/* LOGO */

.logo {
    font-family: "Playfair Display", serif;

    font-size: 29px;

    font-weight: 600;

    letter-spacing: -1px;

    transition: transform .3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo span {
    color: #888;
}


/* NAV LINKS */

.navbar nav {
    display: flex;

    align-items: center;

    gap: 35px;
}

.navbar nav a {
    position: relative;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: color .3s ease;
}

.navbar nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #111;

    transition: width .35s ease;
}

.navbar nav a:hover::after {
    width: 100%;
}

.navbar nav a:hover {
    color: #777;
}


/* NAV ICONS */

.nav-icons {

    display: flex;

    align-items: center;

    gap: 20px;
}

.nav-icons i {

    font-size: 16px;

    cursor: pointer;

    transition:
        transform .3s ease,
        color .3s ease;
}

.nav-icons i:hover {

    color: #888;

    transform: translateY(-2px);
}


/* CART */

.cart {
    position: relative;
}

.cart span {

    position: absolute;

    top: -10px;
    right: -10px;

    width: 16px;
    height: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111;
    color: #fff;

    font-size: 8px;
}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 650px;

    display: grid;

    grid-template-columns: 45% 55%;

    background: #f7f7f5;

    overflow: hidden;
}


/* HERO CONTENT */

.hero-content {

    padding: 80px 12%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    position: relative;

    z-index: 2;
}


/* SMALL LABEL */

.small-title {

    color: #999;

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 25px;

    opacity: 0;

    animation: textReveal .9s .2s ease forwards;
}


/* HERO HEADING */

.hero h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 6vw, 90px);

    line-height: .92;

    font-weight: 500;

    letter-spacing: -4px;

    overflow: hidden;
}

.hero h1 span {

    display: block;

    color: #999;

    transform: translateY(100%);

    animation: titleReveal 1s .4s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes titleReveal {

    to {
        transform: translateY(0);
    }

}


/* HERO DESCRIPTION */

.hero-text {

    max-width: 420px;

    color: #666;

    font-size: 13px;

    line-height: 1.8;

    margin: 30px 0;

    opacity: 0;

    transform: translateY(20px);

    animation: textReveal .8s .7s ease forwards;
}

@keyframes textReveal {

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* BUTTON */

.primary-btn {

    width: fit-content;

    padding: 16px 27px;

    border: 0;

    background: #111;

    color: #fff;

    font-size: 10px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    opacity: 0;

    transform: translateY(20px);

    animation: textReveal .8s .9s ease forwards;

    transition:
        transform .35s ease,
        background .35s ease;
}

.primary-btn i {

    margin-left: 15px;

    transition: transform .3s ease;
}

.primary-btn:hover {

    background: #333;

    transform: translateY(-4px);
}

.primary-btn:hover i {

    transform: translateX(5px);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image {

    position: relative;

    overflow: hidden;
}

.hero-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0,0,0,.05),
        transparent 30%
    );

    pointer-events: none;
}

.hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1.08);

    animation: heroImageReveal 1.6s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes heroImageReveal {

    to {
        transform: scale(1);
    }

}


/* =========================================
   SECTIONS
========================================= */

.categories,
.products {

    padding: 110px 6%;
}


/* SECTION TITLE */

.section-heading p {

    color: #999;

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.section-heading h2 {

    font-family: "Playfair Display", serif;

    font-size: 42px;

    font-weight: 500;
}


/* =========================================
   CATEGORY
========================================= */

.category-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 20px;

    margin-top: 55px;
}

.category-card {

    height: 430px;

    position: relative;

    overflow: hidden;

    background: #eee;

    opacity: 0;

    transform: translateY(40px);

    transition:
        transform .8s ease,
        opacity .8s ease;
}

.category-card.show {

    opacity: 1;

    transform: translateY(0);
}

.category-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 1s cubic-bezier(.16,1,.3,1);
}

.category-card:hover img {

    transform: scale(1.07);
}

.category-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 45%,
            rgba(0,0,0,.7)
        );
}

.category-card div {

    position: absolute;

    left: 30px;

    bottom: 30px;

    z-index: 2;

    color: #fff;
}

.category-card h3 {

    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin-bottom: 8px;
}

.category-card span {

    font-size: 9px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================
   PRODUCTS
========================================= */

.products {

    background: #fafafa;
}

.section-top {

    display: flex;

    align-items: end;

    justify-content: space-between;
}

.view-all {

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;

    border-bottom: 1px solid #111;

    padding-bottom: 5px;

    transition: .3s;
}

.view-all:hover {

    padding-right: 8px;
}


/* PRODUCT GRID */

.product-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 22px;

    margin-top: 55px;
}

.product-card {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.product-card.show {

    opacity: 1;

    transform: translateY(0);
}


/* PRODUCT IMAGE */

.product-image {

    height: 430px;

    position: relative;

    overflow: hidden;

    background: #eee;
}

.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .8s cubic-bezier(.16,1,.3,1);
}

.product-card:hover .product-image img {

    transform: scale(1.05);
}


/* BADGE */

.badge {

    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 3;

    background: #fff;

    padding: 7px 10px;

    font-size: 8px;

    letter-spacing: 1px;
}


/* WISHLIST */

.wishlist {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 36px;
    height: 36px;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,.9);

    z-index: 3;

    transition: transform .3s ease;
}

.wishlist:hover {

    transform: scale(1.1);
}


/* QUICK ADD */

.quick-add {

    position: absolute;

    bottom: -55px;

    left: 15px;
    right: 15px;

    height: 44px;

    background: #fff;

    color: #111;

    border: 0;

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;

    z-index: 4;

    transition: bottom .4s cubic-bezier(.16,1,.3,1);
}

.product-card:hover .quick-add {

    bottom: 15px;
}


/* PRODUCT INFO */

.product-info {

    padding: 18px 2px;
}

.product-category {

    color: #999;

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 7px;
}

.product-info h3 {

    font-size: 14px;

    font-weight: 500;

    margin-bottom: 10px;
}

.price {

    font-size: 13px;

    font-weight: 600;
}

.price span {

    color: #999;

    font-weight: 400;

    text-decoration: line-through;

    margin-left: 7px;
}


/* =========================================
   PREMIUM BANNER
========================================= */

.premium-banner {

    min-height: 500px;

    padding: 80px 10%;

    display: flex;

    align-items: center;

    color: #fff;

    background:
        linear-gradient(
            rgba(0,0,0,.3),
            rgba(0,0,0,.5)
        ),
        url("https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;
}

.premium-banner p {

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.premium-banner h2 {

    font-family: "Playfair Display", serif;

    font-size: 65px;

    line-height: 1;

    font-weight: 500;

    margin-bottom: 35px;
}

.light-btn {

    padding: 15px 25px;

    background: #fff;

    color: #111;

    border: 0;

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: transform .3s ease;
}

.light-btn:hover {

    transform: translateY(-3px);
}


/* =========================================
   NEWSLETTER
========================================= */

.newsletter {

    text-align: center;

    padding: 100px 20px;
}

.newsletter > p {

    color: #999;

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.newsletter h2 {

    font-family: "Playfair Display", serif;

    font-size: 42px;

    font-weight: 500;

    margin-bottom: 35px;
}

.newsletter-form {

    max-width: 500px;

    margin: auto;

    display: flex;

    border-bottom: 1px solid #111;
}

.newsletter-form input {

    flex: 1;

    border: 0;

    outline: 0;

    padding: 15px 0;

    font-size: 12px;

    background: transparent;
}

.newsletter-form button {

    border: 0;

    background: transparent;

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================
   FOOTER
========================================= */

footer {

    background: #111;

    color: #fff;

    padding: 75px 6%;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;
}

.footer-brand h2 {

    font-family: "Playfair Display", serif;

    font-size: 30px;

    margin-bottom: 15px;
}

.footer-brand span {

    color: #888;
}

.footer-brand p {

    color: #999;

    font-size: 12px;

    line-height: 1.7;

    max-width: 220px;
}

footer h4 {

    color: #999;

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

footer div:not(.footer-brand) a {

    display: block;

    color: #ddd;

    font-size: 11px;

    margin-bottom: 13px;

    transition: .3s;
}

footer a:hover {

    color: #fff;
}

.copyright {

    background: #111;

    color: #666;

    text-align: center;

    padding: 20px;

    border-top: 1px solid #222;

    font-size: 9px;

    letter-spacing: 1px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .navbar {

        height: 72px;

        padding: 0 4%;
    }

    .navbar nav {

        gap: 18px;
    }

    .navbar nav a {

        font-size: 8px;
    }

    .nav-icons {

        gap: 14px;
    }


    /* Hero still remains editorial */

    .hero {

        grid-template-columns: 48% 52%;

        min-height: 550px;
    }

    .hero-content {

        padding: 50px 8%;
    }

    .hero h1 {

        font-size: clamp(48px,7vw,65px);

        letter-spacing: -3px;
    }

    .hero-text {

        font-size: 11px;

        margin: 22px 0;
    }

    .hero-image {

        height: 550px;
    }


    .categories,
    .products {

        padding: 85px 5%;
    }

    .category-grid {

        grid-template-columns: repeat(2,1fr);
    }

    .category-card:last-child {

        grid-column: 1 / -1;
    }

    .product-grid {

        grid-template-columns: repeat(2,1fr);
    }

    .product-image {

        height: 420px;
    }

    footer {

        grid-template-columns: 1fr 1fr;
    }

}


/* =====================================================
   MOBILE — IMPORTANT
   KEEP DESKTOP EDITORIAL COMPOSITION
===================================================== */

@media (max-width: 600px) {


    /* -------------------------------------
       ANNOUNCEMENT
    ------------------------------------- */

    .announcement {

        height: 28px;

        font-size: 7px;

        letter-spacing: 1.3px;
    }


    /* -------------------------------------
       MOBILE NAV
    ------------------------------------- */

    .navbar {

        height: 62px;

        padding: 0 16px;

        background: rgba(255,255,255,.97);

        backdrop-filter: blur(12px);
    }

    .navbar.scrolled {

        height: 58px;
    }

    .logo {

        font-size: 23px;
    }

    /* Hide links */

    .navbar nav {

        display: none;
    }

    /* Keep useful icons */

    .nav-icons {

        gap: 14px;
    }

    .nav-icons i {

        font-size: 14px;
    }

    /* Hide user icon */

    .nav-icons > i:nth-child(2) {

        display: none;
    }

    .cart span {

        width: 14px;
        height: 14px;

        font-size: 7px;

        top: -8px;
        right: -8px;
    }


    /* -------------------------------------
       HERO
       SIDE-BY-SIDE LIKE DESKTOP
    ------------------------------------- */

    .hero {

        display: grid;

        grid-template-columns: 52% 48%;

        min-height: 470px;

        height: 470px;

        background: #f7f7f5;
    }

    .hero-content {

        padding: 35px 12px 35px 22px;

        justify-content: center;

        min-width: 0;
    }

    .small-title {

        font-size: 6px;

        letter-spacing: 1.8px;

        margin-bottom: 15px;

        white-space: nowrap;
    }

    .hero h1 {

        font-size: clamp(36px, 10vw, 49px);

        line-height: .91;

        letter-spacing: -2.5px;
    }

    .hero h1 span {

        color: #999;
    }

    .hero-text {

        font-size: 8px;

        line-height: 1.65;

        max-width: 175px;

        margin: 18px 0;
    }

    .primary-btn {

        padding: 11px 12px;

        font-size: 6.5px;

        letter-spacing: 1px;

        white-space: nowrap;
    }

    .primary-btn i {

        margin-left: 7px;
    }


    /* IMAGE */

    .hero-image {

        height: 470px;
    }

    .hero-image img {

        object-position: center;

        transform: scale(1.04);

        animation:
            heroImageRevealMobile
            1.3s
            cubic-bezier(.16,1,.3,1)
            forwards;
    }

    @keyframes heroImageRevealMobile {

        from {

            transform: scale(1.14);

        }

        to {

            transform: scale(1);

        }

    }


    /* -------------------------------------
       SECTIONS
    ------------------------------------- */

    .categories,
    .products {

        padding: 65px 16px;
    }

    .section-heading p {

        font-size: 7px;

        letter-spacing: 2px;

        margin-bottom: 9px;
    }

    .section-heading h2 {

        font-size: 31px;
    }


    /* -------------------------------------
       CATEGORY
    ------------------------------------- */

    .category-grid {

        grid-template-columns: repeat(2,1fr);

        gap: 10px;

        margin-top: 30px;
    }

    .category-card {

        height: 290px;
    }

    .category-card:last-child {

        grid-column: 1 / -1;

        height: 320px;
    }

    .category-card div {

        left: 16px;

        bottom: 18px;
    }

    .category-card h3 {

        font-size: 21px;

        margin-bottom: 5px;
    }

    .category-card span {

        font-size: 6.5px;

        letter-spacing: .8px;
    }


    /* -------------------------------------
       PRODUCTS
    ------------------------------------- */

    .section-top {

        align-items: end;
    }

    .view-all {

        font-size: 7px;

        padding-bottom: 4px;
    }

    .product-grid {

        grid-template-columns: repeat(2,1fr);

        gap: 14px 10px;

        margin-top: 30px;
    }

    .product-image {

        height: 275px;
    }

    .product-info {

        padding: 12px 1px;
    }

    .product-category {

        font-size: 6.5px;

        letter-spacing: 1px;

        margin-bottom: 5px;
    }

    .product-info h3 {

        font-size: 10px;

        line-height: 1.4;

        margin-bottom: 7px;
    }

    .price {

        font-size: 10px;
    }

    .price span {

        display: none;
    }

    .badge {

        top: 8px;

        left: 8px;

        padding: 5px 6px;

        font-size: 5.5px;
    }

    .wishlist {

        top: 8px;

        right: 8px;

        width: 28px;

        height: 28px;

        font-size: 10px;
    }


    /* Mobile Quick Add */

    .quick-add {

        bottom: 9px;

        left: 9px;

        right: 9px;

        height: 35px;

        font-size: 7px;
    }


    /* -------------------------------------
       PREMIUM BANNER
    ------------------------------------- */

    .premium-banner {

        min-height: 430px;

        padding: 55px 25px;

        background-attachment: scroll;
    }

    .premium-banner p {

        font-size: 7px;

        letter-spacing: 2px;
    }

    .premium-banner h2 {

        font-size: 45px;

        line-height: 1.02;
    }

    .light-btn {

        padding: 12px 18px;

        font-size: 7px;
    }


    /* -------------------------------------
       NEWSLETTER
    ------------------------------------- */

    .newsletter {

        padding: 70px 20px;
    }

    .newsletter > p {

        font-size: 7px;

        letter-spacing: 2px;
    }

    .newsletter h2 {

        font-size: 31px;

        line-height: 1.1;
    }

    .newsletter-form input {

        font-size: 10px;
    }

    .newsletter-form button {

        font-size: 8px;
    }


    /* -------------------------------------
       FOOTER
    ------------------------------------- */

    footer {

        grid-template-columns: 1fr 1fr;

        padding: 55px 22px;

        gap: 35px 20px;
    }

    .footer-brand {

        grid-column: 1 / -1;
    }

    .footer-brand h2 {

        font-size: 26px;
    }

    .footer-brand p {

        font-size: 10px;
    }

    footer h4 {

        font-size: 7px;

        letter-spacing: 1.5px;
    }

    footer div:not(.footer-brand) a {

        font-size: 9px;
    }

    .copyright {

        padding: 17px 10px;

        font-size: 7px;
    }

}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 370px) {

    .navbar {

        padding: 0 13px;
    }

    .nav-icons {

        gap: 11px;
    }

    .hero {

        grid-template-columns: 53% 47%;

        height: 440px;

        min-height: 440px;
    }

    .hero-image {

        height: 440px;
    }

    .hero-content {

        padding-left: 18px;
    }

    .hero h1 {

        font-size: 34px;
    }

    .hero-text {

        font-size: 7px;

        max-width: 145px;
    }

    .primary-btn {

        font-size: 5.5px;

        padding: 10px 10px;
    }

    .product-image {

        height: 245px;
    }

}
/* =========================================
   NAV WISHLIST
========================================= */

.nav-wishlist {
    position: relative;

    cursor: pointer;

    display: flex;
    align-items: center;
}

.nav-wishlist i {
    transition:
        transform .3s ease,
        color .3s ease;
}

.nav-wishlist:hover i {
    transform: translateY(-2px);
}


/* =========================================
   WISHLIST COUNT
========================================= */

.wishlist-count {

    position: absolute;

    top: -10px;
    right: -10px;

    width: 16px;
    height: 16px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
    color: #fff;

    font-size: 8px;

    transition:
        transform .3s ease;
}


/* =========================================
   ACTIVE PRODUCT HEART
========================================= */

.wishlist.active {

    background: #111;

    color: #fff;

}


/* =========================================
   CART COUNT
========================================= */

.cart-count {

    transition:
        transform .3s ease;
}


/* =========================================
   QUICK ADD ADDED STATE
========================================= */

.quick-add.added {

    background: #111;

    color: #fff;

}


/* =========================================
   TOAST
========================================= */

.luxe-toast {

    position: fixed;

    left: 50%;

    bottom: 30px;

    transform:
        translate(-50%, 30px);

    opacity: 0;

    pointer-events: none;

    z-index: 9999;

    background: #111;

    color: #fff;

    padding: 14px 22px;

    font-size: 11px;

    letter-spacing: .5px;

    box-shadow:
        0 10px 35px
        rgba(0,0,0,.18);

    transition:
        opacity .35s ease,
        transform .35s ease;
}

.luxe-toast.show {

    opacity: 1;

    transform:
        translate(-50%, 0);
}


/* MOBILE */

@media (max-width: 600px) {

    .wishlist-count,
    .cart-count {

        width: 13px;
        height: 13px;

        font-size: 7px;

        top: -7px;
        right: -7px;
    }

    .luxe-toast {

        bottom: 20px;

        width: max-content;

        max-width: 90%;

        font-size: 9px;

        padding: 12px 17px;
    }

}
/* =========================================================
   SHOP BY CATEGORY
========================================================= */

.categories {
    padding: 110px 6vw;
    background: #fff;
}

.section-heading p {
    margin: 0 0 12px;

    font-size: 10px;

    letter-spacing: 3px;

    color: #999;

    font-weight: 600;
}

.section-heading h2 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(36px, 4vw, 58px);

    font-weight: 500;

    color: #111;
}


.category-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    margin-top: 45px;

}


.category-card {

    position: relative;

    height: 520px;

    overflow: hidden;

    cursor: pointer;

    background: #f5f5f5;

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}


.category-card.show {

    opacity: 1;

    transform:
        translateY(0);

}


.category-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 1s
        cubic-bezier(.16,1,.3,1);

}


.category-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.68),
            rgba(0,0,0,0)
        );

}


.category-card:hover img {

    transform:
        scale(1.06);

}


.category-card > div {

    position: absolute;

    z-index: 2;

    left: 30px;

    bottom: 30px;

    color: #fff;

}


.category-card h3 {

    margin: 0 0 8px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 32px;

    font-weight: 500;

}


.category-card span {

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* =========================================================
   MOBILE CATEGORY
========================================================= */

@media (max-width: 768px) {

    .categories {

        padding:
            70px 18px;

    }


    .category-grid {

        grid-template-columns:
            1fr;

        gap: 14px;

        margin-top: 30px;

    }


    .category-card {

        height: 390px;

    }


    .category-card > div {

        left: 22px;

        bottom: 22px;

    }


    .category-card h3 {

        font-size: 28px;

    }

}
/* =========================================================
   CATEGORY — MOBILE PREMIUM 2 COLUMN
========================================================= */

@media (max-width: 768px) {

    .categories {
        padding: 55px 14px;
    }

    .section-heading p {
        font-size: 8px;
        letter-spacing: 2.2px;
        margin-bottom: 7px;
    }

    .section-heading h2 {
        font-size: 30px;
        line-height: 1.1;
    }

    .category-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 24px;
    }

    /* CARD */

    .category-card {
        height: 235px;
        min-width: 0;
        border-radius: 0;
        overflow: hidden;

        opacity: 0;
        transform: translateY(28px) scale(.97);

        transition:
            opacity .65s ease,
            transform .65s cubic-bezier(.16, 1, .3, 1);
    }

    /* animation active */

    .category-card.show {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* stagger */

    .category-card:nth-child(1) {
        transition-delay: .05s;
    }

    .category-card:nth-child(2) {
        transition-delay: .15s;
    }

    .category-card:nth-child(3) {
        transition-delay: .25s;
    }

    /* IMAGE */

    .category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;

        transition:
            transform .8s cubic-bezier(.16, 1, .3, 1),
            filter .5s ease;
    }

    /* dark premium overlay */

    .category-card::after {
        content: "";

        position: absolute;
        inset: 0;

        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.72) 0%,
                rgba(0,0,0,.20) 48%,
                rgba(0,0,0,0) 100%
            );

        z-index: 1;
    }

    /* hover / touch feel */

    .category-card:hover img {
        transform: scale(1.06);
    }

    .category-card:active img {
        transform: scale(1.09);
    }

    /* TEXT */

    .category-card > div {
        position: absolute;

        left: 13px;
        bottom: 13px;

        z-index: 2;

        color: #fff;
    }

    .category-card h3 {
        margin: 0 0 4px;

        font-family:
            "Playfair Display",
            serif;

        font-size: 22px;
        line-height: 1;

        font-weight: 500;
    }

    .category-card span {
        display: block;

        font-size: 6px;
        letter-spacing: 1.2px;

        text-transform: uppercase;
        white-space: nowrap;
    }
}