/* Root variables for consistent styling */
:root {
  --primary-bg: #121212;
  --secondary-bg: #1e1e1e;
  --border-color: #888888;
  --text-primary: #ffffff;
  --text-secondary: #d4d5d9;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  overflow: hidden scroll;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* .body-background {
  background-color: #3a3a3a;
} */

.Header {
  background-color: var(--secondary-bg);
  flex-direction: row;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tags,
ol {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

img {
  width: 25px;
  height: auto;
}

.more_font {
  font-size: 12px;
}

a {
  color: white;
  text-decoration: none;
  box-sizing: border-box;
  text-transform: capitalize;
}

.myntra_logo {
  width: 70px;
}

.search_bar {
  flex-grow: 1;
  max-width: 600px;
  margin: 0 20px;
}

.search_bar input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: lighter;
  border: 1px solid #696e79;
  background-color: transparent;
  color: var(--text-secondary);
  transition: all 0.2s ease-out;
}

.search_bar input:focus {
  outline: none;
  border: 1px solid #f5f5f6;
  background-color: var(--secondary-bg);
}

.profile,
.wishlist,
.bag {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s;
}

.profile:hover,
.wishlist:hover,
.bag:hover {
  transform: scale(1.1);
}

.more {
  display: flex;
  flex-direction: row;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

main {
  flex-grow: 1;
  padding: 15px;
  display: grid;
  gap: 10px;
  justify-content: center;
  margin: auto;
  grid-column: 2/2;
  grid-template-columns: 1fr auto .8fr;
}

footer {
  background-color: var(--secondary-bg);
  padding: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.footer_container {
  display: flex;
  justify-content: space-evenly;
  padding: 30px 0;
}

.footer_column {
  display: flex;
  flex-direction: column;
}

.footer_column h3 {
  color: #f5f5f6;
  font-size: 14px;
  margin-bottom: 25px;
}

.footer_column a {
  color: #d4d5d9;
  font-size: 15px;
  text-decoration: none;
  padding-bottom: 5px;
}

.copyright {
  color: #d4d5d9;
  text-align: end;
  padding: 15px;
}

.IMAGES {
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
  grid-column: 1/1;
}

.col2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: auto;
  gap: 10px;
}

.item_container {
  border-radius: 5px;
  box-sizing: border-box;
  border: 1px solid #ffffff2d;
  min-width: 40vw;
  max-width: 40vw;
  display: grid;
  /* position: relative; */
  padding: 10px;
  gap: 10px;
  grid-template-columns: 1fr 1fr auto;
}

.rating_reviews {
  display: flex;
  flex-direction: row;
  gap: 5px;
  justify-content: start;
  align-items: center;
}

.reviews {
  font-size: 14px;
  font-weight: 600;
}

.ratings {
  font-size: 14px;
  font-weight: 600;
}

.brand_name {
  height: 100%;
  color: white;
  font-size: 18px;
  text-transform: capitalize;
  font-weight: 600;

}

.item_name {
  color: white;
  font-size: 14px;
  overflow: hidden;
  text-transform: capitalize;
  font-weight: 300;
  height: 100%;
}

.price_tags {
  display: flex;
  flex-direction: row;
  /* gap: 20px; */
  justify-content: space-between;
  align-items: center;
  text-align: center;
  height: 100%;
  /* margin: 0;
  padding: 0; */
}

.final_price {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.original_price {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  color: #b4b4b4;
  flex-direction: row;
  gap: 5px;
  text-decoration: line-through;
}

.percentile_cutoff {
  font-size: 13px;
  font-weight: 300;
  display: flex;
  color: rgb(255, 41, 41);
  flex-direction: row;
  gap: 3px;
  text-transform: capitalize;
}

.add_to_bag {
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  height: 35px;
  border: none;
  text-align: center;
  border-radius: 5px;
  background-color: rgb(0, 155, 0);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.add_to_bag:hover {
  background-color: transparent;
  color: #f5f5f5;
  border: 1px solid white;
}

.Cart_items_count {
  position: absolute;
  color: rgb(0, 0, 0);
  min-width: 20px;
  /* min-height: 20px; */
  /* max-width: 30px;
  max-height: 30px; */
  padding: 4px;
  background-color: rgb(255, 255, 255);
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  font-weight: 500;
  align-items: center;
  border-radius: 50px;
  margin-bottom: 35px;
  margin-left: 20px;
  font-size: 13px;
}

.return_time {
  display: flex;
  flex-direction: row;
  gap: 5px;
  text-transform: capitalize;
  font-size: 14px;
  height: 100%;
}

.ret_time {
  font-weight: 600;
}

.delivery_time {
  display: flex;
  flex-direction: row;
  gap: 5px;
  font-size: 14px;
  text-transform: capitalize;
  justify-content: start;
  align-items: center;
  height: 100%;
}

.del_time {
  font-weight: 600;
  color: rgb(113, 255, 47);
}

.line {
  border-left: 1px solid var(--border-color);
  align-self: stretch;
}

.top,
.discount_mrp,
.convenience_fee,
.T_mrp,
.t_amount {
  display: flex;
  flex-direction: row;
  /* gap: 5px; */
  justify-content: space-between;
  align-items: center;
}

.top_text {
  font-size: 15px;
  text-transform: uppercase;
}

.items_count {
  font-size: 15px;
  text-transform: capitalize;
}

.text {
  font-size: 14px;
  text-transform: capitalize;
}

.T_mrp_price,
.dis_mrp_price,
.fee,
.total_amount {
  text-transform: capitalize;
  font-size: 15px;
  font-weight: 600;
}

.amount_display_card {
  display: flex;
  /* justify-content: space-between; */
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.place_order_btn {
  width: 100%;
  border: 1px solid transparent;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  background-color: rgb(0, 155, 0);
  color: white;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.place_order_btn:hover {
  background-color: transparent;


  border-color: white;
  color: white;
}

.amount_display_card hr {
  border: none;
  width: 100%;
  border-top: 1px solid #535353;
  margin: 10px 0;
}

.bottom {
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.cross {
  width: 25px;
  align-content: flex-start;
}

.cross:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.Main {
  font-weight: bold;
  font-size: 18px;
  /* text-transform: capitalize; */
  margin: auto;
  display: flex;
  width: fit-content;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.empty-cart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 50px;
}

.empty-cart-image {
  width: 150px;
  height: auto;
}

.empty-cart-message {
  font-size: 24px;
  font-weight: bold;
  text-transform: capitalize;
}

.empty-cart-subtext {
  font-size: 16px;
  color: #a9abb3;
}

.add-items-button {
  background-color: rgb(0, 155, 0);
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.add-items-button:hover {
  background-color: transparent;
  border-color: white;
  color: white;
  transform: none;
}

.itemCounts {
  display: flex;
  flex-direction: row;
  gap: 10px;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid white;
  width: fit-content;
  /* padding: 0 10px; */
  border-radius: 500px;
}

.minusItemCount,
.plusItemCount {
  cursor: pointer;
}

.display_seperate_items {
  border-left: 1px solid white;
  border-right: 1px solid white;
  padding: 0px 10px;
  box-sizing: border-box;
  font-weight: 500;
}