/* fonts */
@font-face {
    font-family: Inter;
    src: url(./fonts/Inter.ttf);
}

@font-face {
    font-family: Satoshi;
    src: url(./fonts/Satoshi.ttf);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Satoshi, sans-seriff;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    /*overflow-x: hidden;*/
    overscroll-behavior-x: none;
    /* This works in modern browsers */
}

/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    color: #333;
    background-color: #fff;
    /*overflow-x: hidden;*/
    width: 100%;
}

.everythingWrap {
    width: 100%;
    overflow-x: hidden;
}

/* header elements */
#upperNavSection {
    background: white;
    width: 100%;
    box-sizing: border-box;
    padding-left: 40px;
    padding-right: 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Adjust as needed */
}


/* Navigation */

#nav {
    /*background-color: #000;*/
    padding: 1rem 0;
    width: 100%;
    position: sticky;
    top: 0;
    background: white;
    /* Ensure it has a solid background */
    z-index: 1000;
    /* Adjust as needed */
}


.nav-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    /*margin-right: 0.5rem;*/
}

.logo-text {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover {
    text-decoration: underline;
}

.search-input-container {
    position: relative;
    display: inline-block;
    margin-left: 28px;
    max-width: 180px;
}

.search-input-container input {
    border: 1px solid #ccc;
    border-radius: 9999px;
    /* pill shape */
    padding: 0.5em 1em;
    padding-left: 2.5em;
    /* leave space for the icon */
    font-size: 1rem;
    outline: none;
    width: 100%;
    /* optional, if you want full width */
}

.search-input-container .search-icon {
    position: absolute;
    left: 0.75em;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    /* ensure icon doesn't block clicks */
}

.accountIcon {
    margin-left: 4px;
    height: 25px;
    width: 25px;
}

.heartIcon {
    height: 25px;
    width: 25px;
}

.cartIcon {
    margin-left: 4px;
    height: 25px;
    width: 25px;
}

.cart-icon-container {
    position: relative;
    display: inline-block;
}

.cart-bubble {
    position: absolute;
    top: -8px;
    /* adjust to control vertical placement */
    right: -8px;
    /* adjust to control horizontal placement */
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: bold;
    min-width: 20px;
    /* ensures the bubble has a minimum size */
    text-align: center;
    line-height: 1;
}

/* nav mobile */

.navContainerMobile {
    display: none;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -80%;
    width: 80%;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
    transition: left 0.3s ease;
    padding: 1rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
}

/* Close button for the mobile menu */
.close-mobile-menu {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    margin-bottom: 1rem;
}

/* Hamburger Button */
.hamburger-button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile header container styling */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0;
}


/*Main Content Container */

.mainContent {
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    /*overflow-x: hidden;*/
}

/*hero section common elements*/
#productHeroSection h1 {
    font-size: clamp(1.8rem, 5vw, 6rem);
}

/*product card*/

.product-card {
    min-width: 220px;
    /* Same as your original minmax value */
    flex: 0 0 auto;
    /* Prevent cards from shrinking */
    border-radius: 8px;
    text-align: left;
    border: 1px solid rgb(150, 150, 150);
    box-sizing: border-box;
    /*padding-bottom:1em;*/
}

.productStarsHolder {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 8px;
}

.productStar {
    height: 16px;
    width: 16px;
    margin-right: 8px;
    float: right;
}

.productCardImage {
    width: 84%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
    margin-top: 1rem;
    margin-left: 8%;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-left: 16px;
    margin-right: 16px;
    font-weight: bold;
}

.product-card p {
    margin-left: 16px;
    margin-right: 16px;
}

.productCardDescription {
    font-size: 1rem;
    color: rgb(100, 100, 100);
}

.productPrice {
    color: black;
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.productCardHolder {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1em;
    box-sizing: border-box;
    margin-top: 2em;
}

.productCardAddToCart {
    padding: .8em;
    width: 43%;
    background: black;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
    position: relative;
    float: right;
    text-align: center;
    font-size: .8em;
    text-decoration: none;
}

.productCardLearnMore {
    padding: .8em;
    width: 43%;
    background: rgb(100, 100, 100);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
    position: relative;
    float: right;
    text-align: center;
    font-size: .8em;
    text-decoration: none;
}



/* Footer */
.footerArc {
    display: block;
    width: 100%;
    height: 25%;
    /* preserveAspectRatio="none" will allow this stretching */
}

#footerSection {
    background: #000;
    color: #ccc;
    padding: 3rem 2%;
    width: 100%;
    margin-top: -10%;
}

/*
#footer{
    margin-top:12%;
}
*/
.footer-content {
    display: flex;
    justify-content: space-between;
}

#footerLeftColumn {
    width: 32%;
    box-sizing: border-box;

}

