@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&family=Saira+Stencil+One&family=Saira:ital,wght@0,100..900;1,100..900&family=Teko:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    user-select:none;
}


.header{
    padding:22px 29px 18px 29px;
}


/* navbar styles --------- */


.overlay-navbar {
    position: absolute;
    top:5px;
    left: 0;
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: white;
    text-align: center;
    z-index: 3;
    padding:49px 0px;
}

.navbar-search form {
    display: flex;
}

.logo{
    width:162px;
    height:123px;
}

.navbar-search {
    flex:1;
}

.navbar-search-desktop {
    display: block;
}

.navbar-search input {
    flex: 1;
    padding: 12px 22px;
    border-radius: 50px 0 0 50px;
    border:none ;
    box-shadow:none !important;
    font-size:18px;
    width:363px;
}

.navbar-search button {
    padding: 10px 15px;
    border-radius: 0 50px 50px 0;
    border: none;
    background-color: black;
    color: black;
    cursor: pointer;
}

.navbar-icons {
    flex:2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap:32px !important;
    cursor:pointer;
}

.navbar-icon {
    position: relative;
    margin-left: 15px;
    color: #ffffff;
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 2px;
}

.menu-icons{
    width:auto;
    padding:12.5px 19px;
    display:flex;
    border-radius:62px;
    background-color:white;
    color:black;
    justify-content:space-between;
    gap:30px;
}

.menu-icons div{
    cursor:pointer;
}

.active-icon {
    position: relative;
    display: inline-block;
}

.active-icon .badge {
    position: absolute;
    top: -6px;
    right: -5px; 
    background-color: purple;
    color: white;
    font-size: 12px;
    font-weight:500;
    padding: 3px 6px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0);
    min-width: 20px; /* To make the badge circular */
    text-align: center;
    border-radius: 51% 49% 55% 45% / 59% 55% 45% 41%;
}


@media (max-width: 820px) {
    .active-icon .badge {
        font-size: 11px;
        font-weight:500;
        padding: 2px 5px;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0);
        min-width: 15px;
    }
}


/* second navbar =============== */


.secondary-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1px 60px;
    display: none;
    z-index: 1000;
    align-items:center;
    justify-content:space-between;
    height:75px;
}

.second-search{
    width:200px;
}

.logo-second{
    width:95px;
}

.secondary-navbar .nav-logo {
    display: inline-block;
}

.secondary-navbar .navbar-search-second {
    display: inline-block;
    margin-left: 20px;
}

.secondary-navbar .menu-icons {
    float: right;
}

.navbar-search-second input[type="search"] {
    width: 500px; 
    padding: 10px 18px;
    border: 1px solid #ccc; 
    border-radius: 22px 0px 0px 22px; 
    font-size: 16px;
}

.navbar-search-second button {
    padding: 8px 12px; 
    background-color: #000; 
    border: none;
    color: white;
    border-radius:0px 22px 22px 0px ;
    cursor: pointer;
}

.navbar-search-second {
    display: flex;
    gap: 5px; 
    align-items: center;
    justify-content: center;
}



.dropdown-menus {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 10px;
}

.dropdown-menus.show {
    display: block;
}

.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.dropdown-menus {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 150px;
    display: none;
    z-index: 100;
}

.dropdown-menus ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.dropdown-menus ul li {
    padding: 10px 15px;
}

.dropdown-menus ul li a {
    text-decoration: none;
    color: #333;
}

.dropdown-menus ul li:hover {
    background-color: #f5f5f5;
}




@media (max-width: 950px) {
    .navbar-search-second{
        display:none !important;
    }
}

@media (max-width: 750px) {
    .secondary-navbar {
        padding:0px 10px;
    }
}


/* Hero Section style ---------- */

.hero {
    position: relative;
    height:682px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius:49px;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    z-index: 2;
    padding:379px 0px;
    user-select:none;
}

.overlay h1 {
    font-size: 9em;
    font-family: "Saira Stencil One", sans-serif;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 8px;
    color: black;
    text-shadow: 
        -1px -1px 0 #fff, 
        1px -1px 0 #fff, 
        -1px  1px 0 #fff, 
        1px  1px 0 #fff; /* Create white outline effect */
    display: inline-block;
    letter-spacing:18px;
}

.overlay p {
    font-size: 1.4em;
    margin-bottom: 20px;
    font-family: "Saira", sans-serif;
    letter-spacing:5px;
    max-width:556px;
}

