/* =========================================
   HERO
========================================= */

.hero-section {
    position: relative;

    overflow: hidden;

    background: var(--light);

    padding: 70px 0;
}


.hero-inner {
    min-height: 540px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;
}


/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
    max-width: 560px;
}


.hero-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


.hero-content h1 {
    margin: 0 0 22px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    font-weight: 700;

    color: var(--dark);
}


.hero-content p {
    max-width: 500px;

    margin: 0 0 30px;

    font-size: 17px;

    line-height: 1.7;

    color: #666;
}


/* =========================================
   HERO BUTTONS
========================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;
}


.btn-outline {
    border: 1px solid var(--primary);

    color: var(--primary);

    background: transparent;
}


.btn-outline:hover {
    background: var(--primary);

    color: #fff;
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image {
    display: flex;

    align-items: center;
    justify-content: center;
}


.hero-image-shape {
    width: min(500px, 100%);

    aspect-ratio: 1 / 1;

    border-radius: 50%;

    overflow: hidden;

    background: #eee;
}


.hero-image-shape img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    max-width: 650px;

    margin: 0 auto 45px;

    text-align: center;
}


.section-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


.section-heading h2 {
    margin: 0 0 12px;

    font-size: 42px;

    line-height: 1.15;
}


.section-heading p {
    margin: 0;

    color: #666;

    line-height: 1.6;
}


/* =========================================
   CATEGORIES
========================================= */

.categories-section {
    padding: 90px 0;
}


.category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.category-card {
    overflow: hidden;

    border-radius: 18px;

    background: #fff;

    border: 1px solid #eee;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.category-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .08);
}


.category-image {
    aspect-ratio: 1 / .72;

    overflow: hidden;

    background: var(--light);
}


.category-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}


.category-card:hover
.category-image img {
    transform: scale(1.05);
}


.category-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #999;

    font-size: 18px;
}


.category-content {
    padding: 18px 20px 20px;
}


.category-content h3 {
    margin: 0 0 7px;

    font-size: 19px;
}


.category-content span {
    color: var(--primary);

    font-size: 13px;

    font-weight: 600;
}


/* =========================================
   NO CATEGORY
========================================= */

.no-categories {
    grid-column: 1 / -1;

    padding: 50px;

    text-align: center;

    background: var(--light);

    border-radius: 15px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .hero-section {
        padding: 50px 0;
    }


    .hero-inner {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 40px;
    }


    .hero-content {
        max-width: 700px;

        margin: auto;
    }


    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-buttons {
        justify-content: center;
    }


    .hero-image-shape {
        width: min(420px, 80vw);
    }


    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .hero-section {
        padding: 40px 0;
    }


    .hero-content h1 {
        font-size: 40px;
    }


    .hero-content p {
        font-size: 15px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-buttons .btn {
        width: 100%;
    }


    .hero-image-shape {
        width: 90vw;
    }


    .categories-section {
        padding: 60px 0;
    }


    .section-heading {
        margin-bottom: 30px;
    }


    .section-heading h2 {
        font-size: 32px;
    }


    .category-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

}
/* =========================================
   PRODUCT RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .product-grid {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 20px;
    }

}


@media (max-width: 700px) {

    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 15px;
    }

    .product-title {
        font-size: 15px;
    }

    .product-price {
        font-size: 15px;
    }

}


@media (max-width: 400px) {

    .product-grid {
        gap: 12px;
    }

    .product-actions .button {
        font-size: 12px;

        padding-left: 10px;
        padding-right: 10px;
    }

}