/* 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;
    /* header secttion start */
}

.header-main-wrapper {
    display: flex;
    position: relative;
    padding-top: 1rem;
    margin: 0 10px;
    justify-content: space-between;
    flex-direction: column;
}

/* col one start */
.col1 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    min-height: 30px;
    align-items: center;
}

.col1 .search-wrapper form input[type=text] {
    width: 150px;
}

.search-wrapper i {
    font-size: 15px;
}

.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;
}

.col1 div a {
    color: black;

}

.account a {
    margin-right: 10px;
}

.search-wrapper {
    margin-right: 10px;
}

/* col one ends */


/* col two start */

.col2 {
    flex: 1;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.header-drop {
    position: relative;
}

.header-drop 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 */

/* navigation start */
.navigation ul li {
    list-style: none;
    display: inline-block;
    margin: 0 40px;
}

.navigation ul {
    text-align: center;
}

.navigation ul li a {
  color: #000000;
}

.navigation  {
    padding: 10px 0;
    width: 100%;
}
.header-bottom {
    display: none;
}

/* navigation ends */



/* media queries for header */
/*mobile-view*/
@media screen and (max-width: 767px) {
    .header-main-wrapper {
        display: flex;
        flex-direction: column-reverse;
        gap: 15px;
        margin: 0 1rem;
        padding-bottom: 15px;
    }

    .nav {
        display: none;
    }

    .nav.active-nav {
        display: block;
    }

    span.mobile-dropdown-btn {
        position: absolute;
        left: 0;
    }


    .navigation ul li {
        display: block;
        margin-bottom: 10px;
    }

    .mobile-header {
        font-size: 24px;
        text-align: center;
        margin-bottom: 1rem;

    }

    
 
    .col1 .account span,
    .col1 .cart span {
        display: none;
    }

    .col1 .account i,
    .col1 .cart i {
        display: inline-block;
    }

    #categoryd:checked~.drop-content {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .drop-content a:nth-child(even) {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
    }

    .mobile-nav {
        display: flex;
        justify-content: space-between;
        margin: 0 1rem;
    }

    .mobile-nav-left {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-right {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .navigation-mobile {
        text-align: center;
        padding: 10px 0;
        background: #d9d9d9;
    }
    
    .navigation-mobile ul {
        list-style: none;
    }

    .navigation-mobile ul li a {
        color: #000000;
    }

    i.fa-solid.fa-cart-shopping, i.fa-solid.fa-user {
        color: #000000;
    }

    .col2 {
        font-size: 24px;
        margin-bottom: 0;
    }
}


/*tab-portrait*/
@media (min-width: 768px) and (max-width: 991px) {
    .header-main-wrapper {
        display: flex;
        flex-direction: column;
        margin: 0 1rem;
    }


    .col2 {
        font-size: 24px;
    }


    .col1 {
        position: absolute;
        top: 3;
        right: 0;
    }

    .col1 .account span,
    .col1 .cart span {
        display: none;
    }

    .col1 .account i,
    .col1 .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;
}

.product-preview-image-wrapper {
    overflow: hidden;
    padding-top: 5px;
    margin-top: 15px;
}

.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;
    width: 200px;
}

.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);
}

span.mobile-dropdown-btn {
    display: none;
}

/* product page ends */
/*mobile-view*/
@media screen and (max-width: 586px) {
    .product-card {
        max-width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .product-customize {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    span.mobile-dropdown-btn {
        display: block;
    }

    .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 {
        width: 100%;
    }

    .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-customize {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    
    span.mobile-dropdown-btn {
        display: none;
    }

    .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;
        width: max-content;
    }
    .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;
    }
    .product-card-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}