#engravingModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

.modal-wrapper {
  background: #fff;
  width: 90%;
  max-width: 1100px;
  margin: 10% auto;
  padding: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 18px;
  letter-spacing: 2px;
}

.close {
  cursor: pointer;
  font-size: 24px;
}

.modal-body {
  display: flex;
  margin-top: 20px;
}

/* LEFT */
.modal-left {
  width: 50%;
}

.modal-left img {
  width: 100%;
}

/* RIGHT */
.modal-right {
  width: 50%;
  padding: 20px;
}

.modal-right h3 {
  font-size: 18px;
}

.modal-right label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
}

/* FONT BUTTONS */
.font-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.font-options button {
  flex: 1;
  padding: 10px;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
}

.font-options .active {
  background: #eee;
}

/* INPUT */
.modal-right input {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #000;
}

/* PREVIEW */
.preview-box {
  height: 40px;
  background: #f5f5f5;
  margin-top: 10px;
  font-size: 18px;
  padding-top: 8px;
  padding-left: 6px;
  font-family: 'Montserrat', sans-serif !important;
}

.preview-box.italic {
  font-style: italic;
}

/* CHECKBOX */
.checkbox {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox label {
  display: inline;
  margin-top: 0;
  font-weight: normal;
}

.checkbox input[type="checkbox"] {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
}

/* SAVE BUTTON */
.save-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #ccc;
  border: none;
  cursor: not-allowed;
}

.save-btn.active {
  background: #000;
  color: #fff;
  cursor: pointer;
}

/* ENGRAVE BUTTON */

.engrave-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #001f2b;
  background: #f5f5f5;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: serif;
  margin-bottom: 20px;
  width: 350px;
  color: #001f2b;
}

.engrave-btn:hover {
  background: #eeeeee;
}

.engrave-btn .left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.engrave-btn .title {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
}

.engrave-btn .subtitle {
  font-size: 12px;
}

.engrave-btn .arrow {
  font-size: 28px;
  color: #333;
}

@media (max-width: 980px) {
  .modal-left {
    display: none;
  }

  .modal-right {
    width: 100%;
  }
}