#customized_product_text,
.personalize_btn {
  display: none;
}

.customize_wrap select.monoselect,
.customize_wrap input {
  width: 270px;
  height: 45px;
  padding: 13px 27px 13px 19px;
  letter-spacing: 0.5px;
  font-size: 12px !important;
  line-height: 12px !important;
  font-weight: 100;
  display: block;
  /* margin-bottom: 20px; */
}

.customize_wrap input::placeholder {
  font-size: 12px;
  font-weight: 100;
}

.customize_wrap .custom-select {
  margin-bottom: 20px;
}

.preview-box {
  width: 300px;
  height: 200px;
  border: 1px solid #ccc;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.preview-text {
  font-size: 20px;
}

.image-preview {
  display: block;
  margin: auto;
  position: relative;
  border: 1px solid #ccc;
  width: 500px;
  height: 300px;
}

#productImage {
  width: 100%;
  height: 100%;
}

.image-text {
  position: absolute;
  font-size: 24px;
  pointer-events: none;
  white-space: nowrap;
  font-size: 30px;
}

/* Custom fonts */
@font-face {
  font-family: "Artfully";
  src: url("./fonts/ArtfullystylishRegular.ttf") format("truetype");
}

@font-face {
  font-family: "Gohigher";
  src: url("./fonts/Gohigher.otf") format("opentype");
}

@font-face {
  font-family: "IntensoSerif";
  src: url("./fonts/IntensoSerif.ttf") format("truetype");
}

@font-face {
  font-family: "IntensoScript";
  src: url("./fonts/IntensoScript.ttf") format("truetype");
}

@font-face {
  font-family: "Vogue";
  src: url("./fonts/Vogue.ttf") format("truetype");
}

@font-face {
  font-family: "CollegiateFLF";
  src: url("./fonts/CollegiateFLF.ttf") format("truetype");
}

@font-face {
  font-family: "Generalissimo";
  src: url("./fonts/Generalissimo.ttf") format("truetype");
}

@font-face {
  font-family: "PandaOutline";
  src: url("./fonts/PandaOutline.ttf") format("truetype");
}

#font option {
  font-size: 16px; /* consistent text size */
  line-height: 30px; /* equal row height */
  height: 30px !important; /* force height */
}

#color option {
  font-size: 0; /* hide text */
  height: 25px;
}

#color option::before {
  content: attr(value); /* fallback if CSS not supported */
}

.color-box-wrap {
  width: 300px;
  height: 50px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.color-box {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin-right: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  border-radius: 5px;
}

.color-box.active {
  border: 2px dotted RED;
}

#color option {
  font-size: 0; /* hide text */
  height: 25px;
}

.customize_wrap {
  display: none;
  overflow: hidden;
}

.customize_wrap h2 {
  margin-bottom: 40px;
  font-weight: 100;
}

.dblockcenter_desktop {
  margin: auto;
  text-align: center;
}

@media only screen and (min-width: 731px) {
  #monotool {
    display: grid;
    grid-template-columns: 52% 41%;
    grid-column-gap: 7%;
    margin: 0 0 80px 0;
  }
}

@media screen and (max-width: 730px) {
  #monooptions {
    width: 95%;
    margin: 50px auto;
  }
  .font-option,
  .color-option {
    width: 100px;
  }

  .customization_checkbox_wrap  {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .customization_checkbox_wrap input {
    transform: translateY(0px) !important;
    height: 15px;
  }

  
}

@media screen and (max-width: 450px) {
  .personalize_btn {
    margin-top: 15px;
  }
  .shape-option{
    width: 75px !important;
    height: 75px !important;
  }
}

.new_buttons_wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}

.customized_active_btn {
  border: 2px dashed white !important;
}

/* new */

.font-selector,
.color-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  /* margin-bottom: 20px; */
  width: 90%;
}

.font-option,
.color-option {
  padding: 10px 15px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
}

.font-option img {
  height: 30px;
}
.color-option {
  height: 40px;
}

.font-option.active {
  border-color: #007bff;
  background: #e7f1ff;
  color: #007bff;
}
.color-option.active {
  border: 2px dashed red;
}

.Dove_Grey {
  background-color: #777672;
}

.Mid_Blue {
  background-color: #0000cd;
}

.Olive {
  background-color: #808000;
}

.Pale_Olive {
  background-color: #b9cc81;
}

.Pale_Pink {
  background-color: #fadadd;
}

.Powder_Blue {
  background-color: #b0e0e6;
}

.Sand {
  background-color: #c2b280;
}

.Silver_Grey {
  background-color: #c0c0c0;
}

.Tartan_Green {
  background-color: #004121;
}

.Tartan_Navy {
  background-color: #232649;
}

.Tartan_Red {
  background-color: #a00048;
}

.Taupe {
  background-color: #483c32;
}

.White {
  background-color: #ffffff;
}

.inputs {
  display: flex;
  gap: 10px;
  /* margin-bottom: 30px; */
}

.inputs input {
  width: 65px;
  height: 60px;
  font-size: 32px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 10px;
  text-transform: uppercase;
}

.display-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 100px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 80%;
}
#graphic_text {
  display: flex;
  align-items: center;
  position: absolute;
  /* top: 15px;
  left: 15px; */
  /* transform: translate(-50%, -50%); */
  /* min-width: 80px; */
  max-width: 140px;
  align-items: center;
  justify-content: center;
}
#graphic_text img {
  /* height: 50px; */
}

.customization_checkbox_wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: start;
  margin-left: 5px;
}
.customization_checkbox_wrap input {
  width: 20px;
  scale: 1.5;
  transform: translateY(7px);
}
.customization_checkbox_wrap p {
  margin: 0;
  padding: 0;
}

.shape-option {
  border: 1px solid silver;
  border-radius: 5px;
}

.selected_shape_image {
  border: 2px dashed #a00048;
}

#graphic_text {
  max-height: 50px !important;
}
#graphic_text img {
  /* object-fit: contain !important; */
  width: 50px;
  max-height: 50px;
}

#customized_product_graphics_wrap,
#customized_product_shapes_wrap {
  max-width: 90%;
  margin-bottom: 20px;
}

#applyBtn {
  margin-top: 0;
  margin-bottom: 30px;
}

#monocost {
  display: inline-block;
  padding-left: 10px;
  font-weight: bold;
}

.step_wrap {
  min-width: 25px;
  min-height: 25px;
  max-width: 25px;
  max-height: 25px;
  border: 1px solid #746b5f;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #746b5f;
  margin-top: 5px;
}

.d-flex-wrap {
  display: flex;
  align-items: start;
  gap: 15px;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .image-preview {
    width: 400px;
  }
}
@media (max-width: 768px) {
  .image-preview {
    width: 300px;
    height: 250px;
  }

  #graphic_text img {
    max-width: 30px;
    max-height: 50px;
  }
}
