/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "roboto";
    text-decoration: none;
}

/* home page start */
h2 {
    text-align: center;
}

.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;

}

.container>hr {
    margin-top: 0.4rem;
    margin-bottom: 0.3rem;
    border-top: 1px solid rgba(0, 0, 0, 1);
}

 /* header secttion start */
.header-main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 1rem;
    margin: 0 10px;
    min-height: 60px;
}

/* col one start */

.col1 {
    font-size: 25px;
    position: absolute;
    left: 0;
}

/* col one ends */
/* col two start */
.col2 {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.col2 a {
    color: black;
    text-decoration: none;
}

.col2>div {
    display: inline-block;
}

.col2 {
    width: 100%;
}


.col2,
.col3 {
    font-size: 18px;
    font-weight: 400;
}

.col3 {
    position: absolute;
    right: 0;
    white-space: nowrap;
    align-items: center;
}

.header-main-wrapper input[type=checkbox] {
    display: none;

}

.drop-content {
    text-align: center;
    background-color: rgb(201, 201, 201);
    width: 150px;
    display: none;
    z-index: 100;
}

.drop-content a {
    padding: .5rem;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    box-sizing: border-box;
}

.drop-content a:nth-child(even) {
    border-bottom: 1px solid black;
    border-top: 1px solid black;

}

#categoryd:checked~.drop-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + .6rem);

}

.category {
    cursor: pointer;
}

.category i {
    font-size: 15px;
    padding-left: 2px;
    cursor: pointer;
}

/* col two ends */
/* col three start */

.col3 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

.col3 .search-wrapper form input[type=text] {
    width: 150px;
}

.search-wrapper i {
    font-size: 15px;
    cursor: pointer;
}

.search-input {
    display: none;
    outline: none;
    padding: 5px;
    opacity: 0;
    transition: all 2s linear;
}

.search-input.active-search {
    opacity: 1;
    display: inline-block;
}

.search-icon {
    cursor: pointer;
}

.col3 .account::after {
    border-left: 1px solid #000;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
}

.col3 div a {
    color: black;

}

.col3 .account i,
.col3 .cart i {
    display: none;
}

.account a {
    margin-right: 10px;
}
/* col three ends */





/* media queries for header */
/*mobile-view*/
@media screen and (max-width: 767px) {
    .header-main-wrapper {
        display: flex;
        flex-direction: column;
        margin: 0 1rem;
        padding-top: 0;
    }

    .header-main-wrapper {
        min-height: 30px;
    }

    .col1 {
        font-size: 20px;
        top: 15px;
    }


    .col3 .account::after {
        display: none;
    }


    .col2 {
        order: 3;
        align-content: center;
        margin-top: 60px;
    }

    .col3 {
        position: absolute;
        top: 15px;
        right: 0;
        min-height: 30px;
    }

    .col3 .account span,
    .col3 .cart span {
        display: none;
    }

    .col3 .account i,
    .col3 .cart i {
        display: inline-block;
    }

    #categoryd:checked~.drop-content {
        display: flex;
        flex-direction: column;
        position: absolute;
    }


    .drop-content a:nth-child(even) {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
    }

}


/*tab-portrait*/
@media (min-width: 768px) and (max-width: 991px) {
    .header-main-wrapper {
        display: flex;
        flex-direction: column;
        margin: 0 1rem;
    }


    .col1 {
        font-size: 24px;


    }


    .col3 .account::after {
        display: none;
    }


    .col2 {
        order: 3;
        align-content: center;
    }

    .col3 {
        position: absolute;
        top: 3;
        right: 0;
    }

    .col3 .account span,
    .col3 .cart span {
        display: none;
    }

    .col3 .account i,
    .col3 .cart i {
        display: inline-block;
    }

    #categoryd:checked~.drop-content {
        display: flex;
        flex-direction: column;
        position: absolute;
    }


    .drop-content a:nth-child(even) {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
    }
}


/*small pc*/
@media (min-width: 992px) and (max-width: 1200px) {
    .header-main-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .search-wrapper form {
        display: flex;
        gap: 5px;
        align-items: center;
    }

    .account a span, .cart a span {
        white-space: nowrap;
    }
}



