/* The body */

body {
    background-color: var(--bg-primary);
    font-family: "Lato", sans-serif;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
}

.admin-access {
    width: 10%;
    bottom: 20px;
    right: 20px;
    position: fixed;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 10000000;
    transform: translate(0, 0);
}

.admin-access a {
    border-radius: 50%;
    transition: all 0.3s;
}

.admin-access a img {
    background-color: var(--mint);
    padding: 15px;
    border-radius: 50%;
    width: 25px;
}

.admin-access a:hover {
    transform: translate(0, -10px) rotate(360deg) scale(1.1);
    box-shadow: 0 0 15px var(--darker);
}

/* Notifications */

.notification {
    position: fixed;
    bottom: -50px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: bottom 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: 1000;
}

.notification.show {
    bottom: 20px; /* Slide up */
    opacity: 1;
}

.remove-notification {
    position: fixed;
    bottom: -50px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    background-color: red;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: bottom 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: 1000;
}

.remove-notification.show {
    bottom: 20px; /* Slide up */
    opacity: 1;
}

/*  Developer: Aryan Kora
    University ID: 230059030
    Function: Navigaion bar
*/

/* Nav section goes across whole screen & padding of 25px up and down */
.nav-section {
    padding: 25px 0;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* Left side of the logo */
.navbar-left {
    position: relative;
    overflow: hidden;
    background-color: var(--floater);
    z-index: 5;
    transition: var(--transition-speed) ease;
    border-radius: 50px;
    margin-right: -50px;
    width: 35vw;
}

/* Pushes the bar into the logo */
.navbar-left .nav-item:last-child {
    margin-right: 38px;
}

/* Right side of the logo */
.navbar-rigth {
    position: relative;
    overflow: hidden;
    background-color: var(--floater);
    z-index: 5;
    transition: var(--transition-speed) ease;
    border-radius: 50px;
    margin-left: -50px;
    width: 35vw;
}

.navbar-rigth .nav-item:nth-child(1) {
    margin-left: 38px;
}

/* glows on hover */
.navbar-rigth:hover {
    box-shadow: 0 0 15px var(--mint);
}

.navbar-left:hover {
    box-shadow: 0 0 15px var(--mint);
}

.nav-item:hover {
    box-shadow: 0 0 15px var(--mint);
}

/* Changes list settings */
.navbar-nav {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 5;
}

/* Each item in the nav */
.nav-item {
    width: 100%;
    z-index: 5;
    transition: var(--transition-speed) ease;
}

/* The middle logo section */
.navbar-middle {
    position: relative;
    display: flex;
    box-shadow: 0 0 15px var(--mint);
    border: 15px solid var(--floater);
    border-radius: 50%;
    z-index: 100;
    transition: var(--transition-speed);
    cursor: var(--pointer);
}

.navbar-middle:hover {
    transform: scale(1.05);
}

/* The middle logo image */
.navbar-middle img {
    filter: drop-shadow(0px 0px 50px rgba(0, 0, 0, 0.5));
    position: relative;
    width: 100px;
    transform: scale(1.2);
    z-index: 101;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    color: white;
    text-decoration: none;
    transition: var(--transition-speed);
    z-index: 5;
}

/* changes item colour when hovering */
.nav-link:hover {
    background: var(--mint);
    z-index: 5;
}

.link-text {
    font-weight: 700;
    margin-left: 1rem;
    z-index: 5;
    transition: var(--transition-speed);
}

/* Each element (span and svbg) in the nav-item */
.nav-item-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}

.nav-link svg {
    width: 2rem;
    min-width: 2rem;
    z-index: 5;
    filter: invert(100%);
}

/* No scrollbar on the navbar (even tho overflow is hidden, I just wanna make sure) */
.navbar::-webkit-scrollbar {
    width: 0rem;
}

