.hero {
    background-image: url("../images/storeavailability.png");
    text-align: center;
    background-size: cover;
    background-position: center;
}

.section {
    padding: var(--section-padding);
}

.store-section {
    display: flex;
    align-items: center;
    gap: var(--row-img-paragraph);

}

.store-image {
    width: calc(30% - 38px);
    border-radius: var(--small-img);
    aspect-ratio: var(--sq-img);
    background-position: center;
    background-size: cover;
    background-image: url(../images/store.png)
}

.store-title-mobile {
    display: none;
}


.store-text {
    width: calc(70% - 38px);
}

.store-title-mobile {
    display: none;
}


.category {
    background-color: var(--warm-light-gray);
    padding: 45px 0 55px;
}

.category-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 42px;
    gap: 20px;
}


.search-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    width: auto;
    max-width: 360px;
    padding: 16px 40px;
    border-radius: 25px;
    background-color: var(--light-cream);
    border: 1px solid var(--medium-warm-gray);
    font-family: var(--paragraph);
    font-size: var(--h3-size);
    color: var(--medium-warm-gray);
    display: flex;
    align-items: center;
    flex: 1;
}


.go-btn {
    padding: 16px 40px;
    border-radius: 25px;
    border: none;
    background-color: var(--deep-cocoa-brown);
    color: var(--light-cream);
    font-family: var(--paragraph);
    font-weight: var(--regular);
    font-size: var(--h3-size);
}

.go-btn:hover {
    background-color: var(--warm-light-gray);
}

.category-menu {
    display: flex;
    justify-content: center;
    gap: 68px;
    padding: 40px 42px 0;
    flex-wrap: wrap;
}


.category-item {
    font-family: var(--heading);
    font-size: var(--h3-size);
    color: var(--deep-cocoa-brown);
    padding-bottom: 6px;
}

.category-item.active {
    opacity: 1;
    border-bottom: 2px solid var(--warm-golden-accent);
}

.product-list {
    display: flex;
    justify-content: center;
    gap: var(--row-list-img-three);
    padding: var(--section-padding);
}

.product-box {
    width: calc(33.3% - 40.67px);
    display: flex;
    flex-direction: column;
    gap: var(--list-title-paragraph);
}

.product-pic img {
    width: 100%;
    aspect-ratio: var(--sq-img);
    object-fit: cover;
    border-radius: var(--small-img);
    box-shadow: var(--shadow);
}

.product-text {
    display: flex;
    flex-direction: column;
    gap: var(--list-title-paragraph);
}

.product-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--paragraph);
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-dot {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-warm-gray);
}

.dot.on {
    background-color: var(--transparency-bg);
}

.dot.cocoa {
    background-color: var(--deep-cocoa-brown);
}

.dot.golden {
    background-color: var(--warm-golden-accent);
}

.dot.clay {
    background-color: var(--clay-taupe);
}

.material-intro {
    display: flex;
    gap: var(--row-img-paragraph);
    align-items: center;
    position: relative;
    z-index: 1001;
}

.title h6 {
    color: var(--light-cream);
}


.material-info {
    width: 50%;
    padding-right: 30px;
}

.material-img {
    background-image: url(../images/material.png);
    border-radius: var(--left-img);
    box-shadow: var(--shadow);
    width: calc(50% - 38px);
    aspect-ratio: var(--left-overlay-img);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1001;
    top: -15px;
    margin-bottom: -60px;
}

.material-content>div {
    display: flex;
    flex-direction: column;
    gap: var(--list-title-paragraph);
}

.explore-btn {
    padding: 16px 40px;
    border-radius: 25px;
    border: none;
    background-color: var(--deep-cocoa-brown);
    color: var(--light-cream);
    font-family: var(--paragraph);
    font-weight: var(--regular);
    font-size: var(--h3-size);
}

.explore-btn:hover {
    background-color: var(--warm-light-gray);
}

.material-section {
    background-color: var(--warm-light-gray);
    padding: 120px 0 120px 0;
}

.material-section-title h6 {
    color: var(--deep-cocoa-brown);
}

.sub-title {
    text-align: center;
    font-family: var(--heading);
    font-size: var(--h4-size);
    color: var(--medium-warm-gray);
}

.title {
    text-align: center;
}

.slogan {
    text-align: center;
}

.material-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 40px;
}


.material-card {
    width: 320px;
    background-color: var(--light-cream);
    border-radius: 40px;
    padding: 42px 34px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    animation: reveal 5s both;

}

