:root { --primary-color: #194129; --secondary-color: #03AF87; .logo-white{ height: 30px; width: 120px; -webkit-mask-image: url(https://i.ibb.co/hgfM8NP/logo.png); -webkit-mask-repeat: no-repeat; -webkit-mask-size: 100%; background-color: white; -webkit-mask-position: center;display: block; } .logo-color{ background: url(https://i.ibb.co/hgfM8NP/logo.png); background-size: 100%; background-repeat: no-repeat; background-position: center; } } .bold-text{ font-weight: bold; color: #ce0000; text-align: center; display: block; margin-top: 10px; text-transform: uppercase; } .dot{ background: #c4c4c4; width: 5px; height: 5px; display: inline-block; border-radius: 100%; margin:5px; } div.scrollmenuitem { display: flex; flex-wrap: nowrap; /* Ensure items stay in a single row */ overflow-x: auto; /* Enable horizontal scrolling */ width: 100%; /* Set the container width to 100% */ } .similaritem{ display: flex; overflow-x: auto; white-space: nowrap; padding: 10px; box-shadow: 0px 0px 20px 0px #00000030; } div.scrollmenuitem table { flex: 0 0 auto; /* Allow items to be their natural width */ margin: 5px; } div.scrollmenuitem table:hover { /* background-color: #777; */ } .lazy-background { display: inline-block; box-shadow: none; margin-bottom: 5px; background-size: contain; background-position: center; background-repeat: no-repeat; background-image: url(https://static.ffkart.com/2024-04-26/14-52-14-db5d313336fdff9.gif); height: 160px; width: 115px; } .loaded { background-image: none; /* Remove placeholder background image */ } .alertbox .alert { position: absolute; top: 70px; width: 80%; margin-left: calc(10% - 10px); background: #fff; padding: 10px; border-radius: 12px; font-family: var(--font); border: none; color: #000; } .alertbox .no, .alertbox .yes { width: 40%; margin-top: 10px; padding: 5px; font-size: 15px; background: 0 0; } .alertbox h3 { font-weight: 100; font-family: var(--font); font-size: 16px; margin: 8px 0 0; } .alertbox input { height: 40px; font-size: 17px; background: 0 0; border: none; border-bottom: 1px solid #7a7a7a; color: #000; display: none; font-weight: 700; } .alertbox input2 { font-size: 16px; background: 0 0; border: none; color: #8d8d8d; margin: 10px; line-height: 24px; display: block; } .alertbox .yes { color: #522a72; border: none; font-weight: 700; border-radius: 12px; float: right; } .alertbox .no { color: #e13b47; border: none; border-radius: 12px; float: left; } .alertbox { top: 0; left: 0; height: 100%; background: #0009; z-index: 10024534534; display: none; } .alertbox input, .alertbox input2 { width: calc(100% - 20px); font-family: var(--font); outline: 0; } .alertbox { width: 100%; position: fixed; } /* width */ ::-webkit-scrollbar { width: 0px; scroll-behavior: smooth; } /* Track */ ::-webkit-scrollbar-track { background: #f1f1f1; } /* Handle */ ::-webkit-scrollbar-thumb { background: #888; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #555; } body{ margin: 0; padding: 0px; font-family: 'Roboto', sans-serif; background: white; scroll-behavior: smooth; } #apmcinfo { text-align: center; padding: 10px; background-color: white; color: black; } .category { text-align: center; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin: 20px; } .category2{ text-align: center; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; margin: 20px; } .category2 div { cursor: pointer; padding: 15px; transition: background-color 0.3s; box-shadow: 0px 0px 20px #8080801f; border-radius: 12px; outline:none; max-width: 140px; } .lastupdate{ font-size: 10px; text-align: right; color: grey; } .s_edit{ height: 198px; border: none; color: #696969; font-size: 13px; line-height: 22px; text-transform: uppercase; margin: 10px; border-radius: 22px; background: #f1f3f7; box-shadow: 0px 0px 9px #00000026; } .s_edit:active{ border: 2px solid orange; } .category2 .categoryimg { height: 75px; width: 75px; display: inline-block; box-shadow: none; margin-bottom: 5px; background-size: contain; background-position:center; background-repeat: no-repeat; background-image: url(https://static.ffkart.com/2024-04-26/14-52-14-db5d313336fdff9.gif); } .category2 span { cursor: pointer; font-size: 13px; font-weight: 400; color: gray; padding: 5px; margin-top: -4px; display: block; } .subcategory2{ text-align: center; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; margin: 20px; } .subcategory2 div { cursor: pointer; padding: 15px; transition: background-color 0.3s; } .subcategory2 img { width: 100%; height: auto; border-radius: 10px 10px 0px 0px; margin-bottom: 0; } .product { display: grid; grid-template-columns: 120px auto 75px; grid-template-rows: 200px; gap: 10px; padding: 0px; margin-bottom: 20px; box-shadow: 0px 0px 5px #ededed; } .product text{ background: #efefef; color: black; padding: 10px; border-radius: 100%; width: 20px; display: inline-block; height: 20px; } .product > div { text-align: center; padding: 0px 0; } .productinfo{ display:inline-grid; grid-template-columns: auto auto auto; grid-template-rows: auto auto auto; } .suppliername{ grid-column: 1 / 4; font-size: 10px; opacity: 0.6; text-align: center; text-transform: uppercase; } .suppliername a{ color: black; text-decoration: none; } .productname{ grid-column: 1 /4; text-align: left; font-weight: 500; font-size: 14px; margin-top: 20px; color: #656565; } .productprice{ grid-column:1 / 4; } .productaddtocart{ display:inline-grid; grid-template-rows: auto auto auto; border-left: 6px dashed #f5f5f5b0; } .productimg{ background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: 15px; margin: 10px; } .product_cart_section strike2{ display: block; text-align: center; margin-bottom: 20px; } .product_cart_section strike2 span{ display: inline-block; padding: 6px 12px; background-color: #f2f2f2; color: #333; border: 1px solid #ccc; border-radius: 4px; font-family: Arial, sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .product_cart_section strike2 .fine{ background:black; color:white; } .product_cart_section strike2 .medium{ background:#7e7e7e; color:white; } .subcategory2 span { cursor: pointer; font-size: 15px; font-weight: bold; background: white; color: black; padding: 5px; margin-top: -4px; border-radius: 0px 0px 10px 10px; display: block; } .category div { cursor: pointer; padding: 10px; border: 1px solid #ddd; border-radius: 5px; transition: background-color 0.3s; } .category div:hover { background-color: #f5f5f5; } .category img { width: 100%; height: auto; border-radius: 5px; margin-bottom: 10px; } #mycart { transform: scale(0.8); fill: red; height: 36px; width: 36px; border-radius: 0%; background-color: transparent; cursor: pointer; } @media (min-width: 768px) { header { padding: 15px 30px; } header img { height: 60px; /* Adjust the height as needed */ } #mycart { height: 48px; width: 48px; } } .itemlist{ position: fixed; top: 55px; left: 0px; color: black; height: 100%; overflow-y: scroll; scroll-behavior: smooth; width: 100%; } .item{ padding: 10px; width: calc(100% - 20px); margin-bottom: 10px; box-shadow: 0px 0px 20px #8080801f; margin-top: 10px; margin-left: 10px; } .item name{ font-weight: 400; font-size: 16px; display: block; } .product_price_section{ font-size: 12px; } .immhub button{ width: 100%; position: fixed; bottom: 0; left: 0; padding: 10px; background: var(--primary-color); color: white; border: none; font-size: 16px; } .immhub{ background: white; display: block; padding: 10px; width: calc(100% - 20px); height: 100vh; position: fixed; top: 0; left: 0; z-index: 1000; overflow: scroll; scroll-behavior: smooth; display:None; } .immhub img{ width: 100%; background-image: url(https://static.ffkart.com/2024-04-26/14-52-14-db5d313336fdff9.gif); background-position: center; background-size: 150px; background-repeat: no-repeat; } .fixedfooter{ position: fixed; bottom: 0px; width: calc(100% - 20px); height: 100px; background: white; padding: 10px; left: 0px; box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.1); } .fixedfooter a{ width: calc(90% - 22px); display: block; padding: 10px 10px; font-size: 16px; border: 1px solid white; color: white; border-radius: 8px; background: #17b188; text-align: center; text-decoration: none; margin-left: 5%; } .my_orders{ position: fixed; width: calc(100% - 20px); height: calc(100% - 20px); background: whitesmoke; top: 0px; padding: 10px; left: 0px; overflow: scroll; scroll-behavior: smooth; z-index: 200; } #market{ /* animation: blink 1s infinite; */ } @keyframes blink { 50% { opacity: 0; } } .search-box { display: inline flex; align-items: center; width: calc(100% - 115px); padding: 10px 20px; border-radius: 20px; box-shadow: 0 0px 20px rgb(0 0 0 / 8%); } .search-box input { width: 100%; border: none; background: transparent; outline: none; color: #333; font-size: 14px; } .search-box svg { width: 24px; height: 24px; margin-right: 10px; fill: #333; } .nav-bar { display: flex; justify-content: space-around; padding: 10px 0; text-align: center; } .nav-bar a { text-decoration: none; color: white; /* Text color */ font-size: 16px; background: rgba(255, 255, 255, 0.2); /* Slightly transparent white for the button background */ padding: 8px 16px; border-radius: 15px; /* Rounded corners for buttons */ transition: background-color 0.3s; /* Smooth transition for hover effect */ } .nav-bar a:hover { background: rgba(255, 255, 255, 0.3); /* Slightly more visible background on hover */ } .nav-bar2 { position: fixed; bottom: 0; z-index: 1; width: 100%; left: 0; overflow-x: hidden; /* Hide horizontal scrollbar */ } .subitemscroll-scrollable-content { display: flex; /* Enable flexbox for the content */ overflow-x: scroll; /* Enable horizontal scrolling */ white-space: nowrap; /* Prevent text from wrapping */ padding:15px; } .subitemscroll-scrollable-content a { min-width: 100px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; text-decoration: none; color: gray; font-size: 12px; padding: 8px 16px; border-radius: 15px; transition: background-color 0.3s; margin-right: 20px; text-align: center; border: 1px solid #80808017; border-radius: 0; font-weight:500; } /* width */ ::-webkit-scrollbar { width: 1px; height:1px; } /* Track */ ::-webkit-scrollbar-track { background: #f1f1f1; } /* Handle */ ::-webkit-scrollbar-thumb { background: #888; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #555; } .outofstock{ font-size: 14px; display: inline; box-shadow: -2px 1px 5px #f2b1b1; padding: 4px 12px; border-radius: 100px; font-weight: 500; background: #ffe6e6; color: red; } .pricesec{ font-size: 14px; display: inline-block; box-shadow: -2px 1px 5px #b1f2b1; padding: 4px 12px; border-radius: 100px; font-weight: 500; background: #e6ffe6; color: green; min-width: 70px; height: auto; } .dtop{ width: fit-content;border: none;outline: none;text-align: center;color: #656565;display: inline-block;margin-bottom: 10px;font-size: 12px;font-weight: bold; } .loose1{ font-size: 12px;color: gray;text-transform: uppercase; } .looseprice{ font-size: 10px; display: block; color: grey; } .qualityt{ font-size: 10px; display: block; color: grey; } .skuid{ font-size: 10px; font-weight: 400; display: inline-block; } .plusicon{ width: 20px; margin-top: 30px; padding: 3px; border-radius: 12px; fill: #5498ff; border: 1px solid #5498ff; } .minasicon{ width: 20px; padding: 3px; border-radius: 12px; fill: #ff6e6e; border: 1px solid #ff6e6e; } .skeleton { animation: skeleton-loading 1s linear infinite alternate; border:none; box-shadow: none; } /* Adjust padding, margin, and other styles as needed */ @keyframes skeleton-loading { 0% { background-color: hsl(200, 20%, 80%); } 100% { background-color: hsl(200, 20%, 95%); } }