* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}
:root {
  --button-primary: #070707;
  --button-primary-text: #f5f5f5;
  --button-secondary: #d69c89;
  --background-lightgrey: #f5f5f5;
  --background-black: #060606;
  --background-light: #ffffff;
  --black: #000000;
  --grey-75: #757575;
  --black-1e: #1e1e1e;
  --border-grey: #d9d9d9;
  --grey-b3: #b3b3b3;
  --border-darkgrey: #898989;
  --grey-71: #717171;
  --grey-8b: #8b8b8b;
  --placeholder-grey: #9aa0b4;
  --total-grey: #5f5d5d;
  --grey-6f: #6f6f6f;
  --grey-d0: #d0d0d0;
  --background-info: #f0f0f0;
  --orange: #ff5924;
  --primary-backround: #faf2e8;
  --primary-button: #d69c89;
  --overpass: rgba(248.63, 248.63, 248.63, 0.5);
}

/* <--------------- login register css ---------------> */

.login-register-container {
  display: flex;
  min-height: 100vh;
}
.login-register-container .container-left {
  width: 45%;
  background-color: var(--background-black);
  background-image: url(../assets/login-light.png);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-logo {
  height: 40px;
}
.login-register-container .container-right {
  width: 55%;
  background-color: var(--primary-backround);
  padding: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-container,
.otp-container,
.register-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 65%;
}
.register-container {
  width: 100% !important;
}
.heading-small {
  color: var(--black);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 7px;
}
.login-text {
  line-height: 28px;
  font-size: 16px;
  margin: 0;
  color: var(--grey-75);
}
.single-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  position: relative;
}
.two-inputs {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.single-input label {
  line-height: 28px;
  font-size: 16px;
  color: var(--black-1e);
}
.single-input input,
.single-input select {
  padding: 16px;
  background-color: var(--background-light);
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  margin-bottom: 24px;
  width: 100%;
}
.single-input select:focus {
  border-color: var(--border-grey);
  outline: 0;
  box-shadow: none;
}
.single-input label::placeholder {
  color: var(--grey-b3);
  line-height: 28px;
  font-size: 16px;
}
.login-middle .button-primary,
.otp-middle .button-primary,
.register-middle .button-primary {
  width: 100%;
}
.button-primary {
  background-color: var(--primary-button);
  border-radius: 8px;
  color: var(--button-primary-text);
  line-height: 28px;
  font-size: 16px;
  padding: 18px 20px;
  border: none;
}
.signuptext {
  margin: 0;
  font-size: 16px;
  color: var(--black);
}
.signuptext a {
  text-decoration: underline;
  color: var(--black);
}
.otp-box-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 24px;
}
.otp-input {
  width: 100%;
  aspect-ratio: 1;
  text-align: center;
  font-size: 24px;
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  background-color: var(--background-light);
}
.otp-input::placeholder {
  font-size: 16px !important;
  color: var(--grey-b3) !important;
}
.otp-container input::-webkit-outer-spin-button,
.otp-container input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.otp-container input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.login-text a {
  text-decoration: underline;
  color: var(--grey-75);
  font-weight: 500;
}

/* <--------------- home css ---------------> */

.home-container {
  display: flex;
  background-color: var(--primary-backround);
  min-height: 100vh;
}
.home-container .container-left,
.home-container .container-right {
  width: 50%;
}
.home-container .container-right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 100px 80px;
}
.home-header-container {
  background-image: url(../assets/headerbg-home.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 20px 10px 50px;
}

.home-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.ordertype-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 16px;
}
.ordertype-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--border-darkgrey);
  background-color: var(--background-light);
  padding: 8px 16px;
  color: var(--black);
  font-size: 12px;
  font-weight: 500;
}
.ordertype-btn.active {
  color: var(--orange);
  border: 1px solid var(--orange);
}

