/* Keep these rules independent of page-body classes and legacy cart layouts. */
.gf-quote-sending[hidden]{display:none!important}
.gf-quote-sending{position:relative;box-sizing:border-box;width:min(100%,360px);padding:36px 24px;border:1px solid #dcebf5;border-radius:24px;background:linear-gradient(155deg,#eef8ff,#fff 65%);box-shadow:0 24px 90px #0e1c2a40;text-align:center;outline:none}
.gf-quote-sending p{margin:18px 0 0;color:#284b63;font-size:17px;font-weight:600;line-height:1.5}
.gf-quote-sending-spinner{display:inline-block;width:36px;height:36px;border:3px solid #dcebf5;border-top-color:#30739d;border-radius:50%;animation:gf-quote-sending-spin .85s linear infinite}
@keyframes gf-quote-sending-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.gf-quote-sending-spinner{animation:none}}
.gf-quote-qty-shiny{position:relative;overflow:hidden;border-radius:12px}
.gf-quote-qty-shiny input{border-color:#4595c5!important;box-shadow:0 0 0 3px #4595c51a}
.gf-quote-qty-shiny::after{content:"";position:absolute;inset:24px 0 0;pointer-events:none;background:linear-gradient(110deg,transparent 25%,rgba(120,197,241,.4) 48%,rgba(255,255,255,.85) 52%,transparent 75%);transform:translateX(-120%);animation:gf-quote-quantity-shine 3s ease-in-out infinite}
@keyframes gf-quote-quantity-shine{0%,25%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}
.gf-quote-modal .gf-quote-dialog[hidden],.gf-quote-quantity-confirm[hidden]{display:none!important}
.gf-quote-quantity-confirm{position:relative;box-sizing:border-box;width:min(100%,480px);max-height:calc(100dvh - 32px);overflow:auto;padding:36px 30px;border:1px solid #dcebf5;border-radius:24px;background:linear-gradient(155deg,#eef8ff,#fff 55%);box-shadow:0 24px 90px #0e1c2a40;text-align:center;animation:gf-quote-confirm-enter .22s ease-out}
.gf-quote-quantity-symbol{display:inline-flex;align-items:baseline;justify-content:center;gap:5px;margin-bottom:20px;padding:14px 24px;border-radius:22px;background:#deeffa;color:#276c98;font-size:44px;font-weight:800;line-height:1.2}
.gf-quote-quantity-symbol span{font-size:16px;font-weight:600}
.gf-quote-quantity-confirm h2{margin:0 0 12px;color:#233e53;font-size:28px;line-height:1.2}
.gf-quote-quantity-confirm p{margin:0 0 24px;color:#607588;font-size:15px;line-height:1.5}
.gf-quote-quantity-actions{display:grid;gap:10px}
.gf-quote-quantity-actions button{width:100%;min-height:48px;padding:12px 16px;border:1px solid #30739d;border-radius:12px;background:#30739d;color:#fff;font:inherit;font-weight:700;line-height:1.4;cursor:pointer}
.gf-quote-quantity-actions [data-quantity-yes]{background:#fff;color:#276c98}
.gf-quote-quantity-actions button:hover{filter:brightness(.95)}
.gf-quote-quantity-actions button:focus-visible{outline:3px solid #79b9df;outline-offset:3px}
@keyframes gf-quote-confirm-enter{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.gf-quote-qty-shiny::after{animation:none;display:none}.gf-quote-quantity-confirm{animation:none}}
@media(max-width:480px){.gf-quote-quantity-confirm{padding:28px 20px}.gf-quote-quantity-confirm h2{font-size:25px}}
body #gf-product-cart-actions {
  display:grid!important;
  grid-template-columns:auto minmax(150px,1fr) minmax(170px,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0;
}
body #gf-product-cart-actions > .quantity,
body #gf-product-cart-actions > .gf-qty-control {
  float:none!important;
  margin:0!important;
}
body #gf-product-cart-actions .single_add_to_cart_button,
body #gf-product-cart-actions a.gf-personalization-scroll {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  float:none!important;
  margin:0!important;
  width:100%!important;
  min-width:0!important;
  height:52px!important;
  min-height:52px!important;
  padding:8px 12px!important;
  border-radius:12px!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.25!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body #gf-product-cart-actions a.gf-personalization-scroll {
  border:1px solid #30739d!important;
  background:#edf6fb!important;
  color:#30739d!important;
  box-shadow:none!important;
}
body #gf-product-cart-actions a.gf-personalization-scroll:hover {
  background:#dcecf6!important;
  color:#215875!important;
}
body #gf-product-cart-actions a.gf-personalization-scroll:focus-visible {
  outline:3px solid #30739d;
  outline-offset:3px;
}
#gf-personalization{scroll-margin-top:160px}
@media(max-width:560px) {
  body #gf-product-cart-actions {grid-template-columns:1fr!important;gap:10px!important}
  body #gf-product-cart-actions > .quantity,
  body #gf-product-cart-actions > .gf-qty-control,
  body #gf-product-cart-actions .single_add_to_cart_button,
  body #gf-product-cart-actions a.gf-personalization-scroll {grid-column:1!important;width:100%!important}
}

.gf-quote-artwork-note {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:10px 0 0;
  color:#526679;
  font-family:inherit;
  font-size:12.5px;
  line-height:1.55;
}
.gf-quote-info-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
  height:18px;
  margin-top:1px;
  border-radius:50%;
  background:var(--gf-blue);
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1;
}

/* Fit the complete quote form into a normal desktop viewport. */
@media(min-width:768px) {
  .gf-quote-modal {padding:16px}
  .gf-quote-dialog {
    max-height:calc(100dvh - 32px);
    padding:22px 30px 20px;
  }
  .gf-quote-close {top:14px;right:14px;width:40px;height:40px}
  .gf-quote-dialog-head {margin-bottom:14px}
  .gf-quote-eyebrow {margin-bottom:4px}
  .gf-quote-dialog h2 {margin-bottom:6px;font-size:34px;line-height:1.05}
  .gf-quote-dialog-head p {font-size:14px;line-height:1.45}
  .gf-quote-form-grid {gap:10px 15px}
  .gf-quote-form-grid label {gap:5px}
  .gf-quote-form-grid input {min-height:44px;padding:9px 12px}
  .gf-quote-form-grid textarea {min-height:76px;height:76px;padding:9px 12px}
  .gf-quote-selection {gap:7px;margin-top:10px}
  .gf-quote-selection span {min-height:32px;padding:4px 9px}
  .gf-quote-consent {margin-top:10px;line-height:1.4}
  .gf-quote-form-status {min-height:14px;margin-top:4px;line-height:1.2}
  .gf-quote-submit {min-height:46px;margin-top:4px}
}
