@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-behavior: smooth;
}

/* Mobile Header */

.mh,
.dh {
  padding: 0 15px 1px;
  color: white;
  background: #005eb8;
  position: sticky;
  top: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.mh {
  top: -85px;
  display: none;
}

.mh-flex,
.dh-flex {
  display: flex;
  flex-wrap: nowrap;
  padding: 12px 0 10px;
}

.mh-menu-icon {
  margin: 5px 0;
}

.mh-logo {
  width: 100%;
  padding: 0 20px;
}

.mh-logo span.logo {
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.mh-icons {
  display: flex;
  flex-wrap: nowrap;
  padding: 3px 0;
}

.pi-list,
.pi-user,
.pi-cart,
.pi-sell,
.pi-down {
  height: 25px;
  width: 25px;
  color: white !important;
}

.mh-icons a {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.login-link span {
  padding: 2px;
}

.mh-icons svg {
  margin: 0 3px;
}

.cart-icon {
  position: relative;
  margin-left: 5px;
}

.cart-count {
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  box-shadow: none;
  top: -5px;
  right: 0;
  border: 1px solid #000;
}

.cart-count span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 !important;
}

.mh-address {
  display: flex;
  flex-wrap: nowrap;
  padding: 0 0 5px;
}

.mh-address svg {
  color: #bbdefb;
  height: 20px;
  width: 20px;
}

.mh-address p {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  padding: 1px 10px;
  color: #bbdefb;
}

.mh-searchbar {
  display: flex;
  flex-wrap: nowrap;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin: 10px 0;
  padding: 5px;
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.mh-searchbar svg {
  width: 25px;
  height: 25px;
  position: absolute;
  left: 10px;
  top: 12px;
  color: #1976d2;
}

.mh-searchbar input {
  padding: 10px;
  width: 100%;
  margin: 0 0 0 30px;
  border: none;
  font-size: 14px;
}

.mh-searchbar input:focus,
.fps-searchbar input {
  outline: 0;
}

.mh-searchbar input::placeholder {
  color: #757575;
}

/* Desktop Header */

.dh {
  display: none;
}

.dh-flex {
  width: 90%;
  margin: 0 auto;
}

.dh-logo {
  font-size: 28px;
  font-weight: 700;
  width: 200px;
  white-space: nowrap;
  padding: 6px 20px 0 0;
}

.dh-searchbar {
  margin: 0 10px;
  width: 100%;
  max-width: 500px;
  border-radius: 5px;
}

.dh-icons {
  width: 100%;
  padding: 0 0 0 20px;
}

.dh-cart-link .cart-count {
  left: 17px;
  top: 4px;
}

.dh-cart-link span.cart-text {
  padding-left: 5px;
}

.dh-more-links {
  margin: 0 !important;
  padding: 5px 0 0 !important;
}

.dh-icons a,
.dh-login-link {
  white-space: nowrap;
  margin: 0 auto 0 0;
  display: flex;
  padding: 10px 0 0;
  position: relative;
}

.dh-icons a span {
  padding: 3px 0 0;
}

/* Full Page Search */

.fps-cont {
  background: #f2f2f2;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 7 !important;
  display: none;
}

.fps-searchbar {
  display: flex;
  flex-wrap: nowrap;
  padding: 3px 10px;
  background: white;
  border-bottom: 0.5px solid #ccc;
  margin-bottom: 7px;
  position: sticky;
  top: 0;
}

.fps-searchbar svg {
  margin: 10px 0;
  width: 35px;
  height: 25px;
  cursor: pointer;
  fill: grey;
}

.fps-searchbar input {
  font-size: 16px;
  padding: 5px 20px 5px 10px;
  width: 100%;
  border: none;
}

.fps-cont ul {
  padding: 0;
  background: white;
  margin: 2px 0;
  border-bottom: 0.5px solid #ddd;
}

.fps-cont ul a {
  color: inherit;
  text-decoration: none;
}

.fps-cont li {
  display: flex;
  flex-wrap: nowrap;
  padding: 15px 10px;
  border-bottom: 1px solid #f2f2f2;
}

.fps-cont li svg {
  min-width: 23px !important;
  height: 23px;
  color: rgba(2, 6, 12, 0.75);
}

.fps-cont li img {
  min-width: 25px !important;
  height: 30px;
  color: rgba(2, 6, 12, 0.75);
  border-radius: 3px;
  display: block;
  margin: 5px 0;
}

.fps-cont li p {
  width: 100%;
  font-size: 15px;
  padding: 0 10px;
  font-weight: 500;
  color: rgba(2, 6, 12, 0.75) !important;
}

.fps-cont li .bi-arrow-up-left {
  width: 15px;
  height: 15px;
}

.fps-cont li span {
  font-size: 12px;
  display: block;
  padding: 0;
  color: #1976d2 !important;
}

.fps-discover-more {
  margin: 10px 0;
  background: white;
  padding: 10px 10px 30px;
  border-top: 0.5px solid #ddd;
  border-bottom: 0.5px solid #ddd;
}

.fps-discover-more h4 {
  margin: 10px 5px;
  color: rgba(2, 6, 12, 0.75);
  font-weight: 500;
}

.fps-discover-more a {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.1) 0px 0px 1px 1px;
  text-decoration: none;
  color: #1976d2;
  font-size: 14px;
  padding: 7px 10px;
  display: inline-block;
  margin: 5px;
  border-radius: 3px;
}

/* Offcanvas Menu */
.offcanvas {
  position: fixed;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  z-index: 5;
  top: 0;
  left: 100%;
}

.menu-cont {
  width: 250px;
  height: 100%;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  position: fixed;
  left: -250px;
  transition: left 0.3s ease;
}

.menu-cont.show {
  left: 0;
}

.menu-cont a {
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  color: inherit;
}

.menu-cont a span {
  padding: 0 7px;
}

.menu-cont svg {
  width: 20px;
  height: 20px;
  margin: 2px;
}

.menu-header {
  background: #1976d2;
  padding: 15px 10px;
}

.menu-header svg {
  width: 30px;
  height: 30px;
  margin: 5px 3px;
}

.menu-header a {
  color: white;
  font-size: 18px;
  font-weight: 500;
}

.menu-header a span {
  padding: 5px 10px;
}

.menu-cont ul {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.menu-cont li {
  padding: 15px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.menu-cont li:hover {
  background: #f2f2f2;
}

.help-ul li {
  padding: 10px 15px;
  font-size: 14px;
}

/* Mobile Header */
.fp-header {
  position: sticky;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.fp-header svg {
  position: absolute;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.fp-header span {
  font-weight: 600;
  display: block;
  font-size: 18px;
  text-align: center;
}

.fp-header {
  padding: 15px;
  background: white;
  z-index: 5 !important;
  background: #fff;
  display: flex;
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  height: 60px;
  margin: 0 !important;
}

.fp-header .title {
  font-weight: 500 !important;
  margin-left: 40px !important;
  margin-right: 90px;
  overflow: hidden;
  max-width: 500px;
  padding: 5px 0 0;
  text-align: left;
}

.fp-header {
  padding: 15px;
}

.fp-header svg {
  position: unset;
  fill: rgba(2, 6, 12, 0.75) !important;
}

.fp-svg {
  top: 20px;
  position: absolute !important;
}

.search-svg {
  position: absolute !important;
  right: 60px;
  top: 20px;
}

.search-div {
  display: flex;
  flex-wrap: nowrap;
  margin-left: 40px;
  margin-right: 90px;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  width: 100%;
  max-width: 500px;
  border: 1px solid #ddd;
}

.search-div svg {
  position: unset;
  margin: 5px 7px;
}

.search-div input {
  padding: 5px;
  width: 100%;
  border: none;
  font-style: italic;
}

.search-div input:focus {
  outline: 0;
}

.m-cart-icon {
  position: absolute !important;
  right: 20px !important;
  top: 20px !important;
}

.m-cart-icon .cart-icon {
  left: 15px;
  color: white !important;
  position: relative !important;
}

.m-cart-icon .cart-count {
  color: white !important;
  border: 2px solid white;
  box-shadow: none !important;
  width: 20px;
  height: 20px;
  top: -7px;
  right: -7px;
  background: #f60;
}

.m-cart-icon span {
  position: absolute;
  margin: 0;
  font-size: 12px;
  font-weight: bold !important;
}

/* Full Page Search */

.fps-cont {
  background: #f2f2f2;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 7 !important;
  display: none;
}

.fps-searchbar {
  display: flex;
  flex-wrap: nowrap;
  padding: 3px 10px;
  background: white;
  border-bottom: 0.5px solid #ccc;
  margin-bottom: 7px;
  position: sticky;
  top: 0;
}

.fps-searchbar svg {
  margin: 10px 0;
  width: 35px;
  height: 25px;
  cursor: pointer;
  fill: grey;
}

.fps-searchbar input {
  font-size: 16px;
  padding: 5px 20px 5px 10px;
  width: 100%;
  border: none;
}

#search-input:focus {
  outline: 0;
}

.fps-cont ul {
  padding: 0;
  background: white;
  margin: 2px 0;
  border-bottom: 0.5px solid #ddd;
}

.fps-cont ul a {
  color: inherit;
  text-decoration: none;
}

.fps-cont li {
  display: flex;
  flex-wrap: nowrap;
  padding: 15px 10px;
  border-bottom: 1px solid #f2f2f2;
}

.fps-cont li svg {
  min-width: 23px !important;
  height: 23px;
  color: rgba(2, 6, 12, 0.75);
}

.fps-cont li img {
  min-width: 25px !important;
  height: 30px;
  color: rgba(2, 6, 12, 0.75);
  border-radius: 3px;
  display: block;
  margin: 5px 0;
}

.fps-cont li p {
  width: 100%;
  font-size: 15px;
  padding: 0 10px;
  font-weight: 500;
  color: rgba(2, 6, 12, 0.75) !important;
}

.fps-cont li .bi-arrow-up-left {
  width: 15px;
  height: 15px;
}

.fps-cont li span {
  font-size: 12px;
  display: block;
  padding: 0;
  color: #1976d2 !important;
}

.fps-discover-more {
  margin: 10px 0;
  background: white;
  padding: 10px 10px 30px;
  border-top: 0.5px solid #ddd;
  border-bottom: 0.5px solid #ddd;
}

.fps-discover-more h4 {
  margin: 10px 5px;
  color: rgba(2, 6, 12, 0.75);
  font-weight: 500;
}

.fps-discover-more a {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.1) 0px 0px 1px 1px;
  text-decoration: none;
  color: #1976d2;
  font-size: 14px;
  padding: 7px 10px;
  display: inline-block;
  margin: 5px;
  border-radius: 3px;
}

.search-svg {
  position: absolute !important;
  right: 60px;
  top: 20px;
}

.search-div {
  display: flex;
  flex-wrap: nowrap;
  margin-left: 40px;
  margin-right: 90px;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  width: 100%;
  max-width: 500px;
  border: 1px solid #ddd;
}

.search-div svg {
  position: unset;
  margin: 5px 7px;
}

.search-div input {
  padding: 5px;
  width: 100%;
  border: none;
  font-style: italic;
}

.search-div input:focus {
  outline: 0;
}

/* Popup Messages */

.cart-msg {
  display: flex;
  background-color: #1976d2;
  color: white;
  padding: 10px;
  width: 200px;
  text-align: center;
  border-radius: 5px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  transition: bottom 0.3s ease;
  display: none;
}

.cart-msg svg {
  width: 25px;
  height: 25px;
  fill: white;
}

.cart-msg span {
  padding: 1px 3px;
}

/* Footer */

footer::before {
  border-top: 1px solid #ccc;
  display: block;
  max-width: 90%;
  margin: 20px auto;
  background: red;
  height: 2px;
}

footer {
  padding: 40px 5%;
  background: #595959;
  color: white;
  margin: 0 auto;
}

.about-us p {
  font-size: 14px;
  margin: 5px 0 10px;
  max-width: 700px;
}

.fr-col {
  margin: 40px 0;
}

.fr-col ul {
  padding: 0;
}

.fr-col ul li {
  margin: 7px 0;
}

.fr-col a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  display: inline;
}

.fr-col a:hover {
  text-decoration: underline;
}

.fr-strip {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  margin: 50px 0 10px;
}

/* NEW STYLES */

.offers_top_div {
  background: #f2f2f2;
}

.offers_top_div p {
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-style: italic;
}

.mobile_header {
  position: sticky;
  top: 0;
  display: flex;
  background: #121212;
  margin: 0;
  padding: 20px 15px;
  z-index: 1;
  transition: all 0.3s ease;
}

.mobile_header a {
  color: white;
  text-decoration: none;
}

.mobile_header svg {
  fill: white;
}

.icons_div {
  display: flex;
}

.h_icon_box {
  margin: 0;
  position: relative;
  width: 40px;
  height: 100%;
}

.h_icon_box svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}

.user_icon svg {
  width: 22px !important;
  height: 22px !important;
}

.menu_icon_dash {
  width: 20px;
  height: 1.5px !important;
  background: white;
  margin: 5px;
  border-radius: 35px;
}

.dash_2 {
  width: 13px;
  height: 1.5px !important;
}

.logo_div {
  width: 100%;
}

.white_bg.mobile_header {
  background: white;
  color: #121212;
}

.white_bg.mobile_header svg {
  fill: #121212 !important;
}

.white_bg .menu_icon_dash {
  background: #121212 !important;
}

.hero_div {
  background: #f2f2f2;
  height: 75%;
}

.features_div {
  display: flex;
  padding: 30px 20px;
}

.feature_card {
  width: 30%;
  margin: auto;
  max-width: 200px;
}

.feature_icon {
  height: 50px;
  position: relative;
}

.feature_icon svg {
  width: 28px;
  height: 28px;
  display: block;
  margin: auto;
  fill: #121212;
}

.feature_text {
  font-size: 11px;
  text-align: center;
  padding: 0;
  color: #121212;
  height: 30px;
  font-weight: 500;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.collection_grid_container {
  margin: 0 0 50px;
  background: white;
}

.collection_grid_container h1 {
  font-size: 20px;
  text-align: center;
  margin: 20px 0;
}

.collection_grid {
  display: grid;
  grid-template-columns: auto auto auto;
  row-gap: 5px;
  column-gap: 5px;
  padding: 5px;
}

.collection_card {
  width: 100%;
  height: 150px;
  background: #f2f2f2;
  position: relative;
}

.collection_text {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 12px;
}

.product_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal-width columns */
  row-gap: 15px;
  column-gap: 5px;
  padding: 5px;
}

.product_grid a,
.collection_grid a {
  text-decoration: none;
  color: inherit;
}

.product_card {
  width: 100%;
  position: relative;
  overflow: hidden;
  overflow: hidden;
}
.img_box {
  aspect-ratio: 3/4;
  background: #f2f2f2;
  margin: 0;
  overflow: hidden;
}
.img_box img {
  width: 100%;
}
.product_card_details {
  padding: 0 5px;
}
.product_title {
  padding: 10px 0 0;
  font-weight: 500;
  font-size: 14px;
  color: rgba(2, 6, 12, 0.75);
  display: -webkit-box;
  overflow-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}
.product_offer_price {
  font-weight: 500;
}
.product_pricing {
  padding: 10px 0;
}
.product_mrp {
  color: grey;
}
.product_sizes {
  display: flex;
  overflow-x: scroll;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  display: none !important;
}
.product_sizes::-webkit-scrollbar {
  display: none;
}
.product_sizes span {
  background: #f2f2f2;
  margin-right: 5px;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 9px;
  padding: 2px 5px;
}
.product_sizes .del {
  color: grey;
  text-decoration: line-through;
  background: none;
}
.product_tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  background: white;
  padding: 5px 10px;
  border-radius: 10px;
}

.how-it-works {
  margin: 20px 10px 20px 5px;
  display: none;
}

footer {
  background: #f8f8f8;
  color: #121212;
  border-top: 1px solid #f2f2f2;
}

.main_menu {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: -100%;
  z-index: 20;
  background-color: rgba(18, 18, 18, 0.8); /* #121212 with 80% opacity */
  color: white; /* ensure text is readable */
}
.menu_content {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 400px;
  border: 1px solid;
  height: 100%;
  background: white;
  left: -100%;
  transition: left 0.3s ease;
}

.main_menu ul {
  padding: 0;
  margin: 60px 20px 50px;
}

.main_menu li {
  border-bottom: 1px solid #f2f2f2;
  padding: 20px 0;
  position: relative;
}

.menu_content a {
  text-decoration: none;
  color: #121212;
  font-size: 16px;
  margin: 20px 0;
}

.main_menu li svg {
  position: absolute;
  top: 20px;
  right: 10px;
  fill: #121212;
  width: 16px;
  height: 16px;
}
.close_menu_svg {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20px;
  left: 20px;
  fill: #121212;
}
.menu_help_link {
  position: absolute;
  bottom: 0;
  left: 20px;
  color: #121212;
  text-align: left !important;
  padding: 20px 0;
}
.menu_help_link a {
  color: blue;
}
.menu_content.menu_content_open {
  left: 0;
}
.main_menu_open {
  left: 0;
}

.main_menu_open + body {
  overflow: hidden;
}

/* Breakpoints */
@media only screen and (min-width: 992px) {
  body {
    overflow-y: scroll !important;
  }

  .mh,
  .fps-cont {
    display: none;
  }

  .dh,
  .sbrs-cont {
    display: block;
  }

  .fr-flex {
    display: flex;
  }

  .fr-col {
    width: 30%;
  }
}

@media (width > 800px) {
  .collection_grid {
    padding: 20px;
    grid-template-columns: auto auto auto auto auto auto;
    column-gap: 15px;
    row-gap: 15px;
  }
  .product_grid {
    padding: 20px;
    grid-template-columns: auto auto auto auto auto;
    column-gap: 20px;
    row-gap: 20px;
  }
}

/* Optional: For larger screens (e.g. tablets) show 3 columns */
@media (min-width: 768px) {
  .product_grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mobile_header {
    padding: 30px !important;
  }
}

/* Optional: For even larger screens (e.g. desktops) show 4 columns */
@media (min-width: 1024px) {
  .product_grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* For very small screens (mobile) show 2 columns */
@media (max-width: 480px) {
  .product_grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* or even 1fr if you want 1 per row */
  }
}
