* {
    margin: 0;
    padding: 0;
    font-family: Assistant,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    box-sizing: border-box;
}
header {
    display: flex;
    background-color: #ffffff;
    height: 80px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #b6b1b1;
}
.myntra_home {
    height: 45px;
}
.logo_container {
    margin-left: 4%;
}
.action_bar {
    margin-right: 4%;
}
.nav_bar {
    display: flex;
    min-width: 500px;
    justify-content: space-evenly;
}
.nav_bar a {
    font-size: 14px;
    letter-spacing: .3px;
    color: #282c3f;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 27px 0;
    border-bottom: 5px solid #ffffff;
}
.nav_bar a:hover {
    border-bottom: 4px solid #f54e77;
    color: #ff0040;
}

.nav_bar a sup {
    color: #d80f3e;
    font-size: 10px;

}

.search_bar {
    height: 40px;
    min-width: 200px;
    width: 30%;
    display: flex;
    align-items: center;
    outline: none;
}
.search_icon {
    box-sizing: content-box;
    height: 20px;
    padding: 10px;

    background-color: #f5f5f6;
    color: #282c3f;
    font-weight: 300;
    border-radius: 4px 0 0 4px;
}
.search_input {
    color: #696e79;
    background-color: #f5f5f6;
    outline: none;
    flex-grow: 1;
    height: 40px;
    border: 0;
    border-radius: 0 4px 4px 0;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.action_bar {
    display: flex;
    min-width: 200px;
    justify-content: space-evenly;
}

.action_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -16px;
}

.action_container :hover {
    cursor: pointer;
}

.action_icon:hover {
    color: #838080dc;

}

/* action container hover - highlight icons and label */
.action_container:hover .action_icon {
    color: #ff3f6c;
    transition: color 200ms ease;
}
.action_container:hover .action_name {
    color: #ff3f6c;
    transition: color 200ms ease;
}

.items-container {
    width: 80%;
    margin: 50px 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between  ;
}


.footer_container {
    padding: 30px 0px 40px 0px;
    background: #FAFBFC;
    display: flex;
    justify-content: space-evenly;
}

.footer_column {
    display: flex;
    flex-direction: column;
}

.footer_column h3 {
    color: #282c3f;
    font-size: 14px;
    margin-bottom: 25px;
}

.footer_column a {
    color: #696b79;
    font-size: 15px;
    text-decoration: none;
    padding-bottom: 5px;
}

.copyright {
    color: #94969f;
    text-align: end;
    padding: 15px;
}









.items-container {
    width: 80%;
    margin: 40px 10%;

}
.item-container {
    width: 250px;
    margin: 10px;
    /* box-shadow: 0.1px 0px 2px 1px rgba(0.1,0.1,0.1,0.9); */
    transition: box-shadow 220ms ease, background-color 220ms ease;
}
.item-image {
    width: 100%;
    display: block;
    transition: filter 260ms ease, opacity 260ms ease;
}
.rating {
    font-size: 12px;
    font-weight: 700;
}
.company-name {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #282c3f;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.item-name {
    color: #535766;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 0;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    display: block;
}
.price {
    margin-top: 10px;
    font-size: 14px;
    line-height: 15px;
    color: #282c3f;
    white-space: nowrap;
}
.current-price {
    font-size: 14px;
    font-weight: 700;
    color: #282c3f;
}
.original-price {
    text-decoration: line-through;
    color: #7e818c;
    font-weight: 400;
    margin-left: 5px;
    font-size: 12px;
}
.discount {
    color: #ff905a;
    font-weight: 400;
    font-size: 12px;
    margin-left: 5px;
}
.btn-add-bag {
    margin-top: 8px;
    font-size: 18px;
    width: 100%;
    background: linear-gradient(90deg,#34d399,#10b981);
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    transition: background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.btn-add-bag:hover {
    background: linear-gradient(90deg,#28b785,#0ea36f);
    box-shadow: 0 10px 24px rgba(16,185,129,0.18);
    opacity: 0.95;
}

/* item hover lift and image zoom */
.item-container:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.item-container:hover .item-image {
    opacity: 0.95;
    filter: saturate(1.03) brightness(1.02);
}

/* footer links hover */
.footer_column a:hover {
    color: #ff3f6c;
    text-decoration: underline;
}

/* search input focus */
.search_input:focus {
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* accessible focus outline for interactive elements */
a:focus, .btn-add-bag:focus, .menuBtn:focus, .action_container:focus {
    outline: 3px solid rgba(255,63,108,0.14);
    outline-offset: 3px;
}



.bag-item-count {
    background-color: #f16565;
    white-space: nowrap;
    text-align: center;
    line-height: 18px;
    padding: 0 6px;
    height: 18px;
    position: relative;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    left: 13px;
    top: -44px;
    font-weight: 700;
    cursor: pointer;
}
.action_container {
    text-decoration: none;
}
a.action_container:link {
    color:black;
}