@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap'); :root { --button-color-0 : rgba(116, 189, 101, 0); --button-color-1 : rgba(116, 189, 101, 1); --button-color-6 : rgba(116, 189, 101, 0.6); --button-color-3 : rgba(116, 189, 101, 0.3); --button-color-15 : rgba(116, 189, 101, 0.15); --button-color-11 : rgba(116, 189, 101, 0.11); --filter-button-0 : rgba(116, 185, 110, 0); --filter-button-05 : rgba(116, 185, 110, 0.05); --filter-button-20 : rgba(116, 185, 110, 0.20); --filter-button-65 : rgba(116, 185, 110, 0.65); --filter-button-linear : linear-gradient( 0deg, rgba(116, 185, 110, 0.15) 0%, rgba(116, 185, 110, 0.018) 45.05%, rgba(116, 185, 110, 0) 74.14% ); } .type-market { --button-color-0 : rgba(116, 189, 101, 0); --button-color-1 : rgba(116, 189, 101, 1); --button-color-6 : rgba(116, 189, 101, 0.6); --button-color-3 : rgba(116, 189, 101, 0.3); --button-color-15 : rgba(116, 189, 101, 0.15); --button-color-11 : rgba(116, 189, 101, 0.11); --filter-button-0 : rgba(116, 185, 110, 0); --filter-button-05 : rgba(116, 185, 110, 0.05); --filter-button-20 : rgba(116, 185, 110, 0.20); --filter-button-65 : rgba(116, 185, 110, 0.65); --filter-button-linear : linear-gradient( 0deg, rgba(116, 185, 110, 0.15) 0%, rgba(116, 185, 110, 0.018) 45.05%, rgba(116, 185, 110, 0) 74.14% ); } .type-weapons { --button-color-0 : rgba(165, 46, 46, 0); --button-color-1 : rgba(165, 46, 46, 1); --button-color-6 : rgba(165, 46, 46, 0.6); --button-color-3 : rgba(165, 46, 46, 0.3); --button-color-15 : rgba(165, 46, 46, 0.15); --button-color-11 : rgba(165, 46, 46, 0.11); --filter-button-0 : rgba(162, 50, 50, 0); --filter-button-05 : rgba(162, 50, 50, 0.05); --filter-button-20 : rgba(162, 50, 50, 0.20); --filter-button-65 : rgba(162, 50, 50, 0.65); --filter-button-linear : linear-gradient( 0deg, rgba(162, 50, 50, 0.15) 0%, rgba(162, 50, 50, 0.018) 45.05%, rgba(162, 50, 50, 0) 74.14% ); } .type-pharmacie { --button-color-0 : rgba(46, 135, 165, 0); --button-color-1 : rgb(46, 135, 165); --button-color-6 : rgba(46, 135, 165, 0.6); --button-color-3 : rgba(46, 135, 165, 0.3); --button-color-15 : rgba(46, 135, 165, 0.15); --button-color-11 : rgba(46, 135, 165, 0.11); --filter-button-0 : rgba(50, 135, 162, 0); --filter-button-05 : rgba(50, 135, 162, 0.05); --filter-button-20 : rgba(50, 135, 162, 0.20); --filter-button-65 : rgba(50, 135, 162, 0.65); --filter-button-linear : linear-gradient( 0deg, rgba(50, 135, 162, 0.15) 0%, rgba(50, 135, 162, 0.018) 45.05%, rgba(50, 135, 162, 0) 74.14% ); } .type-electronics { --button-color-0 : rgba(102, 29, 162, 0); --button-color-1 : rgb(102, 29, 162); --button-color-6 : rgba(102, 29, 162, 0.6); --button-color-3 : rgba(102, 29, 162, 0.3); --button-color-15 : rgba(102, 29, 162, 0.15); --button-color-11 : rgba(102, 29, 162, 0.11); --filter-button-0 : rgba(110, 29, 159, 0); --filter-button-05 : rgba(110, 29, 159, 0.05); --filter-button-20 : rgba(110, 29, 159, 0.20); --filter-button-65 : rgba(110, 29, 159, 0.65); --filter-button-linear : linear-gradient( 0deg, rgba(110, 29, 159, 0.15) 0%, rgba(110, 29, 159, 0.018) 45.05%, rgba(110, 29, 159, 0) 74.14% ); } .type-bar { --button-color-0 : rgba(226, 0, 160, 0); --button-color-1 : rgb(226, 0, 160); --button-color-6 : rgba(226, 0, 160, 0.6); --button-color-3 : rgba(226, 0, 160, 0.3); --button-color-15 : rgba(226, 0, 160, 0.15); --button-color-11 : rgba(226, 0, 160, 0.11); --filter-button-0 : rgba(222, 0, 157, 0); --filter-button-05 : rgba(222, 0, 157, 0.05); --filter-button-20 : rgba(222, 0, 157, 0.20); --filter-button-65 : rgba(222, 0, 157, 0.65); --filter-button-linear : linear-gradient( 0deg, rgba(222, 0, 157, 0.15) 0%, rgba(222, 0, 157, 0.018) 45.05%, rgba(222, 0, 157, 0) 74.14% ); } .type-truck { --button-color-0 : rgba(250, 213, 77, 0); --button-color-1 : rgb(250, 213, 77); --button-color-6 : rgba(250, 213, 77, 0.6); --button-color-3 : rgba(250, 213, 77, 0.3); --button-color-15 : rgba(250, 213, 77, 0.15); --button-color-11 : rgba(250, 213, 77, 0.11); --filter-button-0 : rgba(244, 213, 74, 0); --filter-button-05 : rgba(244, 213, 74, 0.05); --filter-button-20 : rgba(244, 213, 74, 0.20); --filter-button-65 : rgba(244, 213, 74, 0.65); --filter-button-linear : linear-gradient( 0deg, rgba(244, 213, 74, 0.15) 0%, rgba(244, 213, 74, 0.018) 45.05%, rgba(244, 213, 74, 0) 74.14% ); } * { box-sizing: border-box; margin: 0px; padding: 0px; font-family: 'Tajawal', sans-serif !important; } body { font-weight: 400; color: #ffffff; font-size: 16px; line-height: 1.4; overflow-x: hidden; display: none; } a, a:hover { color: inherit; cursor: pointer; text-decoration: none; } ul { list-style-type: none; padding: 0; margin: 0; } img { max-width: 100%; } button { border: none; outline: none; box-shadow: none; cursor: pointer; } /* Chrome, Safari, Edge, Opera */ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ color: #ffffff; opacity: 1; /* Firefox */ } :-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #ffffff; } input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { color: #ffffff; transition: background-color 5000s ease-in-out 0s; } ::-ms-input-placeholder { /* Microsoft Edge */ color: #ffffff; } /* Firefox */ input[type="number"] { -moz-appearance: textfield; } textarea:focus, input:focus { border: none; outline: none; box-shadow: none; } ::selection { color: white; background: #ff7675; } ::-webkit-selection { color: white; background: #ff7675; } ::-moz-selection { color: white; background: #ff7675; } .main_area { position: relative; background-image: url(assets/shop_bg.jpg); background-size: cover; background-position: bottom center; background-repeat: no-repeat; min-height: 100vh; width: 100vw; } #container_management, #container_box { padding: 0; margin: 0; } .main_row { display: flex; justify-content: center; align-items: center; width: 100vw; height: 100vh; } .main_right { width: 20vw; height: 78.5vh; position: relative; display: flex; flex-direction: column; margin-left: 1vw; background: #0f0f0fea; border-radius: 15px; } .main_left { display: flex; flex-direction: column; width: 60vw; height: 78.5vh; background: #0f0f0fea; padding: 0vh 1vh 0vh 1vh; border-radius: 15px; } .logo_box { padding: 1vh 2vh 1vh 2vh; display: flex; } .logo_text h3 { position: relative; z-index: 9999; font-weight: bold; font-size: 2vw; color: #ffffff; text-transform: uppercase; text-shadow: 0px 0px 79px rgba(255, 255, 255, 0.35); text-align: left; } .logo_text span { position: relative; z-index: 9999; font-size: .8vw; display: block; font-weight: 600; text-align: left; margin-left: .3vw; } .logo_box img { width: 6vw; position: relative; } .logo_text { position: relative; margin-left: -3vw; display: flex; flex-direction: column; justify-content: center; } #shop-name { font-size: 3vw!important; } #shop-desc { font-size: 1vw!important; } .management-box { /* width: 100%; */ /* margin-top: 10vh; */ /* margin-bottom: 2.5vh; */ padding: 1vh; display: flex; justify-content: space-around; align-items: center; flex-direction: column; } .cart_item_box { height: 100%; position: relative; display: flex; flex-direction: column; justify-content: space-around; } .cart_item_box ul li .cart_price { color: rgba(255, 255, 255, 0.65); } .cart_item_box ul li { position: relative; z-index: 9999; height: 55px; margin-bottom: 10px; font-weight: 600; align-items: center; justify-content: space-between; overflow: hidden; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 8px; } .cart_item_box ul li .cart_items { position: absolute; width: 100%; height: 100%; z-index: 9999; display: flex; padding: 12px 20px; height: 55px; margin-bottom: 10px; font-weight: 600; align-items: center; justify-content: space-between; overflow: hidden; z-index: 999; border-radius: 8px; transition: 0.3s ease-in-out; -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; } .cart_item_box ul li .cart_items_info { position: absolute; bottom: -100%; left: 0px; width: 100%; height: 100%; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; z-index: -999; transition: 0.3s ease-in-out; -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; } .cart_item_box ul li .cart_items_info .cart_items_number { display: flex; align-items: center; justify-content: space-between; width: 50%; } /* .cart_item_box ul { padding-bottom: 20px; } */ .cart_item_box ul li:hover .cart_items_info { bottom: 0px; z-index: 999999; transition: 0.3s ease-in-out; -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; } .cart_item_box ul li:hover .cart_items { position: absolute; left: -100%; z-index: -999; transition: 0.3s ease-in-out; -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; } .cart_items .cart_text { position: relative; } .cart_items_info button, .cart_items_number button { position: relative; z-index: 999999; background: transparent; border: none; font-size: 20px; border-radius: 5px; cursor: pointer; font-weight: bold; overflow: hidden; } .cart_items_number .cart_plus button, .cart_items_number .cart_minus button, .cart_items_info .cart_delete button { background: transparent; border: none; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.5; padding-bottom: 3px!important; transition: 0.25s ease-in-out; -webkit-transition: 0.25s ease-in-out; -moz-transition: 0.25s ease-in-out; } .cart_items_info .cart_delete button, .cart_items_number .cart_minus button { background: rgba(189, 101, 101, .15); color: rgba(189, 101, 101, 1); border: 1px solid rgba(189, 101, 101, 0); } .cart_items_info .cart_delete button:hover, .cart_items_number .cart_minus button:hover { background: rgba(189, 101, 101, .2); border: 1px solid rgba(189, 101, 101, .1); } .cart_items_number .cart_plus button { background: rgba(116, 189, 101, .15); color: rgba(116, 189, 101, 1); border: 1px solid rgba(116, 189, 101, 0); } .cart_items_number .cart_plus button:hover { background: rgba(116, 189, 101, .2); border: 1px solid rgba(116, 189, 101, .1); } .cart_items_number input { border: 1px solid transparent; /* Remove border */ background-color: transparent; /* Remove background */ outline: none; /* Remove outline on focus */ cursor: text; /* Set cursor to text for consistency */ color: white; font-weight: 600; width: 1.5ch; min-width: 1ch; max-width: 5ch; z-index: 9999; } .cart_items_number .cart_input_number { display: flex; align-items: center; justify-content: center; } .cart_items_number .title_cart { position: absolute; left: 3.5%; top: 5%; /* width: 50%; */ height: 90%; opacity: 1; cursor: default; } .cart_item_box .side_title { display: flex; justify-content: center; width: 100%; /* height: 60px; */ margin: 1vh 0vh 1vh 0vh; } .cart_item_box .side_title h4 { display: flex; align-items: center; justify-content: center; font-size: 1.5vw; } .cart_item_box .side_title img { margin-right: -1.5vw; max-width: 3.5vw; } .cart_item_box .side_title svg { transform: rotate(90deg); margin-right: 20px; max-width: 26px; } .total_price_box { max-width: 17vw; /* max-width: 186px; */ margin: 0px auto; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.11); display: flex; align-items: center; justify-content: space-between; padding: 6px 0px; } .total_price_box span { display: block; font-size: 2vh; font-weight: 600; text-transform: uppercase; } .total_price_box .total_price { color: var(--button-color-1); font-size: 2.5vh; } .total_price_btns { display: flex; align-items: center; justify-content: space-between; max-width: 80%; margin: 1.5vh auto 1vh; /* padding-bottom: 70px; */ } .product_content button, .total_price_btns button { /* padding: 10px; */ height: 6vh; /* max-width: 130px; */ width: 8.5vw; display: flex; align-items: center; justify-content: center; background: var(--button-color-15); border: 1px solid var(--button-color-11); border-radius: 8px; overflow: hidden; font-weight: 600; font-size: 1vw; text-transform: uppercase; color: var(--button-color-1); transition: 0.3s ease-in-out; -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; } .total_price_btns .clear_btn { /* max-width: 100px; */ width: 6.5vw; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 8px; color: rgba(255, 255, 255, 0.55); transition: 0.3s ease-in-out; -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; } .total_price_btns .clear_btn:hover, .total_price_btns button:hover { background: var(--button-color-6); color: #ffffff; } .info_wrapper { height: 100%; display: flex; justify-content: center; align-items: center; } .info_box { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; } #page-items { align-self: self-start; } .product_box-management { display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; width: 100%; } .product_box { display: flex; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; /* padding-right: 10px; */ /* padding-bottom: 1vh; */ /* height: 630px; */ /* overflow-y: scroll; */ } .product__box-container { max-height: 73vh; overflow-y: scroll; height: 73vh; width: 100%; } .product_btns { display: grid; grid-auto-flow: column; width: 100%; margin: 0vh 0 1.2vh 0; } .product_toplist { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; /* padding-top: 12vh; */ /* padding-bottom: 2vh; */ background-color: #0F0F0F00; background-image: url(assets/pattern_banner.png); background-size: contain; } .shop-infos { width: 100%; display: flex; justify-content: space-between; } .filter-button { width: 90%; height: 100%; background: rgba(41, 39, 37, .75); border-radius: 12px; color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; text-transform: uppercase; font-size: 15px; padding: 8px 26px 10px; font-weight: 600; border-bottom: 1.5px solid var(--filter-button-0); min-width: 70px; margin: 0% 0.5%; overflow: hidden; transition: 0.25s ease-in-out; -webkit-transition: 0.25s ease-in-out; -moz-transition: 0.25s ease-in-out; } .manage_buton, #management_buton { display: flex; align-items: center; justify-content: center; width: 100%; /* min-width: 70px; */ padding: 8px 26px 10px; margin-bottom: 1vh; overflow: hidden; border-radius: 12px; border-bottom: 1.5px solid var(--filter-button-0); background: rgba(41, 39, 37, 1); color: rgba(255, 255, 255, 1); text-transform: uppercase; font-size: 1vw; font-weight: 600; transition: 0.25s ease-in-out; -webkit-transition: 0.25s ease-in-out; -moz-transition: 0.25s ease-in-out; } .manage_buton:hover, #management_buton:hover, .filter-button:hover, .product_btns .active { /* background: var(--filter-button-linear); */ box-shadow: 0px -8px 10px 0px var(--filter-button-20) inset; border-bottom: 1.5px solid var(--filter-button-65); filter: drop-shadow(0px 0px 73px var(--filter-button-05)); border-radius: 25px; } .filter-button span { display: block; max-width: 30px; height: 2px; background: transparent; margin: 0px auto 5px; transition: 0.25s ease-in-out; -webkit-transition: 0.25s ease-in-out; -moz-transition: 0.25s ease-in-out; } .filter-button:hover span { background: var(--filter-button-65); } .empty-filter { opacity: .5; } .empty-filter:hover { opacity: .4; box-shadow: 0px -8px 0px 0px transparent inset; /* background: rgba(255, 255, 255, 0.03); */ border-bottom: 1.5px solid var(--filter-button-0); filter: drop-shadow(0px 0px 0px var(--filter-button-05)); border-radius: 12px; } .info_item { align-self: stretch; width: 45%; margin: 0% 0.65%; background: linear-gradient( 90deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 80.34% ); border-radius: 12px; overflow: hidden; margin-bottom: 10px; display: flex; backdrop-filter: blur(4px); align-items: center; justify-content: space-between; } .product_item-management { /* align-self: stretch; */ width: 100%; /* margin: 0% 0.65%; */ background: linear-gradient( 90deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 80.34% ); border-radius: 12px; overflow: hidden; margin-bottom: 1vh; display: flex; backdrop-filter: blur(4px); align-items: center; justify-content: space-between; } .product_price { width: 15%; text-align: center; } .product_price input, .product_qty input { text-align: right; border: 1px solid transparent; /* Remove border */ background-color: transparent; /* Remove background */ outline: none; /* Remove outline on focus */ cursor: text; /* Set cursor to text for consistency */ color: white; } .product_qty { width: 20%; text-align: center; } .product_label { width: 40%; padding: 0% 5% 0% 2%; text-align: right; } .product_delete { width: 10%; display: flex; justify-content: center; } .product_delete button { position: relative; z-index: 999999; border-radius: 5px; cursor: pointer; font-weight: bold; overflow: hidden; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.5; padding-bottom: 3px!important; transition: 0.25s ease-in-out; -webkit-transition: 0.25s ease-in-out; -moz-transition: 0.25s ease-in-out; background: rgba(189, 101, 101, .15); color: rgba(189, 101, 101, 1); border: 1px solid rgba(189, 101, 101, 0); } .product_delete button:hover { background: rgba(189, 101, 101, .2); border: 1px solid rgba(189, 101, 101, .1); } .product_item { align-self: stretch; width: 32%; margin: 0% 0.65%; background: linear-gradient( 90deg, rgba(41, 39, 37, 1) 0%, rgba(41, 39, 37, 0) 80.34% ); border-radius: 12px; overflow: hidden; margin-bottom: 10px; display: flex; backdrop-filter: blur(4px); align-items: center; justify-content: space-between; } .info_content, .product_content { width: 55%; padding: 1vw; padding-right: 0px; } .info_img, .product_img { width: 42%; } .info_img img, .product_img img { height: 100%; width: 100%; margin-left: auto; } .product_item-management .product_img { width: 9.4vh; margin-right: 5%; } .info_content h4, .product_content h4 { font-size: 1.2vw; /* clamp(1px, 1.3vw, 14px); */ margin-bottom: 6px; /* white-space: nowrap; */ } .product_label h4 { font-size: 1.2rem; } .info_content p, .product_content p { opacity: .7; font-size: 1vw; font-weight: 500; line-height: 1.4; margin-bottom: 12px; } .product_content button { height: 4vh; width: 5vw; font-size: 1.1vw; background: var(--button-color-15); border-radius: 8px; transition: 0.25s ease-in-out; -webkit-transition: 0.25s ease-in-out; -moz-transition: 0.25s ease-in-out; } .product_content button:hover { background: var(--button-color-3); } @media screen and (max-width: 1400px) { /* #container_management, #container_box { padding: 0px 100px; } */ .cart_item_box .side_title { left: -180px; } /* .logo_box { padding-bottom: 90px; } */ .filter-button { font-size: 14px; padding-left: 10px; padding-right: 10px; } /* .manage_buton, #management_buton { font-size: 14px; padding-left: 10px; padding-right: 10px; } */ .product_toplist { /* padding-bottom: 40px; */ } } @media screen and (max-width: 1300px) { /* #container_management, #container_box { padding: 0px 100px; } */ .cart_item_box .side_title { left: -180px; } /* .logo_box { padding-bottom: 90px; } */ .info_item, .product_item { width: 32%; } .filter-button { font-size: 12px; padding-left: 10px; padding-right: 10px; } /* .manage_buton, #management_buton { font-size: 12px; padding-left: 10px; padding-right: 10px; } */ /* .product_toplist { padding-bottom: 1vh; } */ } /* some update css */ .product__box-container { overflow: hidden; overflow-y: scroll; scrollbar-width: thin; } /* Scroll Bar */ /* Firefox */ .product__box-container { /* padding-right: .3vw; */ scrollbar-width: auto; scrollbar-color: rgba(255, 255, 255, 0.1); } /* Chrome, Edge, and Safari */ .product__box-container::-webkit-scrollbar { width: 4px; } .product__box-container::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); } .product__box-container::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.1); border-radius: 10px; border: 4px solid #ffffff; } /* Scroll Bar */ .t_new_div{ height: 70%; /* max-height: 42vh; */ overflow: hidden; overflow-y: scroll; scrollbar-width: thin; padding: 0vh .75vh 0vh 1.25vh; } /* Scroll Bar */ /* Firefox */ .t_new_div { scrollbar-width: auto; scrollbar-color: rgba(255, 255, 255, 0.1); /* padding-right: .3vw; */ } /* Chrome, Edge, and Safari */ .t_new_div::-webkit-scrollbar { width: 4px; } .t_new_div::-webkit-scrollbar-track { /* background: rgba(255, 255, 255, 0.1); */ } .t_new_div::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.1); border-radius: 10px; border: 4px solid #ffffff; } /* Scroll Bar */ /* End some update css */