/*dropdown bat form Navigation Bar*/
.dropdown-content {
    display: none;
    background-color: #00bfae;
    min-width: 0px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(4, 129, 129, 0.7);
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media only screen and (max-width: 1500px) {
    .nav-item .link-text {
        display: none;
    }
}

/*  Developer: Aryan Kora
    University ID: 230059030
    Function: Mobile Navigaion bar
*/

@media (min-width: 991px) {
    .mobile-nav-section {
        display: none;
    }
}

@media (max-width: 991px) {
    .nav-section {
        display: none;
    }

    .mobile-nav-section {
        padding: 25px 0;
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    /* Right side of the logo */
    .mobile-navbar {
        position: relative;
        overflow: hidden;
        background-color: var(--floater);
        z-index: 5;
        transition: var(--transition-speed) ease;
        border-radius: 50px;
        width: 90%;
    }

    .navbar-rigth .nav-item:nth-child(1) {
        margin-left: 38px;
    }

    /* glows on hover */
    nav:hover {
        box-shadow: 0 0 15px var(--mint);
    }

    .mobile-nav-item:hover {
        box-shadow: 0 0 15px var(--mint);
    }

    /* Changes list settings */
    .mobile-nav {
        max-width: 100%;
        display: flex;
        flex-direction: row;
        list-style: none;
        padding: 0;
        margin: 0;
        z-index: 5;
    }

    /* Each item in the nav */
    .mobile-nav-item {
        width: 100%;
        z-index: 5;
        transition: var(--transition-speed) ease;
    }

    /* The middle logo section */
    .mobile-nav-logo {
        position: relative;
        display: flex;
        box-shadow: 0 0 15px var(--mint);
        border: 15px solid var(--floater);
        border-radius: 50%;
        z-index: 100;
        transition: var(--transition-speed);
        cursor: var(--pointer);
        margin-left: 50px;
    }

    .mobile-nav-logo:hover {
        transform: scale(1.05);
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 5rem;
        color: white;
        text-decoration: none;
        transition: var(--transition-speed);
        z-index: 5;
    }

    /* changes item colour when hovering */
    .mobile-nav-link:hover {
        background: var(--mint);
        z-index: 5;
    }

    /* Each element (span and svbg) in the nav-item */
    .mobile-nav-item-wrapper {
        position: relative;
        display: flex;
        justify-content: center;
        flex-direction: row;
        align-items: center;
    }

    .mobile-nav-link svg {
        min-width: 30px;
        z-index: 5;
        filter: invert(100%);
    }

    /* No scrollbar on the navbar (even tho overflow is hidden, I just wanna make sure) */
    .navbar::-webkit-scrollbar {
        width: 0rem;
    }
}

/*  Developer: Aryan Kora
    University ID: 230059030
    Function: Hero (Intro Title)
*/

.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 20px 60px 20px;
    text-align: center;
}

.hero-content {
    position: relative;
    max-width: 100%;
    font-weight: 100;
    font-size: 15px;
    justify-items: center;
    z-index: 2;
    text-shadow: 0px 10px 10px rgba(0, 0, 0, 1);
}

/* Reduce text shadow intensity when in light mode */
.light .hero-content {
    text-shadow: 0px 10px 10px rgba(17, 17, 17, 0.6);
}

.hero-content h1 {
    z-index: 2;
    font-size: 80px;
    margin-bottom: 30px;
}

/*  Sets the position of the gif just behind the "WORLD"
    The left and right are set to 50% to place the "absolute" image in the middle of the page
    Then I just use the "translate" transformation to move it to where I want.
    Now it won't move when I resize the page and should stay there no matter the screen size.
*/

.hero-content img {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    left: 50%;
    right: 50%;
    overflow: hidden;
    transform: scale(1) rotate(20deg) translate(0%, -105%);
    filter: drop-shadow(0px 0px 50px rgba(114, 200, 243, 0.502));
}

.light .hero-content img {
    filter: drop-shadow(0px 0px 50px rgba(114, 200, 243, 1));
}

.hero-content img::selection {
    visibility: hidden;
}

.hero-content p {
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.light .hero-content p {
    text-shadow: 0px 10px 10px rgba(0, 0, 0, 0);
}

.hero a {
    text-shadow: 0px 10px 10px rgba(0, 0, 0, 0);
}

.pointer-wrapper {
    pointer-events: none;
}

.hero-content .pointer-wrapper {
    left: 50%;
    right: 50%;
    transform: translate(5%, -100%);
}

.hero-content .pointer-wrapper img {
    max-width: 90px;
    transform: rotate(-20deg);
    filter: invert(100%);
    margin-left: 10px;
    margin-top: 10px;
}

/* When in Light Mode, make the arrow black */
.light .hero-content .pointer-wrapper img {
    filter: invert(0%);
}

.hero-content .pointer-wrapper p {
    font-size: 16px;
    transform: rotate(30deg);
    margin-left: 233px;
}

/* Buttons in Hero */

.btn-order {
    background-color: var(--floater);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0px 0px 50px rgba(4, 129, 129, 0.7);
    z-index: 1;
}

.btn-order:hover {
    background-color: var(--lighter);
}

/* mobile view for hero */

@media only screen and (max-width: 991px) {
    .hero {
        position: relative;
        padding: 150px 20px 60px 20px;
        text-align: center;
    }

    .hero-content {
        position: relative;
        max-width: 100%;
        font-weight: 100;
        font-size: 15px;
        justify-items: center;
        z-index: 2;
        text-shadow: 0px 10px 10px rgba(0, 0, 0, 1);
    }

    .hero-content h1 {
        z-index: 2;
        font-size: 50px;
        margin-bottom: 30px;
    }

    .hero-content img {
        pointer-events: none;
        position: absolute;
        z-index: -1;
        left: 50%;
        right: 50%;
        transform: scale(0.75) rotate(20deg) translate(-30%, -110%);
        filter: drop-shadow(0px 0px 50px rgba(255, 255, 255, 0.5));
    }
}

/*  Developer: Aryan Kora
	University ID: 230059030
	Function: Floaters CSS
*/

.floater-body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floater-containter {
    position: relative;
    width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 10% 5% 5% 5%;
}

/* The middle floater controller (main floater) */

.floaters {
    position: absolute;
    color: white;
    display: flex;
    transform: rotate(-10deg);
    width: 300px;
    height: 50px;
    background: #048181;
    margin: 30px 10px;
    padding: 20px 15px;
    flex-direction: row;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
    transition: 0.4s ease-in-out;
    z-index: 2;
}

.floaters img {
    max-height: 100%;
    margin-right: 50px;
}

/* Floater children inside the floater container */

.floaters:nth-child(2) {
    bottom: -10px;
    left: 13%;
    transform: rotate(10deg);
    z-index: 1;
}

.floaters:nth-child(3) {
    bottom: 10px;
    right: 10%;
    transform: rotate(7deg);
    z-index: 0;
}

.floaters p {
    margin-top: 17px;
    transform: scale(1.6);
}

/* Floaters mobile view */

@media only screen and (max-width: 991px) {
    .floater-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .floater-containter {
        position: relative;
        width: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        margin: -5% 0 0 0;
    }

    /* The middle floater controller (main floater) */

    .floaters {
        position: relative;
        transform: rotate(0);
    }

    .floaters img {
        max-height: 100%;
        margin-right: 50px;
    }

    /* Floater children inside the floater container */

    .floaters:nth-child(2) {
        position: relative;
        bottom: auto;
        left: auto;
        transform: rotate(0);
        z-index: 1;
    }

    .floaters:nth-child(3) {
        position: relative;
        bottom: auto;
        right: auto;
        transform: rotate(0);
        z-index: 0;
    }

    .floaters p {
        margin-top: 17px;
        transform: scale(1.6);
    }
}

/* Titles */

.section-title {
    text-align: center;
    color: var(--text-primary);
    font-family: "Montserrat", sans-serif;
    margin-bottom: 30px;
}

.container {
    padding-bottom: 2%;
}

/* Categories */

.category-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.category {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-right: 5%;
}

.category:nth-child(1) {
    padding-left: 5%;
}

.category-img {
    width: 100%;
    height: auto;
}

.category-title {
    color: var(--text-primary);
    padding: 10px;
}

.category a:hover .category-title,
.product:hover .product-title {
    color: var(--mint); /* Mint green */
}

/*  Developer: Aryan Kora
	University ID: 230059030
	Function: Card CSS (Unused)
*/

.card-body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1100px) {
    .card-body {
        flex-direction: column;
    }
}

.card-con {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
}

.cards {
    position: relative;
    min-width: 300px;
    max-width: 300px;
    height: 150px;
    background: var(--lighter);
    margin: 30px 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    transition: 0.4s ease-in-out;
}

.cards:hover {
    height: 350px;
}

.card-image {
    display: grid;
    justify-items: center;
    align-items: center;
    position: relative;
    max-width: 260px;
    top: -60px;
    left: 20px;
    z-index: 1;
    box-shadow: 0 3px 50px rgba(0, 0, 0, 0);
}

.card-image img {
    justify-items: center;
    align-items: center;
    max-width: 75%;
    border-radius: 6px;
    top: -60px;
}

.card-detail {
    position: relative;
    margin-top: -140px;
    padding: 10px 15px;
    text-align: center;
    color: var(--bg-secondary);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.card-detail input {
    position: relative;
    background-color: var(--mint);
    color: var(--text-primary);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: -10px;
}

.card-detail input:hover {
    cursor: var(--pointer);
    background-color: var(--darker);
}

.cards:hover .card-detail {
    transition: 0.4s ease-in-out;
    visibility: visible;
    opacity: 1;
    margin-top: -50px;
}

.hyper-hider {
    text-decoration: none;
    color: var(--text-primary);
}

/*  Developer: Aryan Kora
    University ID: 230059030
    Function: Products slider CSS
*/

.f-product {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.f-product-category {
    padding: 0 10vw;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: capitalize;
}

.f-product-container {
    padding: 0 10vw;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    height: 500px;
}

.f-product-container::-webkit-scrollbar {
    display: none;
}

.f-product-card {
    position: relative;
    display: grid;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    flex: 0 0 auto;
    width: 550px;
    height: 350px;
    margin-right: 40px;
    transition: var(--transition-speed);
}

.f-product-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    transition: var(--transition-speed);
}

.f-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-tag {
    position: absolute;
    background: white;
    padding: 5px;
    border-radius: 5px;
    color: #ff7d7d;
    right: 10px;
    top: 10px;
    text-transform: capitalize;
    transition: var(--transition-speed);
    z-index: 1;
}

.card-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    width: 90%;
    text-transform: capitalize;
    border: none;
    outline: none;
    border-radius: 5px;
    transition: 0.5s;
    cursor: var(--pointer);
    opacity: 0;
    background: var(--darker);
    color: #fff;
}

.f-product-card:hover .card-btn {
    opacity: 1;
}

.f-product-card .f-product-thumb {
    position: relative;
    z-index: 0;
    transition: var(--transition-speed);
}

.f-product-thumb:hover {
    transition: var(--transition-speed);
    transform: scale(1.1);
}

.card-btn:hover {
    background: var(--mint);
    box-shadow: 0px 0px 10px rgba(4, 129, 129, 0.7);
}

.f-product-info {
    width: 100%;
    height: 100px;
    padding-top: 10px;
    color: var(--text-primary);
}

.f-product-brand {
    text-transform: uppercase;
}

.f-product-short-description {
    width: 100%;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    opacity: 0.5;
    text-transform: capitalize;
    margin: 5px 0;
}

.price {
    font-weight: 900;
    font-size: 20px;
}

.actual-price {
    margin-left: 20px;
    opacity: 0.5;
    text-decoration: line-through;
}

.pre-btn,
.nxt-btn {
    border: none;
    width: 10vw;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        var(--bg-primary) 100%
    );
    cursor: var(--pointer);
    z-index: 8;
}