.home-logo {
  height: 28px;
}
.white-btn {
  padding: 15px;
  font-size: 16px;
  border-radius: 12px;
  background-color: var(--background-light);
  border: 1px solid var(--grey-b3);
}
.deliveryaddress-container div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
}
.deliveryaddress-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0 15px;
}
.address {
  color: var(--grey-71);
  font-size: 16px;
  margin: 0;
}
.order-text-home {
  color: var(--black);
  font-size: 13px;
  margin: 0;
  font-weight: 500;
}
.sticky-home {
  position: sticky;
  top: 0px;
  padding: 20px 20px 20px 50px;
  background-color: var(--primary-backround);
}
.search-container-home {
  padding: 16px 12px;
  background-color: var(--background-light);
  border: 1px solid var(--grey-b3);
  border-radius: 12px;
}
.search-container-home input {
  border: none;
  background-color: transparent;
}
.search-container-home input::placeholder {
  color: var(--placeholder-grey);
  font-size: 14px;
}
.sticky-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
}
.title-small {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 20px;
}
.view-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.gridlistbtn {
  border: none;
  background-color: transparent;
}
.sticky-chips {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.sticky-chips::-webkit-scrollbar {
  height: 2px;
}
.sticky-chips::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.sticky-chips::-webkit-scrollbar-track {
  background: transparent;
}

.chip-sticky {
  padding: 8px 16px;
  background-color: var(--background-light);
  border-radius: 16px;
  border: 1px solid var(--background-lightgrey);
  font-size: 16px;
  line-height: 20px;
  color: var(--black);
  text-wrap: nowrap;
}
.chip-sticky.active {
  background-color: var(--button-secondary);
  color: var(--background-light);
  border: none;
}
.single-section {
  scroll-margin-top: 220px;
}
.single-section .title-small {
  margin-bottom: 24px;
}
.products-container {
  padding: 20px 20px 20px 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.product-container-main.list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-container-main.grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}
.product-container-main.list .single-product {
  padding: 8px;
  border-radius: 8px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;
  background-color: var(--background-light);
}
.product-container-main.grid .single-product {
  padding: 8px;
  border-radius: 8px;
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  background-color: var(--background-light);
}
.product-container-main.grid .single-product .detail-container {
  width: 100%;
}
.product-container-main.grid
  .single-product
  .detail-container
  .price-atc-container {
  flex-direction: column;
  align-items: stretch;
  margin-top: 12px;
  gap: 12px;
}
.product-container-main.list .single-product .image-container {
  background-color: #f9f9f9;
  height: 130px;
  width: 130px;
  border-radius: 8px;
  overflow: hidden;
}
.product-container-main.grid .single-product .image-container {
  background-color: #f9f9f9;
  height: 150px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.product-container-main.list .single-product .image-container img,
.product-container-main.grid .single-product .image-container img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.product-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 16px;
  color: var(--black);
}
.product-description {
  font-size: 12px;
  line-height: 16px;
  margin: 0;
  color: var(--grey-8b);
}
.detail-container {
  width: calc(100% - 146px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-atc-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.product-price {
  font-size: 18px;
  font-weight: 700;
  line-height: 16px;
  color: var(--black);
  margin: 0;
}
.atc-btn {
  background-color: var(--button-secondary);
  color: var(--background-light);
  padding: 12px 50px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
}
.cart-container {
  width: 100%;
}
.cart-items-container-main .cart-section img {
  width: 100%;
  height: 250px;
}
.cart-title {
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: 500;
  color: var(--background-black);
}
.heading-xs {
  margin-bottom: 16px;

  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--black);
}
.total-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background-color: var(--background-light);
  padding: 16px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}
.total-label {
  margin: 0;
  color: var(--total-grey);
  font-size: 16px;
  line-height: 26px;
}
.total-price {
  margin: 0;
  color: var(--black);
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}
.confirmorder-btn {
  border-radius: 8px;
  border: none;
  background-color: var(--black);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  color: var(--background-light);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.confirmorder-btn.disabled {
  color: var(--grey-6f);
  background-color: var(--grey-d0);
  cursor: not-allowed;
}
.expandable-section {
  overflow-y: auto;
}
a {
  text-decoration: none !important;
  color: var(--background-black) !important;
}

.billing-container {
  margin-top: 24px;
}
.space-container {
  height: 200px;
}

/* addon css */
.country-group {
  display: flex;
}

.country-group select {
  width: 40%;
  border-radius: 8px 0px 0px 8px;
}
.country-group input {
  border-radius: 0px 8px 8px 0px;
}

.selected-time .selected {
  font-size: 12px;
  color: var(--button-primary-text);
  border: 1px solid var(--background-info);
  padding: 8px 16px;
  font-weight: 500;
  width: fit-content;
  border-radius: 8px;
  background-color: var(--primary-button);
}

.stooltip {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 5px;
}

.stooltip.hidden {
  display: none;
}

.stooltip button {
  background: none;
  border: none;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  width: 100%;
}

.stooltip button:hover {
  background-color: #f5f5f5;
}

.stooltip .delete-btn {
  color: red;
}

.saved-addresses {
  /* position: relative; */
}

.aptooltip {
  /* position: absolute;
  top: 100%;
  right: 330px; */
  /* transform: translateY(-50%); */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 5px;
}

.aptooltip.hidden {
  display: none;
}

.aptooltip button {
  background: none;
  border: none;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  width: 100%;
}

.aptooltip button:hover {
  background-color: #f5f5f5;
}

.aptooltip .delete-btn {
  color: red;
}
