 /* start new  */
 /*    
   :root {
        --primary-color: #2563eb;
        --secondary-color: #1e293b;
        --accent-color: #ec4899;
        --text-dark: #0f172a;
        --text-light: #64748b;
        --bg-light: #ffffff;
        --border-color: #e2e8f0;
    } */
 body {
     font-family: 'Poppins', sans-serif;
     color: var(--text-dark);
     padding-top: 0;
 }


 /* end new  */




 :root {

     --maincolor: #0e282d;
     --mainsecond: rgb(251, 255, 247);
     --mainbackground: #fafafa;
     /* main background  #f8f9fa; */
 }

 .mainbackground {
     background-color: var(--mainbackground);
 }

 .main_color {
     background-color: var(--maincolor);
 }

 .main_color_f {
     color: var(--maincolor);
 }



 /* header  */
 .brand {
     display: flex;
 }

 .icons {
     display: flex;
 }

 .search_header {
     display: flex;
 }








 .navbar_bahar {
     display: flex;
     column-gap: 20px;
     justify-content: center;
     align-items: center;
     background-color: #17418a;
     height: 90px;
     color: white;
 }



 .logo_brand {
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .title_barhar {
     margin-top: 20px;
     margin-left: 10px;
 }

 #logo_img {
     width: 170px;
     height: 60px;
     margin-left: -15px;


 }












 .navbar {
     background-color: #fff;
     height: 80px;
     margin: 0px;
     border-radius: 1px;
     padding: 0.5rem;
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 7px 0 rgba(0, 0, 0, 0.19);

 }

 /* custom dropdown  */
 .dropbtn,
 .dropbtnf {
     background-color: white;
     color: rgb(30, 30, 30);
     font-family: Arial, Helvetica, sans-serif;
     padding: 10px;
     font-size: 16px;
     border: none;
     border-radius: 9px;
     cursor: pointer;
     z-index: 1;
 }

 .dropbtnf {
     background-color: white;
     /* border: 0.4px solid rgb(185, 185, 185); */
     border-radius: 9px;
     color: black;
 }

 .dropbtnf a,
 .prfo {
     font-size: 15px;
 }

 /* The container <div> - needed to position the dropdown content */
 .c_dropdown {
     position: relative;
     display: inline-block;
 }

 .c_dropdown-content {
     display: none;
     position: absolute;
     background-color: #f9f9f9;
     min-width: 160px;
     box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
     z-index: 1;
     /* border: 0.4px solid green; */
     overflow-y: auto;
     max-height: 0;
     font-size: 14px;
     opacity: 0;
     visibility: hidden;
     transition: max-height 0.3s ease, opacity 0.3s ease;
 }

 .c_dropdown-content::-webkit-scrollbar {
     display: none;
 }

 .c_dropdown:hover .c_dropdown-content {
     display: block;
     opacity: 1;
     visibility: visible;
     max-height: 400px;
     transition-delay: 0.5s;
 }

 .c_dropdown-content a {
     color: black;
     padding: 12px 16px;
     text-decoration: none;
     /* border: 0.2px solid gray; */
     display: block;
     opacity: 0;
     transform: translateY(-10px);
     transition: opacity 0.3s ease, transform 0.3s ease;
 }

 .c_dropdown-content a:hover {
     background-color: #ddd;
     border-bottom: 0.2px solid rgb(32, 57, 110);
 }

 .c_dropdown:hover .c_dropdown-content a {
     opacity: 1;
     transform: translateY(0);
 }


 /* custom dropdown  */

 /* start main slider    */
 * {
     margin: 0;
     padding: 0;
     /* box-sizing: border-box; */
 }



 /* Navigation Buttons */
 .nav-btn {
     position: absolute;
     top: 51%;
     width: 50px;
     height: 50px;
     background: rgba(218, 217, 217, 0.5);
     color: #fff;
     border: none;
     cursor: pointer;
     transform: translateY(-50%);
     z-index: 1;
 }




 /* header part  */

 body {
     margin: 0;
     font-family: Arial, sans-serif;
 }

 .bahar-navbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 5px 15px;
     margin-left: 10px;
     margin-right: 10px;
     background-color: #fff;
     border-bottom: 1px solid #ddd;

 }

 .bahar-navbar-logo {
     display: flex;
     align-items: center;
 }

 .bahar-navbar-logo img {
     height: 30px;
     margin-right: 10px;
 }

 .bahar-navbar-title {
     font-size: 24px;
     color: rgb(36, 95, 42);
     margin-top: 10px;
 }





 @media (max-width:991px) {

     .bahar-navbar {
         /* padding: -2px 5px; */
         margin-left: 0px;
         margin-right: 0px;
         margin-top: 0px;
     }

     .bahar-cart-icon {
         padding: 3px;
     }

     .bahar-navbar-actions {
         display: flex;
         align-items: center;
         column-gap: 8px !important;
         font-size: 20px;
         color: darkgreen;
     }

     .bahar-navbar-search,
     .bahar-navbar-search input[type="text"] {
         display: none;
     }

     #all_category {
         display: none;
     }

     .bahar-navbar-search input {
         flex: 1;
         padding: 10px;
         border: 1px solid #ddd;
         border-radius: 18px;
         font-size: 14px;
         outline: none;
         /* margin-top: -10px; */
         margin-left: -23px;
         width: 100px;
     }

     .product-image {
         height: 100% !important;
         object-fit: cover;
     }

     .bahar-navbar-logo {
         /* width: 0% !important; */
         display: none;
     }

     .c_dropdown {
         margin-left: -18px;
     }

     .dropbtn {
         margin-top: 15px;
     }

     #logo_img {
         width: 40% !important;
         height: 50%;
     }

 }



 .bahar-navbar-search {
     display: flex;
     align-items: center;
     flex-grow: 1;
     margin: 0 20px;
 }



 .bahar-navbar-search input[type="text"] {
     width: 100%;
     padding: 10px;
     border-radius: 20px;
     border: 1px solid #ddd;
     outline: none;
     transition: all 0.3s ease-in-out;
     /* Smooth transition */
 }

 .bahar-navbar-search input[type="text"]:focus {
     border-color: #213e50;

 }

 .bahar-navbar-search button {
     background: none;
     border: none;
     margin-left: -40px;
     cursor: pointer;
 }



 .bahar-navbar-actions {
     display: flex;
     align-items: center;
     column-gap: 20px;
     font-size: 20px;
     color: darkgreen;
 }

 .bahar-sell-button {
     background-color: #d7effd;
     color: #007bff;
     border: none;
     padding: 10px 15px;
     border-radius: 5px;
     margin-right: 20px;
     cursor: pointer;
 }

 .fa-user,
 .fa-shopping-cart {
     font-size: 20px;
     /* color: #666; */
     color: red;
     margin-right: 20px;
     cursor: pointer;
 }

 .bahar-cart-icon {
     position: relative;
 }

 .bahar-cart-count {
     position: absolute;
     top: -10px;
     right: -10px;
     background-color: lightcoral;
     color: white;
     border-radius: 50%;
     padding: 2px 6px;
     font-size: 12px;
 }

 .prices {
     border-radius: 50%;
     position: relative;
     color: rgb(0, 0, 0);
     margin-top: -25px;
     text-align: center;
     font-size: 12px;
     z-index: 1;

 }

 .p_price {
     margin-right: 30px !important;
     margin-left: -20px;
 }

 /* start main service  */
 .main_service {
     display: flex;
     overflow-x: auto;
     -webkit-overflow-scrolling: touch;
     scrollbar-width: none;
     /* For Firefox */
     justify-content: center;
     align-items: center;
     margin: 0 auto;
     margin: 15px;
     margin-left: 7%;
     padding: 18px;
     padding-left: 20px;
     overflow-x: scroll;
     scrollbar-width: none;
     cursor: grab;
     user-select: none;
     width: 90%;

 }

 .main_service::-webkit-scrollbar {
     display: none;
 }

 .img_service {
     display: flex;
     align-items: center;
     width: 100px;
     height: 100px;
     justify-content: center;
     background-color: rgb(219, 10, 104);
     border-radius: 50%;
     margin-left: 10px;
     user-select: none !important;
 }

 .img_service p {
     color: red;
 }

 .img_service img {
     border-radius: 48%;
     width: 97%;
     height: 97%;
     user-select: none !important;
 }



 /* end main service  */
 .p-slider {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     margin: 0px auto;
     width: 100%;
 }

 .product_slider_heading {
     font-size: 28px;
     text-transform: uppercase;
     color: #295e6a;
     font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
     text-align: center;
     margin: 0px;
 }



 .product_slider_descount {
     background-color: #f34b09;
     border-radius: 50%;
     position: absolute;
     font-weight: 600;
     font-size: 12px;
     color: #fff;
     z-index: 1111;
     padding: 2px;
     margin: 0;
 }



 .p_box_text {
     margin-top: 5px;
     width: 100%;
     position: relative;
     z-index: 20;
 }

 .p_box_text .eyes {
     padding-left: 5px;
 }

 .p_img {
     width: 100%;
     overflow: hidden;
 }

 .p_img a,
 .p_img {
     width: 100%;
     height: 100%;
     display: flex;
     justify-content: center;

     /* margin-left:30px !important; */
 }

 .p_img a img {
     border-radius: 10px;
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     height: 220px;
     transition: all 0.6s ease-in;
 }

 @keyframes fade {
     0% {
         opacity: 0;
     }

     100% {
         opacity: 1;
     }
 }

 .p_box_text {
     margin-top: 5px;
     width: 100%;
 }

 .product_category {
     display: flex;
     justify-content: center;
     align-items: center;
     flex-wrap: wrap;
 }

 .product_category span {
     color: rgb(12, 16, 13);
     font-size: 0.9rem;
     margin: 5px 0px;
     font-weight: bold;
     border-bottom: 1px solid gray;

 }

 .product_title {
     color: rgb(6, 6, 6);
     font-weight: 600;
     text-decoration: none;
     margin: 0px 5px 0px 5px;
     font-size: 14px;
     /* Top is 10px, right is 20px, bottom is 30px, left is 5px */
     transition: all ease 0.3s;
 }

 .product_title:hover {
     color: black;
     opacity: 0.7;
     transition: all ease 0.3s;

 }

 .price_buy {
     display: flex;
     justify-content: space-between;
     margin-top: 8px;
     margin: 5px;

 }

 .price_buy .p_price,
 .p_price_old {
     font-size: 12px;
     color: rgb(16, 74, 156);
     font-weight: 700;
 }

 .p_price {
     margin-right: 30px !important;
 }

 .price_buy .p_buy_btn {
     color: rgb(59, 213, 72);
     margin: 0px 5px;
     font-size: 12px;
     padding: 3px;
     font-weight: 600;
     text-decoration: none;
     border: 1px solid rgb(232, 123, 28);
     border-radius: 10px;
     transition: all 0.6s ease-in-out;
 }

 .price_buy .p_buy_btn:hover {
     background-color: rgb(107, 157, 98);
     color: #fff;
     transition: all 0.4s ease-in-out;

 }

 .p_discount {
     position: absolute;
     left: 10px;
     top: 20px;
     width: 50px;
     height: 24px;
     color: #fff;
     background-color: red;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 0.7rem;
     letter-spacing: 1px;
     z-index: 100;
     border-radius: 5px;
 }

 .slider_btns {
     display: flex;
     justify-content: flex-end;
     width: 100%;
     margin: 30px auto 10px auto;
     padding: 0px 10px;
 }

 .slider_btns p {
     display: flex;
     justify-content: flex-start;
     width: 100%;
     padding: 1px 0;
     border-bottom: 1px solid rgb(36, 41, 36) !important;
 }

 .slider_btns .text_tilte_group {
     border-bottom: 2px solid green !important;
 }

 .slider_btns button {
     position: static !important;
     transform: translate(0, 0);
     background-color: #fff;
     width: 80px;
     height: 35px;
     display: flex;
     justify-content: center;
     align-items: center;
     margin-right: 10px;
     border: 1px solid rgb(231, 231, 231);
     border-radius: 4px;

 }

 .slider_btns button span {
     font-weight: bold;
     padding: 10px 15px 10px 10px;
     position: relative;
     text-decoration: none;
 }

 .slider_btns button span::before,
 .slider_btns button span::after {
     border-right: 2px solid;
     display: block;
     height: 8px;
     margin-top: -6px;
     position: absolute;
     transform: rotate(135deg);
     right: 10px;
     top: 50%;
     width: 0;
     content: '';
     color: black;
 }

 .slider_btns button span::after {
     margin-top: -1px;
     transform: rotate(45deg);
 }

 .slider_btns .glider-prev span {
     transform: rotate(-180deg);
 }

 @media(max-width:500px) {
     .p-slider {
         width: 100%;
     }

     .product_slider_heading {
         text-align: center;
         font-size: 1.3rem;
         display: flex;
     }

     .p_img a,
     .p_img {
         height: 200px;
     }

     .price_buy .p_price {
         font-size: 1.1rem;
     }
 }


 @media(max-width:320px) {

     .p_img a,
     .p_img {
         height: 190px;
     }

     .slider_btns {
         padding: 0px;
     }
 }


 .line {
     margin-top: 5px;
     border: 1px solid #21785e;
     width: 50%;
 }

 .line2 {
     margin-top: 5px;
     border: 1px solid #2f7988;
     width: 60%;
 }

 /* inex.php start main product area */
 .product_card_b {
     margin-top: -10px;
 }

 .main_product_card {
     width: 240px;

 }

 .img_pro_top {
     width: 100%;

     height: 200px;
 }

 .main_product_card img {
     height: 100%;
 }

 .product_main_section {
     display: flex;
     column-gap: 10px;
     font-size: 12px !important;
 }

 .prod_button_group {
     display: flex;
     font-size: 12px;
     justify-content: space-between;
     align-items: center;
     font-weight: 600;
 }

 .button_buy a {
     font-size: 11px;
     font-weight: 600;
     margin: 0;
     padding: 4px;
     /* background:linear-gradient(45deg, #ee0557, #18ca18,rgb(255, 243, 243)); */
     text-decoration: none;
     transition: all 0.7s ease-in;
     border-radius: 10px;
     border: 1px solid greenyellow;
 }

 .button_buy a:hover {
     border: 1px solid rgb(42, 14, 200);
     border-radius: 10px;
 }

 .discon {
     display: flex;
     column-gap: 10px;
     align-items: center;

 }

 .descount_product {
     position: absolute;
     font-weight: 600;
     margin: 5px;
 }

 .new_product {
     position: absolute;
     font-weight: 600;
     margin-top: 30px;
 }

 .new_product span {
     color: #fff;
     border-radius: 50%;
     padding: 4px;
     background-color: #3a9e1c;
     font-size: 11px;
     margin-left: 5px;
 }

 del {
     color: #da2f2f;
 }

 .descount_product span {
     color: #fff;
     border-radius: 50%;
     padding: 4px;
     font-size: 11px;
     background-color: #f30b0b;
 }

 .eyes {
     display: flex;
     column-gap: 8px;
     align-items: center;
 }

 .eyes i {
     color: #17418a;
 }

 .eyes span {
     font-size: 12px;
     font-weight: 500;
 }

 /* start trandy product  */
 @media screen and (max-width: 800px) {
     .product_main_section {
         display: flex;
         flex-wrap: wrap;
         /* Allow items to wrap */
         gap: 8px;
         /* Adjust gap between cards as needed */
         align-items: center;
         margin: 0 auto;
         justify-content: center;

     }

     .main_product_card {
         width: 220px;
         /* Adjust width of the cards */
         margin: 0px;
         /* Optional: add margin around cards */
     }

 }


 /* end trandy product  */

 /*start shop card section  */
 .shoping_card_items,
 .card_group {
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-weight: 600;
     font-size: 14px;
 }

 .icon_danger {
     cursor: pointer;
 }

 .subtotal_card {
     display: flex;
     justify-content: space-between;
     padding-left: 10px;
     font-weight: 600;
     font-size: 16px;
     padding-right: 10px;
 }

 .amount_card {
     color: #108f07;
 }


 .card_group {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-top: 30px;
     padding-left: 20px;
     padding-right: 20px;
 }

 .btn_view {
     border: 1px solid rgb(18, 16, 16);
     height: 40px;
     border-radius: 5px;
     padding: 5px;
     display: flex;
     justify-content: center;
     align-items: center;
     text-decoration: none;
     color: rgb(18, 16, 16);
     width: 130px;
     background-color: #ffffff;
     transition: all 0.7s ease-in-out;
 }

 .btn_view:hover {
     background-color: #eba44c;
     transition: all 0.3s ease-in-out;
 }

 .btn_check {
     border: 1px solid rgb(18, 16, 16);
     width: 130px;
     height: 40px;
     border-radius: 5px;
     padding: 5px;
     background-color: #eba44c;

 }

 .btn_check:hover {
     border: 1px solid rgb(18, 16, 16);
     color: #ffffff;
     font-weight: 600;
     background-color: #47885c;
 }

 /*end shop card section  */
 /*start shop_card.php  */
 .container_card {
     display: flex;
     justify-content: center;
     align-items: center;
     column-gap: 15px;


 }

 @media screen and (max-width: 800px) {
     .container_card {
         display: flex;
         flex-direction: column;
         width: 100%;
         margin-top: 20px;
     }

     .card_left_details {
         width: 100%;
         margin-top: 0px !important;
     }

     .card_group {
         margin-top: -10px;
     }

     .card_details_right {
         width: 100%;

     }

 }




 .card_left_details {
     flex-grow: 2;
     margin-top: -15px;

     text-align: center;
     margin-top: -403px;
     /* margin-top: -29px; */
     align-items: center;
     justify-content: center;

 }

 .card_details_right {
     flex-grow: 1;
     border: 1px solid gray;
     border-radius: 5px;
     padding: 15px;

 }

 .card_subtotal {
     display: flex;
     justify-content: space-between;
     font-weight: 600;
     font-size: 14px;
     margin-top: 10px;
 }

 .titles {
     padding-left: 20px;
 }

 .total_amount {
     padding-right: 20px;
 }

 .input_group_card {
     font-size: 14px;
     display: flex;
     flex-direction: column;
     row-gap: 10px;
 }

 .shop_card_quantity {
     display: flex;
     margin: 0 auto;
     width: 120px;
     justify-content: center;
     align-items: center;
     border: 1px solid #ccc;
     text-align: center;

 }

 .shop_card_quantity input {
     width: 40px;
     height: 20px;
     text-align: center;
     border: none;
 }

 .minus,
 .plus {

     color: white;
     border-radius: 50%;
     width: 30px;
     margin: 2px;
     display: flex;
     justify-content: center;
     align-items: center;
     height: 30px;

 }

 .move_to_center {
     display: flex;
     justify-content: center;
     align-items: center;
     margin-top: 30px;
 }

 /*end shop_card.php  */

 .product_head {
     font-weight: 700;
     text-align: start;
     margin-left: 10px;
 }




 /* inex.php end main product area */



 .footer .btn {
     border-radius: 0;
 }

 .footer h5 {
     font-weight: bold;
 }


 .footer a:hover {
     color: rgb(244, 237, 237) !important;
 }

 .footer address,
 .footer ul {
     line-height: 1.7;
 }

 .footer .input-group .form-control {
     border-radius: 0;
 }

 footer {
     background-color: #0e282d;
     color: rgb(230, 236, 198) !important;
 }

 .list-unstyled li a {
     color: #e0e2e5
 }



 /* product details .php  */


 @media screen and (max-width: 800px) {
     .main_container {
         display: flex;
         flex-direction: column;
     }
 }

 .main_container {
     display: flex;
 }

 .product_left {
     width: 100%;

 }

 .product_img {
     display: flex;
     justify-content: center;
     align-items: center;
     margin: 10px;
 }

 .product_img img {
     width: 50%;
     height: auto;
 }

 .product_grop {
     margin: 0 auto;
     justify-content: center;
     align-items: center;
     display: flex;
     border-radius: 5px;
     gap: 5px;
     /* margin: 5px; */
 }

 .product_grop img {
     width: 24%;
     border-radius: 5px;
     padding: 10px;
     border: 1px solid rgb(235, 227, 227);
 }

 /* product-right  */
 .product_right {
     width: 100%;
 }

 .product_title {
     font-size: 12px;
     margin: 10px;
     font-weight: 700;
 }

 .product_price {
     margin: 10px;
 }

 .product_description {
     margin: 10px;
 }

 .product_button {
     display: flex;
     margin: 5px;
 }

 .product_button button {
     margin: 5px;
 }

 .button_category {
     display: flex;



 }

 .addquantity {
     background-color: rgb(254, 252, 250);
     /* border: 1px solid rgb(4, 4, 4); */
     border: thin solid #807f7f;
     width: 133px;
     border-radius: 13px;
     display: flex;
     align-items: center;
     height: 40px;
     padding: 0px;
     margin-top: 4px;
     justify-content: space-between;
 }

 .add_plus,
 .add_minus {
     border-radius: 50%;
     font-size: 22px;
     font-weight: 800;
     background-color: #e0dddd;
     border: none;
     cursor: pointer !important;
 }

 .add_minus {
     color: red;
     cursor: pointer;
 }

 .add_plus {
     color: rgb(37, 125, 3);
     cursor: pointer;
 }

 .addinput {
     width: 70px;
     border: none;
     outline: none;
     text-align: center;
 }

 .addinput:active {
     border: none;
 }

 /* index.php   */

 .feature-box {
     display: flex;
     align-items: center;
     padding: 20px;
     border: 1px solid #e0e0e0;
     border-radius: 10px;
     transition: all 0.3s ease;
     background-color: #fff;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
 }

 .feature-box:hover {
     background-color: #f9f9f9;
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
 }

 .feature-box i {
     font-size: 30px;
     color: rgb(44, 139, 33);
     margin-right: 10px;
 }

 .feature-box h5 {
     margin-bottom: 0;
     font-size: 14px;
     font-weight: bold;
 }

 .feature-box p {
     margin-bottom: 0;
     color: gray;
     font-size: 14px;
 }

 .divider {
     height: 80px;
     border-left: 1px solid #e0e0e0;
 }


 /* start index.php section  */



 .card-product {
     position: relative;
     transition: all 0.3s ease;
     border: 1px solid #eee;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     margin-bottom: 30px;
 }




 .card-product:hover {
     transform: translateY(-5px);
 }

 .product-badge {
     position: absolute;
     top: 15px;
     left: 15px;
     background-color: #ff5722;
     color: #fff;
     padding: 5px 10px;
     border-radius: 50px;
     font-size: 12px;
 }

 .product-badge_heart {
     position: absolute;
     top: 43px;
     left: 15px;
     background-color: #ff5722;
     color: #fff;
     padding: 5px 10px;
     border-radius: 50px;
     margin: 0 auto;
     font-size: 12px;
     cursor: pointer;
 }

 /* product-badge_heart product-heart-badge */

 .product-heart-badge {
     background-color: #223e6f;
     margin-top: 10px;
 }


 .product-new-badge {
     background-color: #28a745;
     margin-top: 40px;
 }

 .product-image {
     height: 300px;
     object-fit: cover;
 }

 .product-discount-price {
     color: #ff5722;
     text-decoration: line-through;
 }

 .product-price {
     font-weight: bold;
     color: #007bff;
 }

 .card-product .btn-custom {
     background-color: #28a745;
     color: #fff;
 }

 .card-product .btn-custom:hover {
     background-color: #218838;
 }

 .card-footer {
     background-color: #f8f9fa;
     text-align: center;
 }

 /*end index.php section  */

 .product_tilte {
     font-size: 16px;
     font-weight: bold;
     margin-bottom: 10px;

 }

 .product_tilte p {
     border-bottom: 0.3px solid rgb(76, 76, 76);
 }

 .product_tilte span {
     border-bottom: 2px solid #108f07;
 }