.pre-btn {
    left: 0;
    transform: rotate(180deg);
}

.nxt-btn {
    right: 0;
}

.pre-btn img,
.nxt-btn img {
    opacity: 0.2;
}

.pre-btn:hover img,
.nxt-btn:hover img {
    opacity: 1;
}

.collection-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.collection {
    position: relative;
}

.collection img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 50px;
    text-transform: capitalize;
}

.collection:nth-child(3) {
    grid-column: span 2;
    margin-bottom: 10px;
}

@media (max-width: 800px) {
    .f-product-info {
        text-align: center;
    }

    .f-product-card {
        flex: 0 0 auto;
        width: 300px;
        height: 350px;
        margin-right: 40px;
    }
}

/* About Section Styling */

.about-section {
    position: relative;
    display: flex;
    place-content: center;
    align-items: center;
    justify-content: center;
    padding: 80px 50px;
    gap: 50px;
    z-index: 5;
}

.about-wrapper {
    display: flex;
    place-content: center;
    align-items: center;
    justify-content: center;
    padding: 75px;
    width: 85%;
    border-radius: 50px;
    background: linear-gradient(
        135deg,
        rgb(255, 255, 255, 0.1),
        rgb(255, 255, 255, 0)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgb(0, 0, 0, 0.37);
}

.light .about-wrapper {
    display: flex;
    place-content: center;
    align-items: center;
    justify-content: center;
    padding: 75px;
    width: 85%;
    border-radius: 50px;
    background: linear-gradient(135deg, rgb(0, 0, 0, 0.1), rgb(0, 0, 0, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 8px 32px 0 rgb(255, 255, 255, 0.37);
}

.about-content {
    margin: 0 25px;
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.about-button {
    padding: 12px 30px;
    background-color: var(--floater);
    text-decoration: none;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: var(--pointer);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.about-button:hover {
    background-color: var(--mint);
    box-shadow: 0 0 15px var(--mint);
    width: 10px;
}

.about-image {
    width: 50%;
    padding: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    height: 100%;
}

.image-grid img {
    width: 100%;
    height: 250px; /* Fixed height for all images */
    object-fit: cover; /* This will maintain aspect ratio while covering the area */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-grid img:hover:nth-child(1) {
    transform: scale(1.25) rotate(5deg) translateY(25%) translateX(25%);
}

.image-grid img:hover:nth-child(2) {
    transform: scale(1.25) rotate(-5deg) translateY(25%) translateX(-25%);
}

.image-grid img:hover:nth-child(3) {
    transform: scale(1.25) rotate(5deg) translateY(-25%) translateX(25%);
}

.image-grid img:hover:nth-child(4) {
    transform: scale(1.25) rotate(-5deg) translateY(-25%) translateX(-25%);
}

.text-box {
    position: relative;
    width: 100%;
    height: auto;
    background: var(--bg-secondary);
    margin: 35px 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition-speed) ease-out;
    cursor: var(--cursor);
}

/* Responsive Design */
@media (max-width: 1350px) {
    .about-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .about-wrapper {
        display: flex;
        flex-direction: column;
        place-content: center;
        align-items: center;
        justify-content: center;
        padding: 75px;
        width: 75%;
        border-radius: 20px;
    }

    .about-image {
        width: 75%;
    }

    .image-grid {
        margin-top: 50px;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .image-grid img {
        height: 250px; /* Slightly smaller height on tablets */
    }
}

@media (max-width: 576px) {
    .about-wrapper {
        display: flex;
        flex-direction: column;
        place-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 75px;
        width: 60%;
        border-radius: 20px;
    }

    .about-image {
        display: none;
    }

    .about-section {
        padding: 30px 15px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .image-grid {
        display: flex;
        flex-direction: column;
    }
}

/* Footer */
#productsBodyFooter {
    align-items: stretch;
}

.footer {
    position: relative;
    z-index: 100;
    max-width: 100%;
    margin: 0;
    padding: 50px 10% 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    background-color: var(--darker);
    color: white;
    text-align: left;
    border-top: 1px solid var(--mint);
    box-shadow: 0 0 25px var(--mint);
}

.light .footer {
    border-top: 2px solid var(--mint);
    box-shadow: 0 0 35px var(--mint);
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--mint);
    font-weight: 600;
}

.footer a {
    font-size: 0.95rem;
    color: white;
    text-decoration: none;
    margin: 12px 0;
    display: block;
    transition: all var(--transition-speed);
}

.footer a:hover {
    color: var(--mint);
    transform: translateX(5px);
}

#social-footer-span {
    display: flex;
    flex-direction: row;
    float: left;
    justify-content: left;
    align-items: left;
}

#social-footer-span img {
    font-size: 0.95rem;
    color: white;
    margin: 12px 8px;
    text-decoration: none;
    display: block;
    transition: all var(--transition-speed);
}

#social-footer-span span {
    margin-left: 25px;
}

.footer p {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: white;
    margin: 8px 0;
}

.footer img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    display: inline-block;
    transition: filter var(--transition-speed);
}

.footer .social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 0px;
}