/* header section ends */
/* product section start */
.product h2 {
    padding-top: 1rem;
    /* padding-bottom: 0.5rem; */
    text-transform: uppercase;
    font-size: 1.5rem;
}
.product hr {
    border-top:1px solid rgba(0, 0, 0, 1) ;
}
.product-preview-image-wrapper {
    overflow: hidden;
    padding-top: 5px;
}

.product-preview-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.product-card {
    flex: 1;
    padding: 1rem;
    min-width: 250px;
    max-width: 25%;
}

.product-card-image-wrapper {
    height: 250px;
}

.product-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    text-align: center;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 18px;
}

.product-price {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 18px;
}

.new-product {
    padding-bottom: 50px;
}
/* product section ends */
/* homepage ends */



/* start  product page */
/* product page styling */

.product-customize {
    display: flex;
    margin: 1rem 2rem 0rem 2rem;
}

.product-customize-form-mobile {
    display: none;
}

.product-customize-form {
    display: block;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

/* product preview image */
.customize-image-preview {
    flex: 1;
    width: 100%;
    height: 500px;
}

.customize-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* product customize */
.customize-product {
    flex: 1;
    padding-left: 1.5rem;
    position: relative;
}

.co-product-title {
    text-transform: capitalize;
    font-size: 30px;
    padding-bottom: 1rem;
}

.co-product-price {
    font-size: 20px;
    padding-bottom: 2rem;
    font-weight: bold;
}

.co-product-color-tag {
    font-size: 20px;
    padding-bottom: 0.2rem;
    font-weight: bold;
}

.add-to-cart {
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    padding: 10px 40px;
    text-align: center;
    background-color: black;
    color: #fff;
    font-size: 18px;
}


/* costomize color dropdown */
.custom-select-1 {
    position: relative;
}

.custom-select-1 select {
    display: none;
}

.select-selected {
    background-color: rgb(201, 205, 209);
}



/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: rgb(0, 0, 0) transparent transparent transparent;
}


/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
    color: #000000;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: rgb(201, 205, 209);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 0;
}
/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.2);
}


/* media queries for prouct customze*/


/*mobile-view*/
@media screen and (max-width: 586px) {
    .product-card{
        max-width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .customize-product {
        padding-top: 15px;
    }
    .product-customize {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .product-customize-form {
        /* display: none; */
    }

    .product-customize-form-mobile {
        display: block;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .customize-product {
        flex: 1;
        position: static;
        padding: 0;
    }

    .add-to-cart {
        margin-top: 10rem;
        position: static;
        z-index: 1;
    }


    .navigation-mobile ul li a {
        color: #000000;
    }

    i.fa-solid.fa-cart-shopping, i.fa-solid.fa-user {
        color: #000000;
    }
    
    .product-customize {
        margin: 1rem 0 0 0;
    }

    .customize-product {
        margin: 0 1rem 1rem 1rem;
        padding-top: 15px;
    }

    .product-preview-image-wrapper {
        margin: 0 1rem;
    }
}




/*tab-portrait*/
@media (min-width: 768px) and (max-width: 991px) {
    .product-card-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .customize-product {
        padding-top: 15px;
    }
    .custom-select-1 {
        width: 250px;
    }

    .product-customize {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .product-customize-form {
        /* display: none; */
    }

    .product-customize-form-mobile {
        display: block;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .customize-product {
        flex: 1;
        position: static;
        padding: 0;
    }

    .add-to-cart {
        margin-top: 10rem;
        position: static;
        z-index: 1;
    }

    .custom-select-1 {
        width: 250px;
    }

    .navigation-mobile ul li a {
        color: #000000;
    }

    i.fa-solid.fa-cart-shopping, i.fa-solid.fa-user {
        color: #000000;
    }
    
    .product-customize {
        margin: 1rem 0 0 0;
    }

    .customize-product {
        margin: 0 1rem 1rem 1rem;
        padding-top: 15px;
    }

    .product-preview-image-wrapper {
        margin: 0 1rem;
    }
}