.co-customize-addon{
	margin-top: 67px;
    overflow: hidden;
    width: 100%;
}
.co-open-options {
    background: #2E7A8A;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 15px;
}
.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;
}
/* ---------- Required-options popup (product page). Everything is scoped to .co-rop. ---------- */
html.co-rop-open { overflow: hidden; }
.co-rop {
	--co-teal: #2E7A8A; --co-teal-hover: #24626F; --co-teal-brand: #419BAE; --co-teal-tint: #e6f6f8;
	--co-ink: #161a1c; --co-muted: #4a5157; --co-line: #d5dde0;
	--co-error: #B42318; --co-error-tint: #fdecea;
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center;
	padding: 24px; background: rgba(22, 26, 28, .55);
	color: var(--co-ink); font: 16px/1.5 'Lato', system-ui, -apple-system, "Segoe UI", sans-serif;
	text-align: left; animation: co-rop-fade .18s ease-out;
}
.co-rop[hidden], .co-rop [hidden] { display: none !important; }
.co-rop *, .co-rop *::before, .co-rop *::after { box-sizing: border-box; }
.co-rop button, .co-rop input, .co-rop summary { font-family: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; }
.co-rop h2, .co-rop p, .co-rop ul, .co-rop fieldset, .co-rop legend { margin: 0; padding: 0; }

.co-rop__dlg {
	container-type: inline-size;
	display: flex; flex-direction: column; overflow: hidden;
	width: 100%; max-width: 560px; max-height: 100%;
	background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(22, 26, 28, .28);
	animation: co-rop-pop .2s ease-out;
}
.co-rop__grab { display: none; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: #c5cdd0; }

.co-rop__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--co-line); }
.co-rop .co-rop__img { flex: none; width: 56px; height: 38px; object-fit: cover; border-radius: 6px; margin: 0; }
.co-rop__ht { flex: 1; min-width: 0; }
.co-rop .co-rop__ht h2 { font-size: 19px; line-height: 1.25; font-weight: 900; color: var(--co-ink); border: 0; text-transform: none; }
.co-rop .co-rop__ht p { font-size: 14px; color: var(--co-muted); }
.co-rop .co-rop__x {
	flex: none; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: var(--co-ink); cursor: pointer;
}
.co-rop .co-rop__x:hover { background: var(--co-teal-tint); }

.co-rop__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 8px; }
.co-rop .co-rop__errsum { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--co-error-tint); color: var(--co-error); font-size: 14px; font-weight: 700; }

/* Question */
.co-rop .co-rop__q { min-width: 0; border: 0; padding: 18px 0; border-bottom: 1px solid #edf1f2; }
.co-rop .co-rop__body > .co-rop__q:last-of-type { border-bottom: 0; }
.co-rop .co-rop__q > legend { float: left; display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 10px; font-size: 16px; font-weight: 900; color: var(--co-ink); }
.co-rop__n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--co-teal-tint); color: var(--co-teal); font-size: 13px; }
.co-rop__q.is-done > legend .co-rop__n { background: var(--co-teal); color: #fff; }
.co-rop__req { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--co-muted); }
.co-rop__q.is-done > legend .co-rop__req { font-size: 0; color: var(--co-teal); }
.co-rop__q.is-done > legend .co-rop__req::after { content: "\2713  Done"; font-size: 12px; }
.co-rop .co-rop__desc { clear: both; margin: 0 0 10px; font-size: 14px; color: var(--co-muted); }

