/* Additional styles from the original custom jewelry layout. */
.custom-quote-page .bg-\[\#f4f4f2\] {background-color:#f4f4f2;}
.custom-quote-page .bg-\[\#fbfbfb\] {background-color:#fbfbfb;}
.custom-quote-page .border-2 {border-width:2px;}
.custom-quote-page .border-\[\#ccc\] {border-color:#ccc;}
.custom-quote-page .border-\[\#ddd\] {border-color:#ddd;}
.custom-quote-page .border-\[\#f0f0ee\] {border-color:#f0f0ee;}
.custom-quote-page .border-dashed {border-style:dashed;}
.custom-quote-page .font-normal {font-weight:400;}
.custom-quote-page .gap-10 {gap:2.5rem;}
.custom-quote-page .hover\:bg-\[\#2a2a2a\]:hover {background-color:#2a2a2a;}
.custom-quote-page .leading-7 {line-height:1.75rem;}
.custom-quote-page .max-w-6xl {max-width:72rem;}
.custom-quote-page .mb-10 {margin-bottom:2.5rem;}
.custom-quote-page .mb-4 {margin-bottom:1.0rem;}
.custom-quote-page .mb-5 {margin-bottom:1.25rem;}
.custom-quote-page .min-h-\[48px\] {min-height:48px;}
.custom-quote-page .mt-4 {margin-top:1.0rem;}
.custom-quote-page .mt-5 {margin-top:1.25rem;}
.custom-quote-page .mt-6 {margin-top:1.5rem;}
.custom-quote-page .mt-8 {margin-top:2.0rem;}
.custom-quote-page .pb-10 {padding-bottom:2.5rem;}
.custom-quote-page .pb-16 {padding-bottom:4.0rem;}
.custom-quote-page .px-3 {padding-inline:0.75rem;}
.custom-quote-page .px-8 {padding-inline:2.0rem;}
.custom-quote-page .py-1 {padding-block:0.25rem;}
.custom-quote-page .py-10 {padding-block:2.5rem;}
.custom-quote-page .py-14 {padding-block:3.5rem;}
.custom-quote-page .space-y-1 > * + * {margin-top:0.25rem;}
.custom-quote-page .text-\[\#333\] {color:#333;}
.custom-quote-page .text-\[\#8a8a8a\] {color:#8a8a8a;}
.custom-quote-page .text-\[12px\] {font-size:12px;}
.custom-quote-page .text-\[15px\] {font-size:15px;}
.custom-quote-page .text-\[28px\] {font-size:28px;}
.custom-quote-page .text-red-700 {color:#b91c1c;}
.custom-quote-page .tracking-\[0\.12em\] {letter-spacing:0.12em;}
.custom-quote-page .tracking-\[0\.1em\] {letter-spacing:0.1em;}
@media (min-width: 640px) {
  .custom-quote-page .sm\:text-\[16px\] {font-size:16px;}
  .custom-quote-page .sm\:text-\[32px\] {font-size:32px;}
  .custom-quote-page .sm\:text-\[44px\] {font-size:44px;}
}
@media (min-width: 1024px) {
  .custom-quote-page .lg\:gap-16 {gap:4rem;}
  .custom-quote-page .lg\:grid-cols-\[1\.05fr_0\.95fr\] {grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);}
  .custom-quote-page .lg\:pb-24 {padding-bottom:6.0rem;}
  .custom-quote-page .lg\:py-24 {padding-block:6.0rem;}
}

.custom-quote-page {font-family: var(--sans);}
.custom-intro {row-gap: 1.25rem;}
@media (min-width: 1024px) {
  .custom-intro {
    grid-template-areas: ". design" "title design" "details design" ". design";
    grid-template-rows: 1fr auto auto 1fr;
    gap: 0 4rem;
  }
  .custom-intro > h1 {grid-area: title;}
  .custom-intro > img {grid-area: design;}
  .custom-intro-details {grid-area: details; padding-top: 1.5rem;}
}
.custom-quote-page article {isolation: isolate;}
/* Match the sample panels to the full CAD sheet in the first step. */
.custom-quote-page .custom-step-preview {aspect-ratio: 640 / 429;}
.custom-quote-page .grid > * {min-width: 0;}
#upload-area {cursor: pointer;}
#upload-area.drag-over {border-color: #111; background: #fafafa;}
.custom-quote-page :focus-visible {outline: 2px solid var(--focus-border); outline-offset: -2px;}
.custom-quote-page .quote-form-actions button:not(.dq-reset) {min-height: 44px;}
.custom-quote-page .quote-form-heading {--quote-title-scale: 5.6cqi;}
.custom-quote-page .quote-form-heading > div {flex-wrap: wrap; row-gap: .125rem;}
.custom-quote-page .quote-form-heading small {margin-inline-start: auto;}

@media (min-width: 768px) {
  .custom-quote-page .quote-step-icon {width: 2.5rem; height: 2.5rem; font-size: 22px;}
}

/* Interactive custom quote shares the Diamonds form's components and rhythm. */
.custom-quote-page .cq-section{max-width:1216px;width:calc(100% - 64px);margin-inline:auto}
.custom-quote-page .cq-choices{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr}
.custom-quote-page .cq-choices .dq-choice>span{height:100%}
.custom-quote-page .cq-types svg{width:44px;height:44px}
.custom-quote-page .cq-metals{margin-bottom:0;font-family:var(--sans)}
.custom-quote-page .cq-metals .metal-option{background:#faf9f7}
.custom-quote-page .metal-option{border:1px solid #dce0d3}
.custom-quote-page .metal-dot{border-width:1px}
.custom-quote-page .metal-dot.white{border-color:#c5c9be}
.custom-quote-page [data-dq-pointer=true] .metal-option:has(input:focus-visible){outline:none}
.custom-quote-page .metal-option:has([aria-invalid=true]){border-color:#c57777}
.custom-quote-page [data-custom-configurator] .quote-form-actions{margin-top:56px}
.custom-quote-page [data-custom-configurator] .diamond-feedback:not([hidden]){margin-top:24px}
.custom-quote-page [data-custom-configurator] .quote-form-actions [type=submit]{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center}
@media(max-width:374px){
 .custom-quote-page [data-custom-configurator] .quote-form-actions [type=submit]{font-size:clamp(10px,4vw,12px);letter-spacing:.025em;padding-inline:8px}
}
.custom-quote-page .cq-spaced{margin-bottom:24px}
.custom-quote-page #custom-sizing .dq-two{display:block}
.custom-quote-page #custom-sizing{font-family:var(--sans)}
.custom-quote-page #custom-sizing:is([data-sizing-kind=Necklace],[data-sizing-kind=Bracelet]) .ring-size-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.custom-quote-page [data-dq-pointer=true] :is(.ring-size-group,.purity-options) input:focus-visible+span{outline:none}
.custom-quote-page .cq-reference{grid-template-columns:1fr}
.custom-quote-page #custom-other-size{margin-top:18px}
.custom-quote-page .cq-ticks{position:relative;height:24px;margin-inline:9px}
.custom-quote-page .cq-ticks button{position:absolute;left:var(--tick-position);transform:translateX(-50%);font:400 10px/24px var(--sans);padding:0;color:#606958;white-space:nowrap}
.custom-quote-page .cq-ticks button:hover{text-decoration:underline}
.custom-quote-page .cq-upload-label{display:block;margin-bottom:8px;font:400 12px/1.6 var(--sans);color:var(--ink)}
.custom-quote-page .cq-upload{display:flex;align-items:center;flex-direction:column;gap:8px;width:100%;padding:28px 16px;border:1px dashed #b5bcad;background:#faf9f7;color:#69725e;font:400 12px/1.6 var(--sans);cursor:pointer}
.custom-quote-page .cq-upload strong{font-weight:400;color:#171917}
.custom-quote-page .cq-upload small{font-size:10px}
.custom-quote-page .cq-upload:hover,.custom-quote-page .cq-upload.drag-over{border-color:#171917;background:#f0f1eb}
.custom-quote-page #custom-files{list-style:none;padding:0;margin:16px 0;gap:12px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
.custom-quote-page #custom-files:not([hidden]){display:grid}
.custom-quote-page #custom-files li{position:relative;min-width:0;border:1px solid #dedfd8;background:#faf9f7;font:400 11px/1.5 var(--sans)}
.custom-quote-page .cq-file-preview{aspect-ratio:1;display:grid;place-items:center;overflow:hidden}
.custom-quote-page .cq-file-preview img{width:100%;height:100%;object-fit:contain;min-height:0;min-width:0}
.custom-quote-page .cq-file-fallback:not([hidden]){display:flex;flex-direction:column;align-items:center;gap:4px;color:#69725e;padding:12px;text-align:center}
.custom-quote-page .cq-file-fallback svg{width:26px;height:32px;margin-bottom:4px}
.custom-quote-page .cq-file-fallback strong{font-weight:400;letter-spacing:.08em}
.custom-quote-page .cq-file-fallback small{font-size:10px}
.custom-quote-page .cq-file-info{min-width:0;padding:10px;border-top:1px solid #dedfd8;background:#faf9f7}
.custom-quote-page .cq-file-info span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#171917}
.custom-quote-page .cq-file-remove{position:absolute;top:0;right:0;display:grid;place-items:center;width:32px;min-height:32px;padding:0;border:0;background:transparent;color:#fff;cursor:pointer}
.custom-quote-page .cq-file-remove svg{filter:drop-shadow(0 1px 1px #171917)}
@media(pointer:coarse){.custom-quote-page .cq-file-remove{width:40px;min-height:40px}}
.custom-quote-page .cq-preview svg{fill:none;color:var(--cq-metal,#858f7a)}
.custom-quote-page [data-custom-configurator] [aria-invalid=true]+span{border-color:#c57777}
.custom-quote-page [data-custom-configurator] .cq-ticks{gap:6px}
.custom-quote-page [data-custom-configurator] .dq-diamond_type{grid-template-columns:repeat(2,minmax(0,1fr))}
.custom-quote-page [data-custom-configurator] .dq-summary dd{max-width:65%}
@media(max-width:700px){
 .custom-quote-page .cq-section{width:calc(100% - 32px)}
 .custom-quote-page #custom-sizing:is([data-sizing-kind=Necklace],[data-sizing-kind=Bracelet]) .ring-size-options{grid-template-columns:repeat(3,minmax(0,1fr))}
 .custom-quote-page [data-custom-configurator] .scale-visual output{font-size:18px}
 .custom-quote-page .cq-ticks button{font-size:9px}
}

.custom-quote-page .cq-ticks button:first-child{transform:none}
.custom-quote-page .cq-ticks button:last-child{transform:translateX(-100%)}
