* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* outline: 1px solid red; */
}

body {

    background-image: linear-gradient(#8f36e35b, #8f36e35b), url('./fontsi/Images/Frame\ 279.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-width: 100vw;
    min-height: 90vh;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    box-shadow: 5px 0 10px #8f36e3;
}

nav h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
}

nav {
    background-color: #4c0657;
    display: flex;
    color: white;
    place-items: center;
    justify-content: space-evenly;
}

nav svg {
    fill: #ede19d;
    width: 45px;
    height: 50px;
    cursor: pointer;
}

.menu-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-list svg {
    width: 30px;
    display: block;
}

.header .menu-list-ul {
    list-style-type: none;
    display: flex;
    gap: 12px;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    right: -10px;
    background-color: red;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    font-size: 1.1rem;
}

.profile-icon {
    display: none;
}

nav .sign-in,
.sign-out {
    font-size: 1.2rem;
    font-weight: 500;
    border: none;
    background-color: transparent;
    color: white;
}

nav .sign-in:hover,
.sign-out:hover {
    color: gold;
}

.sign-out {
    display: none;
}

.hero-section {
    background-image: url("./fontsi/Images/istock\ woman\ 2.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 100%;
    margin-top: 50px;
}

.hero-section h1 {
    text-align: center;
    color: gold;
    font-size: 4rem;
    letter-spacing: .5rem;
    font-family: "Knewave", "Kaisei Decol", system-ui;
}

.hero-section p {
    text-align: center;
    color: gold;

    font-family: "Pacifico", "cursive";
}

.body-content {
    display: grid;
    grid-template-columns: .75fr 2fr;
    position: relative;
}

.body-side-content {
    font-family: "Kaisei Decol", serif;
    color: white;
    padding-left: 40px;
    padding-top: 60px;
    background-color: #4c0657c6;
}

.body-side-content>div:nth-child(2) {
    background-color: rgba(255, 255, 255, 0.569);
    padding: 7px;
    width: 85%;
    border-radius: 5px;
    margin: 15px 0;
    position: relative;
}

.body-side-content>div:nth-child(2) input {
    width: 75%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1.2rem;
    margin-right: 10px;
    background-color: white;

}

.body-side-content ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    transform: translateY(25px);
}

.body-side-content>div:nth-child(2) input:focus {
    border: none;
    outline: 3px solid gold;
}

.body-side-content>div:nth-child(2) input::placeholder {
    color: rgba(128, 128, 128, 0.544);
    font-size: 1rem;
}

.body-side-content li:hover,
.body-side-content h2:hover {
    color: gold;
}

.body-side-content h2 {
    font-size: 2.5rem;
    font-weight: 750;
}

.body-side-content li {
    font-size: 1.4rem;
    font-weight: 1000;
    margin-bottom: 5px;
    cursor: pointer;
}

.body-side-content div ul li:nth-child(3) {
    visibility: hidden;
}

.body-side-content span {
    color: gray;
    font-size: 1.2rem;
    font-weight: 1000;
    margin-bottom: 5px;
    cursor: default;
    position: absolute;
    right: 10px;
    top: 25%;
}

.to-display {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 20px;
    min-height: 90vh;
    min-height: 50%;
    /* padding*/
    position: relative;
}

.loading-spinner {

    display: none;
    border: 1px solid gold;
    padding: 15px 0;
    background-color: transparent;
    position: absolute;
    inset: 5px;
    justify-content: center;
    align-items: center;
    width: 98%;
    min-height: 90%;
    height: 98%;
    pointer-events: none;
    z-index: 900;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 7px solid rgba(255, 255, 255, 0.378);
    border-top-color: #4c0657;
    border-bottom-color: #4c0657;
    border-right-color: #4c0657;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.to-display .product-card {
    border: 1px solid gold;
    padding: 15px 0;
    /* padding*/
    display: grid;
    place-items: center;
    background-color: rgba(255, 255, 255, 0.363);
    height: 450px;
    border-radius: 20px;
    min-width: 250px;
}

.to-display .product-card img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 10px;
}

.to-display .product-card p {
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.to-display .product-card>div:nth-last-of-type(1) {
    width: 70%;
    margin: auto;
}

.to-display .product-card>div:nth-last-of-type(1) button {
    width: 100%;
    border: 2px solid gold;
    background-color: #6f037e;
    color: white;
    padding: 10px 0;
    border-radius: 6px;
}

.to-display .product-card>div:nth-last-of-type(1) button:active {
    background-color: #8f36e3;
}

.product-card>div:nth-child(1) {
    background-color: rgb(255, 255, 255);
    width: 85%;
    padding-top: 10px;
    margin: auto;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    border: thin solid rgba(255, 217, 0, 0.513);
}

.page-change {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.page-change div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* margin: 10px; */

}

.product-title {
    font-size: 1.3rem !important;
    font-weight: 650 !important;
    cursor: pointer;
}

.product-title:hover {
    color: #8f36e3;
}

.product-title:active {
    color: #8f36e3;
}

.site-footer {
  background: #111;
  color: #eee;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.footer-nav, .social-links {
  margin: 1rem 0;
}

.footer-nav a,
.social-links a {
  color: #eee;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.social-links a:hover {
  color: #00e0ff; 
}
@media (max-width: 1200px) {
    .body-side-content {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 10px;
        padding-left: 40px;
    }

    .body-side-content ul {
        list-style-type: circle;
    }

    .body-content {
        grid-template-columns: auto;
        grid-template-rows: auto auto;
    }

    .body-content h2 {
        flex: .75;
        font-size: 2rem;
        text-align: center;
    }

    .body-side-content>div:nth-child(1) {
        flex: .75;
    }

    .body-side-content>div:nth-child(2) {
        flex: 1.25;
        transform: translateX(-40px);
    }

    .body-side-content h2 {
        font-weight: 1200;
        font-size: 1.75rem;
        font-weight: 1100;
    }

    .body-side-content li {
        font-size: 1.2rem;
    }
}

@media (max-width: 850px) {
    .to-display {
        grid-template-columns: 1fr 1fr;
    }

    .to-display>div {
        min-width: 200px;
        min-height: 150px;
        padding: 15px 10px;
    }

    .to-display>div img {
        width: 200px;
        min-width: 150px;
        min-height: 200px;
    }

    .body-side-content h2 {
        display: none;
    }

    .body-side-content ul {
        /* list-style-type: circle; */
        transform: translateY(0px);
    }

    .body-side-content div ul li:nth-child(3) {
        visibility: visible;

    }

    .body-side-content li {
        font-size: 1rem;
    }

    .body-side-content>div:nth-child(2) {
        margin: 0%;
        transform: translateX(-40px);
    }
}

@media (max-width: 550px) {
    nav h2 {
        font-size: 1.6rem;
    }
    nav svg{
        width: 40px;
    }
    .to-display {
        padding: 15px;
    }

    .to-display>div img {
        width: 100px;
        object-fit: contain;
        min-width: 100px;
        /* height: auto; */
    }

    .product-card {
        min-width: 100px;
        min-height: 100px;
        background-color: transparent;

    }

    .body-side-content {
        display: flex;
        flex-direction: column;
    }

    .body-side-content>div:nth-child(1) {
        align-self: flex-start;
    }

    .body-side-content>div:nth-child(2) {
        width: 100%;
        transform: translateX(-14px);
    }

    @media (max-width: 443px) {
        .to-display {
            grid-template-columns: 1fr;
        }
    }
}