.shop-btn {
    padding:10px 30px;
    font-size: 1.1em;
    color: #03356f;
    background-color: white;
    border: none;
    border-radius: 29px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.shop-btn:hover {
    background-color: #eee;
}


/* mobile search box */

.container-build{
    padding:22px 29px;
}

.search-desktop{
    display:none;
}

.fabric-img{
    max-width: 700px;
    margin-bottom:20px;
}


@media (max-width: 820px) {
    .overlay h1 {
        font-size: 7em;
    }

    .overlay p {
        font-size: 1.3em;
        padding:0px 16px;
    }

    .shop-btn {
        font-size: 1em;
        padding: 10px 35px;
    }

    .hero {
        height:631px;
        border-radius:39px;
    }

    .header{
        padding:11px 13px;
    }

    .overlay {
        padding:353px 0px;
    }

    .overlay-navbar{
        top:19px;
        padding:12px 58px;
        justify-content:space-between;
    } 

    .logo{
        width:113px;
        height:106px;
    }
    
    .navbar-search-desktop {
        display:none;
    }

    .navbar-search{
        display:flex;
        justify-content:center;
    }

    .navbar-search-desktop {
        display:none;
    }
    
    .overlay-navbar-mobile{
        display:block !important;
        top:62px;
    }  

    .navbar-search button {
        border-radius:0px 10px 10px 0px;
    }

    .navbar-search input {
        font-size:16px;
        padding: 12px 12px;
        border-radius:10px 0px 0px 10px;
        width:100%;
    }

    .navbar-search form{
        width:100%;
        padding:2px 17px;
        margin-top:12px;
        margin-bottom:12px;
    }

    .fabric-img{
        max-width: 540px;
        margin-bottom:20px;
    }

    .search-desktop{
        position:sticky;
        top:75px;
        background:#F3F3F3;
    }
}

@media (max-width: 480px) {
    .menu-icons{
        display:flex;
        padding:8px 10px;
        gap:20px;
        border-radius:10px;
    }

    .fabric-img{
        max-width: 360px;
        margin-bottom:20px;
    }

    .menu-icons svg{
        width:22px;
    }
    
    .hero {
        height:489px;
        border-radius:33px;
    }

    .overlay {
        padding:307px 0px;
        gap:3px;
    }

    .overlay h1 {
        font-size: 4.1em;
        letter-spacing:12px;
    }

    .overlay p {
        padding:0px 23px;
        font-size: 1.2em;
    }

    .shop-btn {
        font-size: 1em;
        padding: 10px 31px;
    }

    .mobile-nav{
        display:none;
    }

    .navbar-search-desktop {
        display:none;
    }

    .navbar-search button {
        border-radius:0px 10px 10px 0px;
    }

    .overlay-navbar{
        justify-content: space-between;
        padding:10px 22px;
    } 

    .search-desktop{
        display:block;
        padding:5px 14px;
    }

    .navbar-search input {
        padding: 12px 22px;
        width:100%;
        border-radius:10px 0px 0px 10px;
    }

    .navbar-search form{
        width:100%;
        padding:1px 1px;
        margin-top:0px;
        margin-bottom:4px;
    }
}







/* =========   category section   ========= */

.category-section {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.categroy-cards {
    display: flex;
    padding: 10px 0;
    gap: 20px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    cursor: pointer;
    justify-content: space-evenly;
}

.cate-box {
    display: inline-flex; /* Allows box to wrap around content */
    align-items: center;
    border: 0.5px solid rgba(215, 215, 215, 0.95);
    border-radius: 7px;
    background: white;
    padding:6px 8px 6px 6px;
    gap: 8px;
    width:auto !important;
}

.cate-box:hover .cate-text{
    color:#4B6386;
    font-weight:500;
}

.cate-img {
    width: 49px;
    height: 45px;
    border-radius: 5px;
}


@media (max-width: 988px) {
    .category-section {
        padding: 0 22px;
    }
    
    .categroy-cards {
        gap: 10px;
        max-width: 100%;
    }
}

@media (max-width: 461px) {
    .category-section {
        padding: 0 16px;
    }

    .categroy-cards {
        gap: 8px;
    }
    
    .cate-box {
        margin-right:14px !important;
        padding: 4px 7px 4px 4px;
        gap: 4px;
    }

    .cate-img {
        width: 35px;
        height: 33px;
    }
}













/*  title section  */

.title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding:33px 49px;
    margin-top:59px;
    margin-bottom:29px;
}

.title {
    font-size: 1.7em;
    padding: 0 19px;
    text-align: center;
    white-space: nowrap;
    font-family: "Roboto Slab", serif;
    letter-spacing:2px;
    font-weight:500;
}

.color-title{
    font-size: 1.1em;
    font-weight:700;
    font-family: "Roboto Slab", serif;
}

.color-title::first-letter{
    color:#283657;
}

.border-dash {
    flex-grow: 1;
    border-top: 1px dashed #333;
    height:6px;
}

.color-title .letter-1 {
    color: #283657;
}

.color-title .letter-2 {
    color: #4B6386;
}

.color-title .letter-3 {
    color: #7FBCC7; 
}


@media (max-width: 768px) {
    .title-section {
        padding: 10px  16px;
        margin-top:52px;
        margin-bottom:2px;
    }
    .title {
        font-size: 1.5em;
    }
    .border-dash {
        border-top: 1px dashed #333;
    }
}








/* =====  product data  ===== */

.product-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(213px, 1fr)); /* Default layout for larger screens */
    gap: 39px;
    padding: 79px;
    padding-top:6px !important;
    max-width:1600px;
}

