@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
margin: 0;
padding: 0;
background-color: whitesmoke;
}
:root {
--primary-color: #211c84;
--secondary-color: #4d55cc;
--accent-color: #7a73d1;
}
.header {
width: 100%;
height: 50px;
background-color: var(--accent-color);
padding: 10px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 10;
border-bottom: 1px solid silver;
font-family: "Roboto", sans-serif;
font-weight: 800;
font-style: normal;
}
img,
.cart,
.login,
.setting-item {
cursor: pointer;
}
.header i {
font-size: 25px;
color: white;
}
.modal:not(.show) {
 visibility: hidden;
 opacity: 0;
}
.header .bi-arrow-left {
color: white;
font-size: 25px;
}
.header #product-search-name {
font-size: 18px;
}
.header img {
width: 30px;
object-fit: contain;
}
.left-header,
.right-header {
display: flex;
gap: 5px;
align-items: center;
}
.header b {
font-size: 19px;
color: white;
margin: 0;
}
.quick-nav {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.nav-item {
text-align: center;
padding: 10px;
background-color: #f4f4f4;
border-radius: 8px;
transition: background-color 0.3s ease;
}
.quick-nav a {
text-decoration: none;
color: #333;
display: block;
font-size: 16px;
}
.quick-nav a i {
font-size: 24px;
margin-bottom: 8px;
}
.nav-item:hover {
background-color: #e0e0e0;
}
#loader-container {
width: 100%;
height: 100vh;
background-color: rgba(0, 0, 0, 0.1);
display:none;
justify-content: center;
align-items: center;
z-index: 1060;
position: fixed;
}
.loader {
width:50px;
aspect-ratio: 1;
display: grid;
z-index: 1000;
}
.loader:before,
.loader:after {
content: "";
grid-area: 1/1;
--c:#0000 calc(100%/3),#4caf50 0 calc(2*100%/3),#0000 0;
--c1:linear-gradient(90deg,var(--c));
--c2:linear-gradient( 0deg,var(--c));
background: var(--c1),var(--c2),var(--c1),var(--c2);
background-size: 300% 4px,4px 300%;
background-repeat: no-repeat;
animation: l11 1s infinite linear;
}
.loader:after {
margin: 10px;
transform: scaleX(-1);
animation-delay: -.25s;
}
@keyframes l11 {
0% {
background-position: 50% 0, 100% 100%, 0 100%, 0 0
}
25% {
background-position: 0 0, 100% 50%, 0 100%, 0 0
}
50% {
background-position: 0 0, 100% 0, 50% 100%, 0 0
}
75% {
background-position: 0 0, 100% 0, 100% 100%, 0 50%
}
75.01% {
background-position: 100% 0, 100% 0, 100% 100%, 0 50%
}
100% {
background-position: 50% 0, 100% 0, 100% 100%, 0 100%
}
}
section {
background: white;
margin: 10px 0;
padding: 10px;
font-family: "Roboto", sans-serif;
font-weight: 600;
font-style: normal;
}
header i {
font-size: 25px;
}
.left-header {
display: flex;
align-items: center;
}
.left-header p {
display: flex;
align-items: center;
margin: 0;
gap: 15px;
}
.left-header i {
margin-right: 15px;
}
.header p {
color: white;
font-weight: 400;
font-size: 19px;
}
.quick-nav {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin: 25px;
}
.nav-item {
text-align: center;
padding: 5px;
background-color: white;
border-radius: 8px;
transition: background-color 0.3s ease;
border: 1px solid grey;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
}
.nav-item a {
text-decoration: none;
color: #333;
display: block;
font-size: 15px;
}
.nav-item a i {
font-size: 15px;
margin-bottom: 8px;
}
.nav-item:hover {
background-color: #e0e0e0;
}
section {
padding: 20px;
}
b {
font-size: 1.5rem;
display: block;
margin-bottom: 20px;
}
.setting-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
border-bottom: 1px solid #ddd;
}
.setting-item a {
display: flex;
justify-content: space-between;
align-items: center;
text-decoration: none;
color: #333;
}
.setting-item i {
font-size: 1.5rem;
margin-right: 10px;
}
.setting-item span {
flex-grow: 1;
}
.setting-item div {
font-size: 1.2rem;
}
section {
padding: 20px;
}
b {
font-size: 1.5rem;
display: block;
margin-bottom: 20px;
}
.setting-item {
display: flex;
align-items: center;
padding: 10px 0;
border-bottom: 1px solid #ddd;
}
.setting-item a {
display: flex;
justify-content: space-between;
align-items: center;
text-decoration: none;
color: #333;
width: 100%;
}
.setting-item i {
font-size: 1.5rem;
margin-right: 10px;
}
.setting-item span {
flex-grow: 1;
}
.chevron {
font-size: 1.2rem;
}
section {
padding: 20px;
}
b {
font-size: 1.5rem;
display: block;
margin-bottom: 20px;
}
.setting-item {
display: flex;
align-items: center;
padding: 10px 0;
border-bottom: 1px solid #ddd;
}
.setting-item a {
display: flex;
justify-content: space-between;
align-items: center;
text-decoration: none;
color: #333;
width: 100%;
}
.setting-item i {
font-size: 1.5rem;
margin-right: 10px;
color: deepskyblue;
}
.setting-item span {
flex-grow: 1;
}
.chevron {
font-size: 1.2rem;
}
.notification {
display: flex;
justify-content: space-between;
align-items: center;
background-color: white;
width: 100%;
height: auto;
padding: 10px 0;
box-sizing: border-box;
}
.notification .bi-bell {
color: blue;
margin-right: 10px;
font-size: 1.5rem;
}
.notification i {
font-size: 20px;
}
section a {
text-decoration: none;
color: black;
}
.setting-item {
display: flex;
align-items: center;
padding: 10px 0;
border-bottom: 1px solid #ddd;
}
.setting-item a {
display: flex;
justify-content: space-between;
align-items: center;
text-decoration: none;
color: #333;
width: 100%;
}
.setting-item i {
font-size: 1.5rem;
margin-right: 10px;
color: deepskyblue;
}
.setting-item .chevron i {
color: inherit;
font-size: 1.2rem;
}
.setting-item span {
flex-grow: 1;
}
.chevron {
font-size: 1.2rem;
}
.logout {
margin: auto;
width: 70%;
text-align: center;
}
.logout-sec {
display: flex;
justify-content: center;
}
.modal-dialog-centered {
display: flex;
align-items: center;
height: 100%;
}
.modal-body p {
margin-bottom: 10px;
font-size: 16px;
}
.modal-footer .btn {
width: 120px;
}
.cart {
position: relative;
font-size: 1.4rem;
}
.cart-badge {
position: absolute;
top: -2px;
right: -5px;
width: 15px;
height: 15px;
border-radius: 50%;
background-color: red;
color: white;
font-size: 0.8rem;
display: flex;
justify-content: center;
align-items: center;
font-style: normal;
}
.modal-fullscreen {
max-width: 100% !important;
height: 100%;
}
.disabled-link span {
color: grey;
}
.addrPopup {
top: 100%;
right: 90%;
}
.bi-trash,
.delete-address{
color: white;
}
@media (min-width: 768px) {
section {
width: 75%;
margin: auto;
}
}
.modal-body {
padding: 30px;
font-size: 1rem;
color: #333;
}
.modal-footer {
border-top: 2px solid #e0e0e0;
padding: 15px;
background-color: #F7F7F7;
display: flex;
justify-content: space-between;
border-radius: 0 0 15px 15px;
}
.modal-footer .btn {
border-radius: 20px;
padding: 10px 20px;
font-weight: bold;
transition: background-color 0.3s ease;
}
.modal-footer .btn-primary {
background-color: var(--secondary-color);
border: none;
}
.modal-footer .btn-primary:hover {
background-color: var(--accent-color);
}
.modal-footer .btn-secondary {
background-color: var(--secondary-color);
border: none;
}
.modal-footer .btn-secondary:hover {
background-color: var(--accent-color);
}
input, textarea, select, .form-control {
border: 2px solid var(--primary-color);
border-radius: 10px;
padding: 12px 16px;
font-size: 1rem;
color: #333;
background-color: #fff;
transition: all 0.3s ease;
}
input:focus, textarea:focus, select:focus, .form-control:focus {
border-color: var(--primary-color);
box-shadow: none;
}
input:focus, textarea:focus, select:focus {
border-color: var(--primary-color);
box-shadow: 0 0 5px rgba(var(--primary-color), 0.5);
}
input:hover, textarea:hover, select:hover, .form-control:hover {
border-color: rgba(var(--primary-color), 0.7);
}
input::placeholder, textarea::placeholder {
color: #888;
font-style: italic;
}
input:focus, textarea:focus, select:focus, .form-control:focus {
outline: none;
}