/* Google fonts / you can use it ,  search  it on google font */
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/* some basic setup before starting the stylings  */
:root {
    --primary: #7369d3;
    --secondry: #2d3239;
}

/* let start  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

li {
    list-style: none;
}

ul,
ol {
    padding: 0;
    margin: 0;
}

p,
li {
    font-size: 17px;
    color: #363636;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    line-height: 1.4;
    font-weight: bold;
    text-transform: capitalize;
}

a {
    text-decoration: none;
    transition: .4s ease;
    font-size: 15px;
    font-weight: 400;
}

img {
    max-width: 100%;
    transition: .4s ease;
}

.pt-6 {
    padding-top: 60px;
}

.pb-6 {
    padding-bottom: 60px;
}

.container {
    max-width: 1240px;
}

/* now style the header  */

.navbar-brand {
    width: 120px;
    height: auto;
}

.nav .navbar-nav .nav-link {
    color: #000;
    padding: 5px 20px;
    font-size: 16px;
}

.search-icon {
    border-right: 2px solid #cdcdcd;
    padding: 4px 22px;
    margin-right: 25px;
    font-size: 20px;
}

.shop-icon ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-icon ul li a {
    background-color: var(--primary);
    margin: 1px;
    padding: 12px 15px;
    border-radius: 6px;
    color: white;
}

.shop-icon ul li a:hover {
    background-color: var(--secondry);
}

/* style  */

.hero-slider .slides {
    background-size: cover;
    background-position: center;
    padding: 180px 0;
    color: white;
    height: 600px;
}

.slider-content {
    max-width: 600px;
    text-align: left;
}

.slider-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.slider-content span {
    color: var(--primary);
}

.slider-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.btn {
    padding: 10px 25px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* style  */

.slides-cat {
    text-align: center;
}

.slides-cat img {
    width: 165px;
    border-radius: 50%;
    margin: auto;
    object-fit: cover;
}

.slides-cat .cat-text {
    font-size: 20px;
    font-weight: 400;
    margin-top: 12px;
    text-align: center;
    font-family: "Roboto", sans-serif;
}

/* lets style  */

.product-sec {
    background-color: white;
}

.product-box {
    position: relative;
    overflow: hidden;
    transition: .4s ease;
    border-radius: 10px;
    border: 1px solid #e7e7e7;
    margin-bottom: 25px;
}

.pr-icon ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.pr-icon ul li {
    margin: 0 5px;
}

.pr-icon ul li a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.pr-icon ul li a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pr-icon .favorite-toggle.favorited i {
    color: red; /* Make favorited hearts red */
}


.product-box h3 {
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
}

.pr-text {
    text-align: center;
    margin-top: 18px;
}

.pr-text h3 {
    font-size: 14px;
}

.pr-img {
    overflow: hidden;
}

.product-box:hover img {
    transform: scale(1.1);
}

.product-box:hover .pr-icon ul {
    transform: inherit;
    opacity: 1;
    top: 60%;
}

.title h6 {
    font-size: 18px;
    text-transform: uppercase;
}

.title h2 {
    font-size: 36px;
    text-transform: capitalize;
    color: var(--primary);
}


.image-box {
    position: relative;
    margin-bottom: 25px;
    overflow: hidden;
}

.img-text {
    position: absolute;
    top: 0;
    padding: 20px;
}

.img-text a {
    background-color: #000;
    color: white;
    padding: 6px 20px;
    border-radius: 8px;
}

.image-box img:hover {
    transform: scale(1.1);
}

.image-box img {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
}

.img-text h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 24px;
}

/* style  */

.test-box {
    background-color: white;
    padding: 40px 30px 30px;
    position: relative;
    border-radius: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin-top: 30px;
    width: 95%;
    margin: 30px auto 40px;
}

.quote {
    color: var(--primary);
    position: absolute;
    top: -55px;
    font-size: 70px;
}

.test-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.test-info img {
    width: 60px;
    border-radius: 100px;
}

.blog-box {
    width: 100%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: .4s ease;
}

.blog-box:hover {
    transform: translateY(-10px);
}

.blog-text {
    padding: 20px;
}

.blog-text h4 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.blog-text a {
    background-color: var(--primary);
    padding: 6px 20px;
    border-radius: 6px;
    color: white;
}

/* style  */

footer {
    background-color: #000;
    padding: 60px 0 0;
    position: relative;
}

footer a,
footer p {
    color: white;
    text-decoration: none;
}

footer h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

footer img {
    width: 155px;
    height: auto;
    background-color: white;
    padding: 5px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.cont-flex {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.cont-flex i {
    background-color: var(--primary);
    width: 40px;
    height: 40px;
    display: grid;
    place-content: center;
    border-radius: 100%;
    color: white;
}

.cont-flex>div {
    width: 75%;
}

.cont-flex span {
    display: block;
    color: white;
    font-size: 17px;
    font-weight: 600;
}

.copyrights {
    padding: 15px 0;
    text-align: center;
    border-top: 2px solid white;
    margin-top: 25px;
}

.btn:hover {
    background-color: var(--secondry);
}

        /* Basic styling for the cart count badge */
        .shop-icon ul li {
            position: relative; /* Needed for absolute positioning of the badge */
            display: inline-block; /* To make sure the li doesn't take full width */
        }
        #cart-count {
            font-size: 0.75em; /* Smaller font for the count */
            padding: 0.2em 0.5em; /* Adjust padding as needed */
            line-height: 1; /* Ensure text sits nicely */
            right: -5px; /* Adjust as needed to position relative to the cart icon */
            top: -5px; /* Adjust as needed */
        }