.footer .social-icons a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--lighter);
    border-radius: 50%;
    margin: 0;
    transition: all var(--transition-speed);
}

.footer .social-icons a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Makes icons white */
    margin: 0; /* Remove default margin */
}

.footer .social-icons a:hover {
    background-color: var(--mint);
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.footer .social-icons a:hover img {
    transform: scale(1.1); /* Slightly enlarge icon on hover */
}

/* Ensure proper spacing for footer columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.powered-by {
    position: relative;
    display: flex;
    min-width: 100%;
    align-items: center;
}

.QR {
    position: relative;
    margin-left: 10px;
    z-index: 20;
    cursor: var(--pointer);
}

/* Initially hidden */
.QR-over {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 20;
    cursor: var(--cursor);
}

/* QR Code Image */
.QR-over img {
    width: 500px;
    height: 450px;
    cursor: var(--pointer);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .footer .social-icons {
        justify-content: center;
        margin-top: 10px;
    }

    .footer .social-icons a {
        width: 40px; /* Slightly larger touch targets on mobile */
        height: 40px;
    }

    .QR {
        position: relative;
        margin-left: 10px;
        z-index: 20;
        cursor: var(--pointer);
    }
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 5% 20px;
    }
}

@media (max-width: 576px) {
    .footer {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .footer a:hover {
        transform: none;
    }

    .footer p {
        justify-content: center;
    }

    .footer .social-icons {
        justify-content: center;
    }

    .footer #social-footer-span {
        margin-left: 35%;
    }
}

@media only screen and (max-width: 991px) {
    .about-section {
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (max-width: 764px) {
    body {
        position: relative;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* Hero (Intro Title) */

    .hero {
        padding-top: 150px;
    }

    .hero-content h1 {
        z-index: 2;
        font-size: 30px;
        margin-bottom: 30px;
    }

    .hero-content img {
        transform: scale(0.6) rotate(0) translate(-80%, -135%);
    }

    /* Categories */

    .category-grid {
        flex-direction: column;
    }

    .category {
        padding-right: 0;
        font-size: 30px;
    }

    .category:nth-child(1) {
        padding-left: 0;
    }
}

.wishlist-heart {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    color: #ff5757 !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

.wishlist-heart:hover {
    transform: scale(1.2) !important;
    color: #ff3a3a !important;
}
