.co-customize-addon{
	margin-top: 67px;
    overflow: hidden;
    width: 100%;
}
.co-open-options {
    background: #00157C;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 15px;
}
.co-has-parent{
	display:none;
    width: 50%;
    margin-top: -19px;
    margin-left: 10px;
}
.co-popup-header h3{
	border-left:none;
}
.co-logo-name, .co-doc-name{
	    display: none;
    width: 100%;
    border-top: 1px solid;
	border-bottom: 1px solid;
    padding: 10px;
}
dt.variation-add-edit-engraving{
	display:none!important;
}
.co-submit-cart-data{
	cursor:pointer;
}
.co-options-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-options-popup {
    width: 92%;
    max-width: 650px;
    max-height: 85vh;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.co-popup-header {
    background: #00157C;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.co-popup-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.co-save-options {
    background: #fff;
    color: #00157C;
    border: none;
    padding: 8px 18px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
}

.co-popup-body {
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
}

.co-option-section {
    margin-bottom: 24px;
}

.co-option-section h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #444;
}

.co-option-section p {
    margin: 0 0 12px;
    color: #777;
    line-height: 1.5;
}

.co-custom-select {
    position: relative;
}

.co-selected-option {
    border: 1px solid #ddd;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    min-height: 48px;
}

.co-selected-option img,
.co-option-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.co-selected-option span {
    flex: 1;
    color: #111;
}

.co-options-list {
    display: none;
/*     position: absolute; */
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
/*     z-index: 50; */
    max-height: 250px;
    overflow-y: auto;
}

.co-custom-select.is-open .co-options-list {
    display: block;
}

.co-option-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.co-option-item:hover {
    background: #f5f5f5;
}

.co-option-item span {
    flex: 1;
}

.co-option-item em {
    font-style: normal;
    color: #be1e2d;
    font-weight: 600;
}