#footerLogo {
    height: 2.6em;
    width: auto;
}

#footerAddress {
    margin-top: 4em;
    font-size: 1em;
    color: rgb(200, 200, 200);
}

#footerCenterColumn {
    width: 32%;
    box-sizing: border-box;
}

#centerLinks {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#leftLinks {
    width: 45%;
}

#leftLinks a {
    text-decoration: none;
    color: white;
}

#leftLinks ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#leftLinks li {
    padding-top: .8em;
    padding-bottom: .8em;
}

#rightLinks {
    width: 45%;
}

#rightLinks a {
    text-decoration: none;
    color: white;
}

#rightLinks ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#rightLinks li {
    padding-top: .8em;
    padding-bottom: .8em;
}

#paymentIcons {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
    margin-top: 2em;
    margin-bottom: 0px;
    bottom: 0px;
}

.paymentIcon {
    height: 50px;
    width: auto;
}

.leftMostPaymentIcon {
    margin-left: -10px;
}

#footerRightColumn {
    width: 32%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}

#newsletterRow {
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#newsletterInput {
    border-radius: 9999px;
    width: 60%;
    height: 40px;
    font-size: 16px;
    color: rgb(100, 100, 100);
    padding-left: 16px;
    padding-right: 16px;
}

#newsletterButton {
    box-sizing: border-box;
    border: 1px solid white;
    text-align: center;
    padding: 8px;
    width: 36%;
    color: white;
    background: black;
    height: 40px;
    border-radius: 8px;
}

#socialsRow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 80px;
}

.socialIcon {
    height: 40px;
    width: 40px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Call to Action */
/*
#callToActionContainer{
    width:100%;
    max-width:100%;
    position:relative;
}
*/
#callToActionSection {
    /*background: linear-gradient(to right, #e50914, #ff6b6b);*/
    color: black;
    text-align: center;
    padding: 4rem 16px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

#ctaBackgroundCircleGradient {
    position: absolute;
    /* This ensures it ignores flex layout */
    top: 5%;
    /*
    left: -47%;
    width: 194%;
    */
    width: 100%;
    /* Adjust size */
    height: 200%;
    background: linear-gradient(to right, peachpuff, rgb(135, 106, 241));
    opacity: 0.4;
    border-radius: 30%;
    filter: blur(30px);
    /* Softens the edges */
    /*transform: translate(100%, -50%);*/
    /* Centers it properly */
    z-index: -1;
    /* Places it behind the hero images */
    pointer-events: none;
    /* Prevents accidental interactions */
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-content button {
    padding: 0.75rem 1.5rem;
    border: none;
    background-color: black;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

/* Footer Mobile */

.footerContentMobile {
    display: none;
}

#footerLeftColumnMobile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#footerLogoMobile {
    width: 50%;
    min-width: 280px;
}

#newsletterRowMobile {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#newsletterTitleMobile {
    margin-top: 3rem;
    margin-bottom: 2rem;
}


#newsletterInputMobile {
    border-radius: 9999px;
    width: 100%;
    height: 40px;
    font-size: 16px;
    color: rgb(100, 100, 100);
    padding-left: 16px;
    padding-right: 16px;
}

#newsletterButtonMobile {
    padding: 0.75rem 2.5rem;
    border: none;
    background-color: black;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid white;
    box-sizing: border-box;
    margin-top: 2em;
}

#footerCenterColumnMobile {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 3em;
}

#centerLinksMobile {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    width: 80%;
}

#leftLinksMobile {
    width: 50%;
}

#leftLinksMobile ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#leftLinksMobile li {
    padding-top: .8em;
    padding-bottom: .8em;
}

#leftLinksMobile a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

#rightLinksMobile {
    width: 50%;
}

#rightLinksMobile ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#rightLinksMobile li {
    padding-top: .8em;
    padding-bottom: .8em;
}

#rightLinksMobile a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

#footerRightColumnMobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

#contactRowMobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
}

#footerAddressTitleMobile {
    margin-bottom: 20px;
}

#socialsContainerMobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#socialsRowMobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

#contactsRightMobile {
    width: 50%;
}

#socialsContainerMobile {
    width: 50%;
}

#paymentIconsMobile {
    display: flex;
    justify-content: center;
    margin-top: 3em;
}

/* @media rules */

@media only screen and (max-width: 1030px) {
    .navContainerMobile {
        width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-container {
        display: none;
    }

    /*Footer mobile*/

    .footerContentMobile {
        display: flex;
        flex-direction: column;
    }

    .footer-content {
        display: none;
    }

    .socialIcon {
        width: 2em;
        height: 2em;
    }
}

@media only screen and (max-width: 533px) {
    #productHeroSection {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding-left: 0px !important;
        aspect-ratio: 5/3 !important;
    }
}