/* Product card styling */
.product-card {
    background: #ffffff;
    border-radius: 0px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    margin-bottom:22px;
    cursor:pointer;
}


/* Product image styling */
.product-img {
    width: 100%;
    height: 212px;
    max-height: 6100px;
    border-radius: 1px;
    object-fit: cover;
}

/* Product details */
.product-name {
    margin: 10px 0;
    font-size: 1.3rem;
    font-weight: 400;
    color: #333;
    font-family: "Roboto Slab", serif;
    letter-spacing:1px;
    text-align:left;
}

.price-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    margin-top:8px;
}

.price-box p:nth-child(1){
    font-size:0.9em;
    font-family: "Roboto Slab", serif;
    color:#484848;
}

.product-price {
    font-size: 1.3rem;
    color: #000;
    font-weight:500;
}


.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    width:100%;
    justify-content:space-between;
    margin-bottom:3px;

}

.product-quantity {
    width: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.add-to-cart {
    padding: 8px 23px;
    background-color:#022d57;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.9rem;
}

.add-to-cart:hover {
    background-color: #02376b;
}


/* ==== quantity section box ==== */

.quantity-box {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 123px;
    width: 100%;
    gap: 1px; 
    user-select: none;
}

.plus,
.minus {
    padding: 8px; 
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, background-color 0.2s;
}

.plus:hover,
.minus:hover {
    background: #f7f7f7;
    transform: scale(1.1); 
}

.input-quantity input {
    max-width: 70px;
    width: 100%;
    text-align: center; 
    font-size: 18px;
    padding: 6px 0px;
    border: 1px solid #fff;
    border-radius: 4px;
    user-select: none;
}

.input-quantity input:focus {
    border: 2px solid #fff; 
    outline: none;
}

.input-quantity input::-webkit-outer-spin-button,
.input-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
.input-quantity input[type=number] {
    -moz-appearance: textfield;
}


@media (max-width: 768px) {
    .quantity-box {
        max-width: 140px; 
        gap: 6px;
    }

    .plus,
    .minus {
        padding: 4px; 
    }

    .input-quantity input {
        max-width: 50px; 
        font-size: 14px; 
    }
}




@media (max-width: 768px) {
    .product-section {
        grid-template-columns: repeat(2, 1fr);
        padding:10px;
        gap:8px;
        padding-top:13px !important;
    }

    .product-card {
        padding: 9px;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .add-to-cart {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .price-box p:first-child{
        font-size:12px;
    }

    .mobile-container{
        padding-right:0px !important;
        padding-left:0px !important;
    }
}



@media (max-width: 768px) {
    .toastify {
        padding: 12px 8px !important;  /* Smaller padding */
        max-width: 95% !important;  /* Make toast width smaller on mobile */
    }

    .toastify span {
        font-size: 15px !important;  /* Adjust font size for mobile */
    }

    .toastify i {
        font-size: 20px !important;  /* Smaller icon size for mobile */
    }
}

@media (max-width: 480px) {
    .toastify {
        padding: 12px 10px !important;  /* Further reduce padding on very small screens */
        max-width: 95% !important;  /* Further limit width on very small screens */
    }

    .toastify span {
        font-size: 15px !important;  /* Adjust font size for very small screens */
    }

    .toastify i {
        font-size: 18px !important;  /* Adjust icon size for very small screens */
    }
}