/* cart page styling */
  .open-engraving-popup {
      min-height: 46px;
      padding: 0 24px;
      border: 0;
      border-radius: 5px;
      background: #1e5da8;
      color: #fff;
      font-weight: 700;
    }

    .open-engraving-popup:hover {
      background: #174b89;
    }

    .engraving-overlay {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: none;
      padding: 24px;
      overflow-y: auto;
      background: rgba(0, 0, 0, 0.58);
    }

    .engraving-overlay.is-visible {
      display: flex;
      align-items: flex-start;
      justify-content: center;
    }

    .engraving-popup {
      width: min(100%, 720px);
      margin: auto;
      overflow: hidden;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 22px 65px rgba(0, 0, 0, 0.28);
    }

    .engraving-popup-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      min-height: 68px;
      padding: 16px 22px;
      border-bottom: 1px solid #dedede;
      background: #f7f7f7;
    }

    .engraving-popup-header h2 {
      margin: 0;
      font-size: 23px;
      line-height: 1.25;
    }

    .engraving-popup-close {
      width: 38px;
      height: 38px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: transparent;
      color: #333;
      font-size: 30px;
      line-height: 1;
    }

    .engraving-popup-close:hover,
    .engraving-popup-close:focus-visible {
      background: #e8e8e8;
      outline: none;
    }

    .engraving-form {
      padding: 24px;
    }

    .engraving-top-details {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 18px 34px;
      margin: 0 0 18px;
    }

    .engraving-top-field {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .engraving-top-field label {
      color: #444;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
		margin:0;
    }

    .engraving-quantity-input,
    .engraving-price-input {
      height: 34px;
      padding: 6px 9px;
      border: 1px solid #d5d5d5;
      background: #fff;
      color: #555;
      font-size: 13px;
      outline: none;
    }

    .engraving-quantity-input {
      width: 52px;
      text-align: center;
    }

    .engraving-price-input {
      width: 78px;
    }

    .engraving-price-input[readonly] {
      background: #f8f8f8;
      color: #888;
    }

    .engraving-intro {
      margin: 5px 0;
		border: 1px solid #eee;
		border-radius: 1px;
		font-size: 17px;
		color: #8c8c8c;
		padding: 10px;
		text-align: center;
    }

    .required {
      color: #bd1e2d;
    }
.allstar-field-label{
	line-height:2
}
 .choice-field {
      min-width: 0;
      margin: 0 0 22px;
      padding: 0;
      border: 0;
    }
.allstart-upload-container{
	background:#eae8e8;
	position: relative;
}
.allstar-upload-inner {
    border-style: solid;
    border-width: 0;
	color: #535b6a;
    padding: .8em;
	position: relative;
    background-color: transparent;
}
.allstar-upload-button{
	    font-weight: 600;
    font-size: 14px;
    color: #8c8c8c;
    background: #f1f1f1;
    padding: 10px 10px 9px 5px !important;
    border-radius: 4px;
    text-transform: uppercase;
    border: 0 !important;
	margin-right: 1.6em;
	
	    position: relative;
		overflow: hidden;
		direction: ltr;
	vertical-align: middle;
	
	    user-select: none;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
	
	    line-height: 1.42857143;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}
.allstar-upload-button input{
	position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    font: 170px monospace !important;
    opacity: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.allstar-hint{
	    margin-top: 5px;
    display: block;
    font-size: 12px;
}
/*     .choice-field {
      min-width: 0;
      margin: 0 0 22px;
      padding: 0;
      border: 0;
    }

    .choice-field legend,
    .field-label {
      display: block;
      margin-bottom: 10px;
      color: #222;
      font-size: 15px;
      font-weight: 700;
    } */

    .yes-no-options {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
    }

    /* Real native radio buttons */
    .choice-option {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      cursor: pointer;
    }

    .choice-option input[type="radio"] {
      width: 18px;
      height: 18px;
      margin: 0;
      accent-color: #1e5da8;
      cursor: pointer;
    }

    .choice-option span {
      color: #333;
      font-size: 14px;
      font-weight: 700;
    }

    .choice-option input[type="radio"]:focus-visible {
      outline: 3px solid rgba(30, 93, 168, 0.25);
      outline-offset: 2px;
    }

    .engraving-details {
      padding-top: 2px;
    }

    .form-row {
      margin-bottom: 22px;
    }

    .text-area {
      width: 100%;
      min-height: 125px;
      padding: 12px 13px;
      resize: vertical;
      border: 1px solid #bcbcbc;
      border-radius: 5px;
      background: #fff;
      color: #222;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .text-area:focus {
      border-color: #1e5da8;
      box-shadow: 0 0 0 3px rgba(30, 93, 168, 0.12);
    }

    .logo-upload-area, .doc-upload-area {
      padding: 16px;
      border: 1px dashed #aeb4bb;
      border-radius: 6px;
      background: #fafafa;
    }
.doc-upload-area{
	margin-bottom:0;
}

    .upload-control {
      display: flex;
      align-items: stretch;
      width: 100%;
      min-height: 46px;
      overflow: hidden;
      border: 1px solid #bcbcbc;
      border-radius: 5px;
      background: #fff;
    }

    .selected-file-name {
      display: flex;
      flex: 1 1 auto;
      align-items: center;
      min-width: 0;
      padding: 10px 13px;
      overflow: hidden;
      color: #676767;
      font-size: 13px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .upload-button {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      min-width: 125px;
      padding: 10px 16px;
      border: 0;
      background: #222;
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }

    .upload-button:hover {
      background: #000;
    }

    .logo-file-input {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      white-space: nowrap;
    }

    .field-help {
      margin: 7px 0 0;
      color: #707070;
      font-size: 12px;
      line-height: 1.45;
    }


    .form-message {
      display: none;
      margin: 0 0 18px;
      padding: 11px 13px;
      border-radius: 5px;
      background: #e8f5e9;
      color: #216a2b;
      font-size: 13px;
      font-weight: 700;
    }

    .engraving-popup-footer {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin: 6px -24px -24px;
      padding: 18px 24px;
      border-top: 1px solid #dedede;
      background: #f7f7f7;
    }

    .popup-button {
      min-height: 44px;
      padding: 9px 22px;
      border-radius: 5px;
      font-weight: 700;
    }

    .popup-button-secondary {
      border: 1px solid #a8a8a8;
      background: #fff;
      color: #333;
    }

    .popup-button-secondary:hover {
      background: #ededed;
    }

    .popup-button-primary {
      border: 1px solid #1e5da8;
      background: #1e5da8;
      color: #fff;
    }

    .popup-button-primary:hover {
      background: #174b89;
    }

    @media (max-width: 600px) {
      .engraving-overlay {
        padding: 12px;
      }

      .engraving-popup-header,
      .engraving-form {
        padding-left: 17px;
        padding-right: 17px;
      }

      .engraving-popup-header h2 {
        font-size: 20px;
      }

      .engraving-popup-footer {
        margin-right: -17px;
        margin-left: -17px;
        padding-right: 17px;
        padding-left: 17px;
      }

      .popup-button {
        flex: 1 1 0;
        padding-right: 10px;
        padding-left: 10px;
      }

      .upload-control {
        flex-direction: column;
      }

      .upload-button {
        min-height: 42px;
      }
    }