.ge-ra-quick-overlay[hidden],.ge-ra-quick-dialog [hidden]{display:none!important}
.ge-ra-quick-overlay{position:fixed;inset:0;z-index:999999;background:rgba(10,18,35,.65);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
body.ge-ra-quick-lock{overflow:hidden}
.ge-ra-quick-dialog,.ge-ra-quick-dialog *{box-sizing:border-box}
.ge-ra-quick-dialog{position:relative;background:#fff;color:#10192e;border-radius:16px;padding:24px;width:min(100%,510px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 70px rgba(0,0,0,.2);outline:none;text-align:left;font-size:15px;line-height:1.45}
.ge-ra-quick-dialog h2{font-size:22px;line-height:1.3;margin:0 34px 4px 0;color:#10192e;font-weight:750}.ge-ra-quick-product{color:#64748b;margin:0 0 20px}.ge-ra-quick-dialog h3{font-size:15px;font-weight:750;margin:18px 0 10px;color:#10192e}
.ge-ra-quick-close{position:absolute;right:14px;top:12px;border:0!important;background:transparent!important;color:#334155!important;font-size:27px!important;padding:4px 10px!important;cursor:pointer}
.ge-ra-quick-qty{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;font-weight:700}
.ge-ra-quick-step{display:flex;align-items:center;border:1px solid #cbd5e1;border-radius:9px;overflow:hidden}
.ge-ra-quick-step button{height:44px;width:42px;border:0!important;background:#fff!important;color:#152039!important;padding:0!important;font-size:20px!important}.ge-ra-quick-step input{width:65px!important;height:44px!important;border:0!important;text-align:center!important;padding:0!important;margin:0!important;font-size:16px!important;appearance:textfield}.ge-ra-quick-step input::-webkit-inner-spin-button{appearance:none}
.ge-ra-quick-options{display:grid;gap:10px}.ge-ra-quick-choice{width:100%;border:1px solid #d5dae1!important;background:#fff!important;color:#10192e!important;border-radius:10px!important;padding:13px!important;display:flex!important;justify-content:space-between;text-align:left!important;cursor:pointer;gap:12px;min-height:88px;box-shadow:none!important;font-size:14px!important;white-space:normal!important;text-transform:none!important}
.ge-ra-quick-choice>span:first-child{display:flex;flex-direction:column;gap:4px}.ge-ra-quick-choice strong{font-weight:750}.ge-ra-quick-choice small{color:#64748b;font-size:12px}.ge-ra-quick-choice b{color:#293a75;font-size:13px}.ge-ra-quick-choice.ge-ra-quick-selected{border-color:#293a75!important;box-shadow:inset 0 0 0 1px #293a75!important;background:#f5f7fc!important}.ge-ra-quick-check{width:24px;height:24px;border-radius:50%;background:#293a75;color:white;text-align:center;line-height:24px;flex:none;visibility:hidden}.ge-ra-quick-selected .ge-ra-quick-check{visibility:visible}
.ge-ra-quick-terms{margin:13px 0;background:#f3f6fa;padding:12px;border-radius:9px;font-size:13px}.ge-ra-quick-terms p{margin:8px 0}.ge-ra-quick-terms label{display:flex;gap:9px;align-items:flex-start;margin:12px 0 0;cursor:pointer}.ge-ra-quick-terms input{accent-color:#293a75;width:20px;height:20px;flex:none}
.ge-ra-quick-total{background:#f1f5f9;border-radius:10px;padding:15px;margin:17px 0}.ge-ra-quick-total>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:13px}.ge-ra-quick-total strong{font-weight:700}.ge-ra-quick-total .ge-ra-quick-grand{border-top:1px solid #cbd5e1;margin-top:10px;padding-top:12px;font-size:16px}.ge-ra-quick-grand strong{font-size:20px}.ge-ra-quick-total p{font-size:12px;color:#475569;margin:6px 0 0}
.ge-ra-quick-submit{display:block;width:100%;background:#0e172b!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:15px!important;font-size:15px!important;cursor:pointer}.ge-ra-quick-submit:disabled{opacity:.55;cursor:not-allowed}.ge-ra-quick-error{color:#991b1b;background:#fef2f2;padding:10px;border-radius:8px}.ge-ra-quick-success{margin-top:12px;background:#ecfdf5;color:#065f46;border-radius:8px;padding:12px}.ge-ra-quick-success a{color:#065f46;text-decoration:underline;font-weight:700}
.ge-ra-quick-dialog button:focus-visible,.ge-ra-quick-dialog input:focus-visible,.ge-ra-quick-dialog a:focus-visible{outline:3px solid #365b91!important;outline-offset:2px}
@media(max-width:520px){.ge-ra-quick-dialog{padding:18px;max-height:calc(100dvh - 18px)}.ge-ra-quick-overlay{padding:9px}}

/* Scoped catalog quick-add button: override store/theme WooCommerce CTA colors. */
body .woocommerce ul.products li.product button.ge-ra-quick-open,
body .woocommerce ul.products li.product .button.ge-ra-quick-open,
body .woocommerce .products .ge-ra-quick-open,
body button.ge-ra-quick-open,
body .button.ge-ra-quick-open {
  background:#0e172b!important; background-color:#0e172b!important;
  border-color:#0e172b!important; color:#fff!important;
  box-shadow:none!important; text-decoration:none!important;
}
body .woocommerce ul.products li.product button.ge-ra-quick-open:hover,
body .woocommerce ul.products li.product .button.ge-ra-quick-open:hover,
body .woocommerce .products .ge-ra-quick-open:hover,
body button.ge-ra-quick-open:hover,
body .button.ge-ra-quick-open:hover {
  background:#1b2b4c!important; background-color:#1b2b4c!important;
  border-color:#1b2b4c!important; color:#fff!important;
}
body .ge-ra-quick-open:focus-visible{outline:3px solid #365b91!important;outline-offset:2px}

/* Active complex-product quick add; the embedded frame renders existing adapter UI. */
.ge-ra-quick-embed-dialog{width:min(100%,700px);padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:calc(100dvh - 24px)}
.ge-ra-quick-embed-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 20px 12px;border-bottom:1px solid #e2e8f0;flex:none}
.ge-ra-quick-embed-head h2{margin:0 0 4px!important}.ge-ra-quick-embed-head p{font-size:13px;color:#64748b;margin:0}.ge-ra-quick-embed-head .ge-ra-quick-embed-close{position:static!important;flex:none}
.ge-ra-quick-embed-frame{width:100%;min-height:250px;height:min(75dvh,800px);border:0;background:#fff;flex:1;overflow:auto}
.ge-ra-quick-embed-wait,.ge-ra-quick-embed-error{padding:32px 20px;color:#475569;min-height:120px}
.ge-ra-quick-embed-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;border-top:1px solid #e2e8f0;padding:12px 20px;font-size:13px;flex:none}
.ge-ra-quick-embed-foot a{color:#233d70;font-weight:650;text-decoration:underline}
body .woocommerce ul.products li.product button.ge-ra-quick-embed-open,body .woocommerce .products .ge-ra-quick-embed-open,body button.ge-ra-quick-embed-open,body .button.ge-ra-quick-embed-open{background:#0e172b!important;border-color:#0e172b!important;color:#fff!important;box-shadow:none!important}
body button.ge-ra-quick-embed-open:hover,body .button.ge-ra-quick-embed-open:hover{background:#1b2b4c!important;color:#fff!important}
@media(max-width:520px){.ge-ra-quick-embed-head{padding:14px}.ge-ra-quick-embed-foot{padding:11px 14px}.ge-ra-quick-embed-frame{height:70dvh}}

@media(max-width:520px){.ge-ra-quick-embed-dialog{width:100%;max-height:calc(100dvh - 12px)}.ge-ra-quick-embed-frame{height:calc(100dvh - 175px);min-height:300px}}

.ge-ra-quick-cushions{margin:14px 0}.ge-ra-quick-cushions h3{margin:0 0 6px!important}.ge-ra-quick-cushions>p{font-size:12px;color:#64748b;margin:0 0 10px}.ge-ra-quick-cushion-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ge-ra-quick-cushion-choice{min-width:0;display:flex!important;flex-direction:column;align-items:flex-start!important;gap:3px!important;text-align:left}.ge-ra-quick-cushion-choice small{font-size:11px;font-weight:500;color:#475569}.ge-ra-quick-dialog{overflow-y:auto;max-height:min(88dvh,860px)}

/* Native cushion/rope color chips. Matches the existing product configurators. */
.ge-ra-quick-cushion-choice,.ge-ra-quick-rope-choice{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;min-height:76px!important}
.ge-ra-quick-cushion-choice>.ge-ra-quick-swatch{order:0}.ge-ra-quick-cushion-choice>strong{order:1}.ge-ra-quick-cushion-choice>small{order:2}
.ge-ra-quick-cushion-choice{display:grid!important;grid-template-columns:28px 1fr!important;grid-template-rows:auto auto!important;gap:2px 10px!important}
.ge-ra-quick-cushion-choice .ge-ra-quick-swatch{grid-column:1;grid-row:1 / 3}.ge-ra-quick-cushion-choice strong{grid-column:2;grid-row:1}.ge-ra-quick-cushion-choice small{grid-column:2;grid-row:2}
.ge-ra-quick-swatch{display:inline-block!important;width:27px;height:27px;border:1px solid #cbd5e1;border-radius:5px;flex:none;background:#f8fafc}
.ge-ra-quick-swatch[data-color="ivory"]{background:#f3f0dc}.ge-ra-quick-swatch[data-color="white"]{background:#fff}.ge-ra-quick-swatch[data-color="black"]{background:#171717}.ge-ra-quick-swatch[data-color="red"]{background:#c91f27}.ge-ra-quick-swatch[data-color="dark-brown"]{background:#42291d}.ge-ra-quick-swatch[data-color="brown"]{background:#895b36}.ge-ra-quick-swatch[data-color="blue"]{background:#1e4b94}.ge-ra-quick-swatch[data-color="pink"]{background:#efa1c5}.ge-ra-quick-swatch[data-color="none"]{background:linear-gradient(135deg,#fff 45%,#d81c1c 47%,#d81c1c 53%,#fff 55%)}
.ge-ra-quick-ropes{margin:16px 0}.ge-ra-quick-ropes h3{margin:0 0 5px!important}.ge-ra-quick-ropes>p{font-size:12px;color:#64748b;margin:0 0 10px}.ge-ra-quick-rope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ge-ra-quick-rope-choice .ge-ra-quick-choice-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.ge-ra-quick-rope-choice small{font-size:11px;color:#475569}.ge-ra-quick-rope-qty{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px}.ge-ra-quick-rope-qty input{width:92px;height:40px;border:1px solid #cbd5e1;border-radius:8px;text-align:center}.ge-ra-quick-rope-qty input:disabled{background:#f1f5f9;color:#94a3b8}


/* v0.68.3 - Shared Quick Add layout with sticky header, footer and product-page fallback. */
.ge-ra-quick-dialog {
  width:min(100%,640px);max-height:calc(100dvh - 28px);
  display:flex;flex-direction:column;padding:0!important;overflow:hidden!important;
  border-radius:16px;background:#fff;color:#10192e;
}
.ge-ra-quick-head {
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:18px 22px;border-bottom:1px solid #e2e8f0;flex:none;background:#fff;
}
.ge-ra-quick-head h2 {font-size:20px;line-height:1.25;margin:0!important;font-weight:750;color:#10192e;}
.ge-ra-quick-head .ge-ra-quick-product {font-size:13px;color:#64748b;margin:5px 0 0;}
.ge-ra-quick-head .ge-ra-quick-close {
  position:static!important;flex:none;line-height:1!important;margin:0!important;
  padding:3px 7px!important;font-size:26px!important;
}
.ge-ra-quick-scroll {overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:18px 22px;}
.ge-ra-quick-scroll .ge-ra-quick-qty {margin:0 0 17px;}
.ge-ra-quick-scroll h3 {font-size:14px;margin:16px 0 9px;}
.ge-ra-quick-scroll .ge-ra-quick-qty + h3 {margin-top:0;}
.ge-ra-quick-foot {padding:14px 22px 18px;border-top:1px solid #e2e8f0;background:#fff;flex:none;}
.ge-ra-quick-foot .ge-ra-quick-total {
  margin:0 0 12px;padding:12px 14px;max-height:164px;overflow:auto;
  border-radius:10px;background:#f1f5f9;
}
.ge-ra-quick-foot .ge-ra-quick-total > div {font-size:12px;margin-bottom:6px;}
.ge-ra-quick-foot .ge-ra-quick-total .ge-ra-quick-grand {
  margin:8px 0 0;padding-top:8px;font-size:16px;
}
.ge-ra-quick-foot .ge-ra-quick-total .ge-ra-quick-grand strong {font-size:20px;}
.ge-ra-quick-foot .ge-ra-quick-submit {font-size:15px!important;padding:13px 16px!important;}
.ge-ra-quick-product-link {
  display:block;text-align:center;font-size:12px;line-height:1.4;
  color:#274b7d!important;text-decoration:underline!important;
  font-weight:500;margin-top:10px;
}
.ge-ra-quick-choice.ge-ra-quick-selected {
  border-color:#243d70!important;box-shadow:inset 0 0 0 1px #243d70!important;
  background:#f5f7fc!important;
}
.ge-ra-quick-check {background:#243d70;}
.ge-ra-quick-choice b {color:#243d70;}
.ge-ra-quick-dialog button:focus-visible,.ge-ra-quick-product-link:focus-visible {
  outline:3px solid #366197!important;outline-offset:2px;
}
@media(max-width:540px){
  .ge-ra-quick-overlay{padding:7px;}
  .ge-ra-quick-dialog{width:100%;max-height:calc(100dvh - 14px);border-radius:12px;}
  .ge-ra-quick-head,.ge-ra-quick-scroll{padding:14px;}
  .ge-ra-quick-foot{padding:12px 14px;}
  .ge-ra-quick-head h2{font-size:18px;}
  .ge-ra-quick-foot .ge-ra-quick-total{max-height:115px;}
}