@keyframes reveal {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: translateY(80px);
    }

    30% {
        filter: blur(0px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.material-card:nth-child(2) {
    animation-delay: 1s;
}

.material-card:nth-child(3) {
    animation-delay: 2s;
}

.material-card h3 {
    font-size: 26px;
    margin-bottom: 18px;
}


.material-card p {
    line-height: 1.7;
    color: var(--deep-cocoa-brown);
}



@media screen and (max-width: 1000px) {
    .category-top {
        padding: 0 24px;
    }

    .search-box {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
    }

    .go-btn {
        padding: 14px 28px;
    }

    .category-menu {
        gap: 30px;
        padding: 28px 24px 0;
    }

    .product-list {
        padding: 50px 24px;
        gap: 28px;
    }

    .product-box {
        width: calc(50% - 14px);
    }

    .material-intro {
        gap: var(--row-img-paragraph-smaller);
    }

}

@media screen and (max-width: 800px) {
    .store-section {
        flex-direction: column;
        text-align: center;
        gap: var(--row-list-img-three-smaller);
    }

    .store-section h2 {
        text-align: center;
    }

    .store-text {
        width: 80%;
    }

    .store-image {
        aspect-ratio: 2/ 1;
        border-radius: var(--small-img);
        width: 80%;
    }

    .store-title {
        display: none;
    }

    .store-title-mobile {
        display: block;
        width: 100%;
        text-align: left;
    }


    .category-top {
        flex-direction: column;
        gap: 16px;
        padding: 0 24px;
    }

    .search-area {
        width: 100%;
        gap: 10px;
        justify-content: center;
    }

    .search-box {
        width: 100%;
        max-width: 360px;
    }

    .go-btn {
        white-space: nowrap;
    }

    .category {
        padding: var(--section-padding);
    }

    .category-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 14px;
        padding: 22px 20px 0;
    }


    .category-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 16px;
        font-size: var(--p1-mobile-size);
        border-radius: 18px;
        background-color: var(--light-cream);
        border: 1px solid var(--medium-warm-gray);
        width: calc(60% / 2 - 20px);
    }

    .category-item.active {
        background-color: var(--deep-cocoa-brown);
        color: var(--light-cream);
        border: none;

    }

    .category-item:hover {
        background-color: var(--warm-golden-accent);
        transform: scale(1.2);
    }


    .product-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 40px 24px;
        flex-direction: column;
        align-items: center;
    }

    .product-box {
        width: calc(50% - 14px);
    }

    .product--pic img {
        width: 80%;

    }

    .product-bottom p {
        font-size: 15px;
    }


    .material-intro {
        flex-direction: column;
        gap: 18px;
        text-align: center;
        padding: var(--section-padding);
    }

    .material-info {
        width: 100%;
        padding: 0;
    }

    .material-img {
        top: 0;
        margin-bottom: 0;
        aspect-ratio: 16 / 10;
        border-radius: var(--small-img);
        width: 80%;
    }

    .material-row {
        gap: var(--row-list-img-three-smaller);
        flex-direction: column;
        align-items: center;
    }

    .material-card {
        width: 100%;
        max-width: 380px;
        border-radius: 32px;
        transition: all 0.3s ease;
    }

    .material-content>div {
        align-items: center;
    }

}


@media screen and (max-width: 700px) {

    .product-box {
        width: 100%;
    }

    .product-pic img {

        width: 20%;
    }

    .product-top,
    .product-bottom {
        gap: 10px;
    }

    .go-btn,
    .explore-btn {
        width: 100%;
        text-align: center;
    }

    .category-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 12px;
        padding: 20px 16px 0;
        text-align: center;
    }


    .category-item.active {
        background-color: var(--deep-cocoa-brown);
        color: var(--light-cream);
        border: none;
    }

    .product-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 24px 16px;
        gap: 24px;
    }

    .product-box {
        width: 100%;
        max-width: 320px;
        align-items: center;
        text-align: center;
    }

    .product-pic {
        display: flex;
        justify-content: center;
    }

    .product-pic img {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .product-top,
    .product-bottom {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .price p {
        font-size: 18px;

    }

    .store-section {
        padding: 32px 18px;
        text-align: center;
    }

    .categories-set.deep {
        padding: 60px 0;
    }


    .p-categories {
        padding: 0 24px;
        text-align: center;
    }

    .p-categories h5 {
        font-size: var(--small-caption-mobile-size);
    }

    .p-categories h2 {
        font-size: var(--h2-mobile-size);
    }

    .p-categories h6 {
        font-size: var(--p1-mobile-size);
        line-height: 1.6;
    }

    .material-row {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 30px 24px 0;
    }

    .material-card {
        width: 100%;
        max-width: 360px;
        padding: 36px 28px;
        border-radius: 32px;
    }

    .material-card h3 {
        font-size: 22px;
    }

    .material-card p {
        font-size: var(--p1-mobile-size);
        line-height: 1.6;
    }

    .search-area {
        width: 100%;
        display: flex;
        /* justify-content: center; */
        gap: 10px;
        margin-top: 12px;
        padding: 0 16px;
    }

    .search-box {
        flex: 1;
        max-width: 260px;
        padding: 10px 18px;
        font-size: var(--p1-mobile-size);
        border-radius: 20px;
        width: 100%;

    }


    .search-area .explore-btn.small-btn {
        width: 100%;
        /* max-width: 360px; */
    }


    .go-btn {
        width: auto;
        padding: 12px 28px;
        text-align: center;
        margin: 0 auto;
        display: block;
    }
}