* {
    font-optical-sizing: auto;
}

.clickable {
    cursor: pointer;
}

section {
    clear: both;
}

/***** Dark overlay *****/
.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(51, 51, 51, 0.7);
    z-index: 666;
    opacity: 0;
    transition: opacity .25s, visibility 0s linear .25s;
    top: 0;
    filter: blur(1.5rem);
    visibility: hidden;
}

.overlay.active {
    opacity: 1;
    background-color: hsla(0, 0%, 7%, .36);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    visibility: visible;
    transition: opacity .8s ease, visibility 0s;
}
/* End of Overlay */

/* Back to top button */
.back-to-top-wrapper {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;

    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top-wrapper.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.back-to-top-btn i {
    font-size: 16px;
}

.back-to-top-btn:hover {
    transform: translateY(-2px);
}

.back-to-top-btn:active {
    transform: translateY(0);
}

.back-to-top-text {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

@media (max-width: 768px) {
    .back-to-top-wrapper {
        right: 14px;
        bottom: 14px;
    }

    .back-to-top-btn {
        width: 48px;
        height: 48px;
    }
}
/* End of back to top button */

@media (min-width:300px) {
    body {
        font-size: 2.75vw;
    }
}

@media (min-width:600px) {
    body {
        font-size: 2.25vw;
    }
}

@media (min-width:900px) {
    body {
        font-size: 1.75vw;
    }
}

@media (min-width:1200px) {
    body {
        font-size: 1.5vw;
    }
}

@media (min-width:1500px) {
    body {
        font-size: 1.25vw;
    }
}

.btn-transition {
    transition: 0.1s;
}

.btn-transition:hover {
    transform: scale(1.2);
    z-index: 100;
}

.zoom-scroll {
    transform: scale(1.1);
    transition: transform 3.8s ease;
    opacity: 0;
}

.zoom-scroll.active {
    transform: scale(1);
    opacity: 1;
}


/* ----------------------------------------------------------- */
/* End of Body */
/* ------------------------------------------------------------ */
.category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* centers last row */
    gap: 24px;
}

/* Desktop: max 3 per row */
.category-card {
    flex: 0 0 calc(33.333% - 24px);
    max-width: 260px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
}

/* Tablet: 2 per row */
@media (max-width: 992px) {
    .category-card {
        flex: 0 0 calc(50% - 18px);
    }
}

/* Mobile: 2 per row */
@media (max-width: 576px) {
    .category-card {
        flex: 0 0 calc(50% - 14px);
    }
}

/* Extra small phones: 1 per row */
@media (max-width: 380px) {
    .category-card {
        flex: 0 0 100%;
    }
}


.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.category-image-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image-wrap {
    transform: scale(1.05);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
}

/* End of Category */

/* WallPaper 1 */
.bg-wallpaper {
    position: relative;
    background-image: url(../images/bg-wallpaper-1.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 95vh;
}

.bg-wallpaper-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    backdrop-filter: brightness(0.85);
    z-index: 1;
    padding: 2rem;
    color: white;
}

/* End of wallpaper 1 */

/* Start of Features */
.features {
    background: #dddddd;
}

.feature-box {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #d7d7d7;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    color: #8fc5ff;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.95rem;
    color: #555;
}

/* End of Features */

.ourshopbtn {
    border: 1px solid #8b8b8b;
    border-radius: 100vmax;
    transition: all 0.5s;
}

.ourshopbtn:hover {
    border: 1px solid #000;
    transform: scale(1.1);
}