body {
  font-family: Arial, sans-serif;
}

.product-card-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.heading {
  display: flex;
  justify-content: space-between;
}
.heading .share-options {
  display: flex;
  flex-wrap: nowrap;
  width: 100px;
  justify-content: space-around;
}

.share-options .icon_2 {
  padding: 4px;
  margin-right: 1px;
}

.share-options .green .icon_2 {
  color: #08bf04;
  border: 1px solid #08bf04;
}

.p_icons {
  display: flex;
  align-items: center;
}

.share-options .red .icon_2 {
  color: #c91f24;
  border: 1px solid #c91f24;
}

.heading > h2 {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #434444;
  display: block;
  font-size: 1.5em;
  font-weight: bold;
  unicode-bidi: isolate;
}

.product {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 20px; */
}

.cake-image-container {
  display: inline-block;
  position: relative;
  flex: 0 0 30%;
  text-align: center;
}

.cake-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.discount-badge {
  background-color: yellow;
  color: red;
  font-weight: bold;
  border-radius: 50%;
  padding: 5%;
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 50%;
}

.tick-mark {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 30%; /* Adjust size as needed */
  height: 30%; /* Adjust size as needed */
}

.details {
  flex: 1;
  width: calc(70% - 10px);
  margin-left: 10px;
  margin-top: 10px;
}

.selectors {
  overflow: auto;
  display: flex;
  justify-content: space-between;
  /* margin-bottom: 20px; */
}

.row2 {
  display: flex;
  overflow: auto;
}

.row2 > div {
  flex: 1;
}

.quantity-selector,
.flavor-selector {
  display: flex;
  align-items: center;
  /* max-width: 135px; */
}

.quantity-selector > select {
  width: 60px;
}
.flavor-selector > select {
  width: 100%;
}

.quantity-selector label,
.flavor-selector label {
  margin-right: 10px;
}

.quantity-selector select,
.flavor-selector select,
.quantity-selector input,
.flavor-selector input {
  padding: 5px;
}

.quantity-selector input {
  max-width: 60px;
}

.flavor-selector input {
  width: 100%;
  min-width: 50px;
}

.price > div:first-child {
  margin: 10px 0;
  padding: 10px 2px 2px 2px;
  background-color: #efefef;
}

.price .original-price {
  text-decoration: line-through;
  color: #96b1cb;
  font-size: 0.85em;
  /* margin-left: 10px; */
}

.price {
  font-size: 0.8em;
  color: #545454;
}

.special-price-parent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  background-color: white;
  border: 1px solid #713172;
}

.special-price-parent p {
  margin: 0;
}
.special-price-parent p:first-child {
  font-size: 0.7em;
  font-weight: bold;
  white-space: nowrap;
  margin: 0 3px;
}

.special-rate {
  color: red;
  font-weight: bold;
  margin: 0;
}

.stock-qualtiy-parent {
  background-color: white;
  padding: 5px;
  margin: 5px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
}

.stock-info {
  font-weight: bold;
  font-size: 0.8em;
  margin-bottom: 20px;
  background-color: #efefef;
  display: flex;
  color: #698389;
  margin: 0;
  padding: 0 2px;
  justify-content: space-between;
  margin-bottom: 10px;
  width: -webkit-fill-available;
}

.stock-info div {
  /* flex: 1; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.stock-info div:first-child {
  font-size: 0.5em;
}

.stock-info div:nth-child(2) {
  padding: 10px 3px 2px 0;
}

.quantity-control {
  display: flex;
  align-items: center;
}

.quantity-control button {
  /* padding: 10px; */
  background-color: #e7e7e7;
  color: black;
  cursor: pointer;
  border-radius: 5px;
  font-size: 20px;
  width: 20px;
  height: 20px;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
}

.quantity-control input {
  width: 50px;
  text-align: center;
  margin: 0 2px;
}

/* Remove arrows for the above input */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* input[type="number"] {
  -moz-appearance: textfield;
} */

.row3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.additional-images-container {
  width: calc(100% - var(--image-size-small) - 9px);
  overflow: hidden;
}

.additional-images-container {
  overflow: auto;
  white-space: nowrap;
}

.additional-images img,
.upload-icon {
  padding: 3px;
  width: var(--image-size-small);
  height: var(--image-size-small);
  object-fit: cover;
  border-radius: 5px;
  display: inline-block;
  vertical-align: middle;
}

.upload-icon {
  margin: 0;
}

.additional-images-container::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

.additional-images-container::-webkit-scrollbar {
  width: 6px;
  height: 3px;
  background-color: #f5f5f5;
}

.additional-images-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #555;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  /*z-index: 10;*/
  z-index:2000;
}


.overlay-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

#crop-button,
#upload-button {
  /* padding: 10px; */
  background-color: purple;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1em;
  padding: 10px;
}

#crop-button:hover,
#upload-button:hover {
  /* padding: 10px; */
  background-color: rgb(95, 0, 95);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.close-btn svg {
  fill: #000; /* Color of the close icon */
  width: 24px;
  height: 24px;
}

#image-preview-container {
  margin: 20px 0;
  width: 100%;
  height: auto;
}

#image-preview {
  max-width: 100%;
  max-height: 300px;
}

:root {
  --image-size-small: 50px;
}