/* Option cards */
.co-rop__seg { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@container (max-width: 440px) { .co-rop__seg { grid-template-columns: 1fr; } }
.co-rop .co-rop__opt {
	position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px;
	min-height: 56px; margin: 0; padding: 10px 14px 10px 44px;
	border: 1.5px solid var(--co-line); border-radius: 10px; background: #fff; cursor: pointer;
	font-weight: 400; transition: border-color .15s, background-color .15s;
}
.co-rop .co-rop__opt:hover { border-color: var(--co-teal-brand); }
.co-rop__opt input, .co-rop__sw input { position: absolute; opacity: 0; pointer-events: none; margin: 0; }
.co-rop__opt::before {
	content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
	border: 2px solid #8a969b; border-radius: 50%; background: #fff;
}
.co-rop .co-rop__opt.is-checked { border-color: var(--co-teal); background: var(--co-teal-tint); }
.co-rop__opt.is-checked::before { border-color: var(--co-teal); background: var(--co-teal); box-shadow: inset 0 0 0 4px #fff; }
.co-rop .co-rop__icon { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; margin: 0 0 4px; }
.co-rop__ot { font-weight: 700; line-height: 1.25; }
.co-rop__of { font-size: 13px; color: var(--co-muted); }
.co-rop__opt.is-checked .co-rop__of { color: var(--co-teal-hover); }
.co-rop__opt:has(input:focus-visible), .co-rop__sw:has(input:focus-visible) .co-rop__dot { outline: 3px solid var(--co-teal); outline-offset: 2px; }
.co-rop .co-rop__q.is-invalid > .co-rop__seg > .co-rop__opt { border-color: var(--co-error); }

.co-rop .co-rop__err { display: none; margin-top: 8px; color: var(--co-error); font-size: 14px; font-weight: 700; }
.co-rop__q.is-invalid > .co-rop__err { display: flex; gap: 6px; align-items: center; }

/* Revealed child question (e.g. colour choices) */
.co-rop__reveal { margin-top: 12px; padding: 12px 14px 6px; border-radius: 10px; background: #f7fafb; animation: co-rop-fade .2s ease-out; }
.co-rop__reveal:has(> .co-rop__q.is-invalid) { outline: 1.5px solid var(--co-error); }
.co-rop .co-rop__q--sub { padding: 0; border: 0; }
.co-rop .co-rop__q--sub > legend { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.co-rop__subreq { font-weight: 400; color: var(--co-muted); }
.co-rop__sws { clear: both; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.co-rop .co-rop__sw {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
	min-width: 56px; min-height: 44px; margin: 0; padding: 4px 2px 6px;
	border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 400; line-height: 1.3; text-align: center;
}
.co-rop__dot { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 2px #fff; }
.co-rop .co-rop__dot.is-clear { background: repeating-conic-gradient(#e7ecee 0 25%, #fff 0 50%) 0 0 / 10px 10px !important; }
.co-rop__sw.is-checked .co-rop__dot { box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px var(--co-teal); }
.co-rop .co-rop__sw.is-checked { font-weight: 700; color: var(--co-teal-hover); }
.co-rop__sw .co-rop__of { font-size: 12px; }

/* Quantity */
.co-rop__qty { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 0 10px; }
.co-rop .co-rop__qty label { margin: 0; font-weight: 900; }
.co-rop__step { display: flex; overflow: hidden; border: 1.5px solid var(--co-line); border-radius: 10px; }
.co-rop .co-rop__step button {
	width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0;
	background: #fff; color: var(--co-ink); font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer;
}
.co-rop .co-rop__step button:hover { background: var(--co-teal-tint); }
.co-rop .co-rop__step input {
	width: 56px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0;
	border-left: 1px solid var(--co-line); border-right: 1px solid var(--co-line);
	background: #fff; color: var(--co-ink); text-align: center; font-size: 16px; font-weight: 700;
	-moz-appearance: textfield; appearance: textfield;
}
.co-rop__step input::-webkit-inner-spin-button, .co-rop__step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.co-rop .co-rop__tier { flex-basis: 100%; font-size: 13px; color: var(--co-muted); }
.co-rop__tier b { color: var(--co-teal-hover); }

/* Footer */
.co-rop__foot { padding: 12px 20px 16px; border-top: 1px solid var(--co-line); background: #fff; }
.co-rop .co-rop__sum { display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 6px 0 0; list-style: none; cursor: pointer; }
.co-rop__sum::-webkit-details-marker { display: none; }
.co-rop__lbl { font-weight: 700; }
.co-rop__tot { font-size: 22px; font-weight: 900; }
.co-rop__each { font-size: 13px; color: var(--co-muted); }
.co-rop__more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--co-teal); text-decoration: underline; }
.co-rop .co-rop__break { margin: 6px 0 4px; list-style: none; font-size: 14px; color: var(--co-muted); }
.co-rop .co-rop__break li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 2px 0; }
.co-rop .co-rop__break li.co-rop__t { margin-top: 4px; padding-top: 6px; border-top: 1px solid #edf1f2; color: var(--co-ink); font-weight: 700; }
.co-rop__btns { display: flex; gap: 10px; margin-top: 10px; }
.co-rop .co-rop__btn { min-height: 48px; margin: 0; padding: 0 18px; border-radius: 8px; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.co-rop .co-rop__cancel { border: 1.5px solid var(--co-line); background: #fff; color: var(--co-ink); }
.co-rop .co-rop__cancel:hover { border-color: var(--co-ink); }
.co-rop .co-rop__add { flex: 1; border: 0; background: var(--co-teal); color: #fff; }
.co-rop .co-rop__add:hover { background: var(--co-teal-hover); }
.co-rop .co-rop__add:disabled { opacity: .75; cursor: progress; }
.co-rop .co-rop__btn:focus-visible, .co-rop .co-rop__x:focus-visible, .co-rop .co-rop__step button:focus-visible,
.co-rop .co-rop__step input:focus-visible, .co-rop .co-rop__sum:focus-visible { outline: 3px solid var(--co-teal); outline-offset: 2px; }

/* Phones: bottom sheet */
@media (max-width: 599px) {
	.co-rop { align-items: flex-end; padding: 0; }
	.co-rop__dlg { max-width: none; max-height: 90vh; max-height: 90dvh; border-radius: 18px 18px 0 0; animation: co-rop-up .24s ease-out; }
	.co-rop__grab { display: block; }
	.co-rop__foot { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

@keyframes co-rop-fade { from { opacity: 0; } }
@keyframes co-rop-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes co-rop-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
	.co-rop, .co-rop *, .co-rop *::before { animation: none !important; transition: none !important; }
}

/* 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;
      }
    }