body.woocommerce-checkout .jp-gf-wrap{max-width:1200px;margin:30px auto 70px;padding:0 20px;font-family:inherit;color:#19202a}.jp-gf-head{margin-bottom:28px}.jp-gf-head span{color:#bd1e2d;font-size:12px;font-weight:800;letter-spacing:.18em}.jp-gf-head h1{margin:6px 0 8px;font-weight:800;font-size:38px}.jp-gf-head p{color:#667085}.jp-gf-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:start}.jp-gf-left,.jp-gf-right{display:grid;gap:22px;min-width:0}.jp-gf-card{background:#fff;border:1px solid #e3e7ed;border-radius:18px;padding:27px;box-shadow:0 8px 28px #11182709;min-width:0}.jp-gf-card h2{font-size:22px;font-weight:800;margin:0 0 22px}.jp-gf-company{font-size:20px;font-weight:800;margin:0 0 20px}.jp-gf-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.jp-gf-fields>div{min-width:0}.jp-gf-fields small,.jp-gf-confirm span{display:block;color:#687384;font-size:12px;margin-bottom:5px}.jp-gf-fields strong{display:block;overflow-wrap:anywhere;font-size:14px}.jp-gf-address{margin-top:23px;background:#f7f8fa;padding:18px;border-radius:12px}.jp-gf-address p{margin:8px 0}.jp-gf-address small,.jp-gf-help,.jp-gf-note{color:#6b7280;font-size:13px}.jp-gf-choice{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #dfe4ec;border-radius:12px;margin:10px 0;cursor:pointer}.jp-gf-choice:has(input:checked){border-color:#b91d2b;background:#fff9f9}.jp-gf-choice input{accent-color:#b91d2b;width:18px;height:18px;flex:none}.jp-gf-choice strong,.jp-gf-choice small{display:block}.jp-gf-choice small{font-size:13px;color:#697586;margin-top:3px}.jp-gf-card em{color:#c51d2c;font-style:normal}.jp-gf-card label[for=jp_po]{display:block;font-weight:600;font-size:14px;margin-bottom:8px}.jp-gf-card input#jp_po{width:100%;border:1px solid #ccd3dd;border-radius:10px;padding:14px 16px;min-height:52px;box-sizing:border-box;background:white;color:#161b22}.jp-gf-product{display:grid;grid-template-columns:65px minmax(0,1fr) auto;gap:12px;align-items:start;border-bottom:1px solid #eceef2;padding:14px 0}.jp-gf-product strong{font-size:14px}.jp-gf-product small{display:block;font-size:12px;color:#687384;margin-top:6px}.jp-gf-img img{width:65px;height:65px;object-fit:contain;border-radius:10px}.jp-gf-price{white-space:nowrap;font-size:14px;font-weight:700}.jp-gf-product dl{font-size:12px;color:#5b6470}.jp-gf-totals{padding-top:18px}.jp-gf-totals>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.jp-gf-totals .jp-gf-grand{padding-top:16px;border-top:1px solid #e7e8ea;font-size:18px;font-weight:800}.jp-gf-totals p{font-size:12px;color:#687384}.jp-gf-button{display:block;text-align:center;width:100%;background:#14171d;color:white!important;border:0;border-radius:12px;padding:19px 12px;font-weight:800;font-size:16px;cursor:pointer;text-decoration:none!important;box-sizing:border-box}.jp-gf-button:hover{background:#b91d2b}.jp-gf-button:disabled{opacity:.65;cursor:wait}.jp-gf-note{text-align:center}.jp-gf-alert{padding:14px 18px;background:#fff1f1;border-left:4px solid #b91d2b;border-radius:8px;margin:12px 0 20px}.jp-gf-thanks{text-align:center;max-width:680px;margin:30px auto;padding:55px 34px}.jp-gf-thanks h1{font-size:32px}.jp-gf-check{border-radius:100%;width:72px;height:72px;background:#e7f5ed;color:#148349;font-size:42px;line-height:72px;margin:0 auto 25px}.jp-gf-confirm{background:#f8f9fb;border-radius:12px;text-align:left;padding:22px;margin:28px 0;display:grid;gap:18px}.jp-gf-confirm strong{display:block}.jp-gf-link{max-width:270px;margin:auto}@media(max-width:880px){.jp-gf-grid{grid-template-columns:1fr}.jp-gf-head h1{font-size:30px}}@media(max-width:500px){body.woocommerce-checkout .jp-gf-wrap{padding:0 12px}.jp-gf-card{padding:18px}.jp-gf-fields{grid-template-columns:1fr}.jp-gf-product{grid-template-columns:50px 1fr}.jp-gf-img img{width:50px;height:50px}.jp-gf-price{grid-column:2}.jp-gf-thanks{padding:34px 20px}}
/* 1.2.1: compact checkout positioning */
body.woocommerce-checkout .site-content, body.woocommerce-checkout #content.site-content {padding-top:12px!important}
body.woocommerce-checkout .entry-content, body.woocommerce-checkout .woocommerce {margin-top:0}
body.woocommerce-checkout .jp-gf-wrap{margin-top:0!important;padding-top:0!important}
.jp-gf-head{margin-bottom:20px}
.jp-gf-head h1{margin-top:4px}
/* Cart-item details: the configurator generates long strings and WooCommerce dl tags. */
.jp-gf-product{grid-template-columns:64px minmax(0,1fr) auto;min-width:0;width:100%;box-sizing:border-box;align-items:start}
.jp-gf-product>div{min-width:0;max-width:100%}
.jp-gf-product strong,.jp-gf-product small,.jp-gf-product .jp-gf-meta,.jp-gf-product .jp-gf-meta *{overflow-wrap:anywhere;word-break:normal;white-space:normal;max-width:100%;box-sizing:border-box}
.jp-gf-product .jp-gf-meta{display:block;width:100%;margin-top:10px;font-size:12px;line-height:1.55}
.jp-gf-product .jp-gf-meta dl,.jp-gf-product .jp-gf-meta dl.variation{display:grid!important;grid-template-columns:minmax(0,1fr);gap:3px;float:none!important;margin:0!important;max-width:100%;width:100%;padding:10px 12px;background:#f6f7f9;border-radius:10px}
.jp-gf-product .jp-gf-meta dt,.jp-gf-product .jp-gf-meta dd,.jp-gf-product .jp-gf-meta dl.variation dt,.jp-gf-product .jp-gf-meta dl.variation dd{float:none!important;display:block!important;width:auto!important;max-width:100%;margin:0!important;padding:0!important;clear:both;overflow-wrap:anywhere}
.jp-gf-product .jp-gf-meta dd p{margin:0!important;overflow-wrap:anywhere}
.jp-gf-price{padding-left:8px;text-align:right}
@media(max-width:1150px){.jp-gf-product{grid-template-columns:55px minmax(0,1fr)}.jp-gf-product .jp-gf-price{grid-column:2;text-align:left;padding-left:0}}
@media(max-width:500px){.jp-gf-product{grid-template-columns:48px minmax(0,1fr)}.jp-gf-product .jp-gf-price{grid-column:2}}
/* Sticky shopping shortcut, not displayed for an empty cart. */
.jp-gf-cart-bar[hidden]{display:none!important}
.jp-gf-cart-bar{position:fixed;bottom:0;left:0;right:0;z-index:9999;background:#15191f;color:#fff;box-shadow:0 -6px 28px #0003;padding:10px 16px;box-sizing:border-box;font-family:inherit}
.jp-gf-cart-bar-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:49px}
.jp-gf-cart-bar-info{display:flex;align-items:center;gap:9px;font-size:15px}
.jp-gf-cart-bar-icon{font-size:22px}
.jp-gf-cart-bar-link{background:#c51f30;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:800;padding:13px 20px;border-radius:9px;white-space:nowrap;display:inline-flex;align-items:center;gap:9px}
.jp-gf-cart-bar-link:hover{background:#a51928;color:#fff!important}
body.jp-gf-has-sticky-cart{padding-bottom:82px!important}
@media(max-width:560px){.jp-gf-cart-bar{padding:9px 10px}.jp-gf-cart-bar-inner{gap:8px}.jp-gf-cart-bar-info{font-size:12px}.jp-gf-cart-bar-link{font-size:12px;padding:12px 11px}.jp-gf-cart-bar-icon{font-size:17px}}

/* 1.2.2: compact title and no surplus theme space above checkout. */
body.woocommerce-checkout .jp-gf-head > span{display:none!important}
body.woocommerce-checkout .jp-gf-head h1{margin:0 0 7px!important}
body.woocommerce-checkout .jp-gf-head{margin-bottom:22px!important}
body.woocommerce-checkout .site-content,body.woocommerce-checkout #content,body.woocommerce-checkout #primary,body.woocommerce-checkout .content-area,body.woocommerce-checkout .site-main,body.woocommerce-checkout article.page,body.woocommerce-checkout .entry-content{padding-top:0!important}
body.woocommerce-checkout .jp-gf-wrap{position:relative;top:-68px;margin-bottom:0!important}
@media(max-width:700px){body.woocommerce-checkout .jp-gf-wrap{top:-28px}}
/* In-page added-to-cart notification and a subtle fly-to-order-bar animation. */
#jp-gf-added-toast{position:fixed;right:20px;bottom:100px;z-index:100010;max-width:min(360px,calc(100vw - 40px));background:#17201c;color:#fff;padding:15px 20px;border-radius:12px;box-shadow:0 12px 35px #0004;font-size:14px;font-weight:600;opacity:0;transform:translateY(15px);pointer-events:none;transition:opacity .22s,transform .22s}
#jp-gf-added-toast.jp-gf-visible{opacity:1;transform:translateY(0)}
.jp-gf-fly-dot{position:fixed;top:0;left:0;z-index:100009;width:17px;height:17px;border-radius:50%;background:#c51f30;box-shadow:0 0 0 5px #c51f3040;pointer-events:none;transition:transform .6s cubic-bezier(.16,.85,.25,1),opacity .6s}

/* v1.2.3 — prominent consistent global order bar */
.jp-gf-cart-bar{background:#15191f;padding:12px 20px;box-shadow:0 -12px 35px rgba(16,22,32,.2);border-top:3px solid #bf1e2d;z-index:99999}
.jp-gf-cart-bar-inner{max-width:1180px;min-height:56px;justify-content:initial;gap:16px}
.jp-gf-cart-bar-icon{width:46px;height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.15);background:#292f37;border-radius:13px;color:white}
.jp-gf-cart-bar-info{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;line-height:1.35}
.jp-gf-cart-bar-title{font-size:12px;letter-spacing:.05em;color:#c5c9d0;text-transform:uppercase;font-weight:700}
.jp-gf-cart-bar-info strong{font-size:17px;color:#fff}
.jp-gf-cart-bar-link{margin-left:auto;border-radius:11px;padding:15px 24px;background:#c51f30;transition:background .2s,transform .2s;box-shadow:0 3px 10px #0002;min-height:48px;box-sizing:border-box}
.jp-gf-cart-bar-link:hover{background:#a91828;transform:translateY(-1px)}
.jp-gf-arrow{font-size:20px;font-weight:400;line-height:1}
body.jp-gf-has-sticky-cart{padding-bottom:105px!important}
/* Hide default cart shortcut in native WooCommerce add-to-cart alerts, keep success notice. */
.woocommerce-message a.wc-forward,.woocommerce-notices-wrapper .woocommerce-message a.wc-forward{display:none!important}
/* Terms: explicit choice, never pre-checked. */
.jp-gf-terms{background:#f7f8fa;border:1px solid #e3e7ed;border-radius:12px;padding:17px 18px;margin:20px 0 16px}
.jp-gf-terms-label{display:flex;align-items:flex-start;gap:12px;cursor:pointer;line-height:1.55;font-size:14px;font-weight:500;color:#1b2530}
.jp-gf-terms-label input[type=checkbox]{appearance:auto!important;accent-color:#c51f30;width:19px!important;height:19px!important;margin:2px 0 0!important;flex:0 0 19px;cursor:pointer}
.jp-gf-terms-label a{color:#b91d2b!important;text-decoration:underline;text-underline-offset:2px;font-weight:700}
.jp-gf-terms-label strong{color:#c51f30}
.jp-gf-terms-warning{display:block;margin-top:8px;color:#a53c32;font-size:12px}
@media(max-width:560px){.jp-gf-cart-bar{padding:10px 12px}.jp-gf-cart-bar-inner{gap:10px}.jp-gf-cart-bar-icon{width:39px;height:39px;flex-basis:39px}.jp-gf-cart-bar-title{font-size:10px}.jp-gf-cart-bar-info strong{font-size:13px}.jp-gf-cart-bar-link{padding:12px 13px;min-height:42px;font-size:12px}.jp-gf-arrow{font-size:16px}body.jp-gf-has-sticky-cart{padding-bottom:90px!important}}

/* v1.2.4: checkout starts immediately below the site header, no heading or large vertical gaps. */
body.woocommerce-checkout .jp-gf-wrap{top:-110px!important;margin-top:0!important;padding-top:0!important;}
body.woocommerce-checkout .jp-gf-head{margin:0 0 5px!important;padding:0!important;}
body.woocommerce-checkout .jp-gf-head p{margin:0!important;padding:0!important;line-height:1.3!important;}
body.woocommerce-checkout form.jp-gf-grid{margin:5px 0 0!important;padding-top:0!important;}
@media(max-width:700px){body.woocommerce-checkout .jp-gf-wrap{top:-70px!important;}}

/* v1.2.5: no heading, let the form start immediately below the real theme header. */
body.woocommerce-checkout .jp-gf-head{display:none!important}
body.woocommerce-checkout .jp-gf-wrap{top:0!important;position:relative;margin-top:0!important;padding-top:0!important;}
body.woocommerce-checkout .jp-gf-wrap > form.jp-gf-grid{margin:0!important;padding:0!important}
body.woocommerce-checkout .entry-header,body.woocommerce-checkout .page-header,body.woocommerce-checkout .page-title-wrapper,body.woocommerce-checkout .woocommerce-page-title{display:none!important}
body.woocommerce-checkout .entry-content,body.woocommerce-checkout article.page,body.woocommerce-checkout .woocommerce,body.woocommerce-checkout .site-main{margin-top:0!important;padding-top:0!important}

/* v1.2.7: allow computed header positioning; avoid theme-induced extra top spacing. */
body.woocommerce-checkout .jp-gf-wrap{margin-bottom:0;top:0;position:relative;}
body.woocommerce-checkout .woocommerce-notices-wrapper:empty{display:none!important}


/* v1.3.0 — wider checkout and tighter spacing below header */
body.woocommerce-checkout .jp-gf-wrap{max-width:1380px!important;width:min(1380px,calc(100% - 26px))!important;padding:0 8px!important;margin:5px auto 70px!important}
body.woocommerce-checkout .jp-gf-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:26px!important}
body.woocommerce-checkout .jp-gf-card{padding:28px!important}
body.woocommerce-checkout .site-content,body.woocommerce-checkout #content.site-content,body.woocommerce-checkout #content,body.woocommerce-checkout #primary,body.woocommerce-checkout .content-area,body.woocommerce-checkout .site-main,body.woocommerce-checkout .page-content,body.woocommerce-checkout article.page,body.woocommerce-checkout .entry-content,body.woocommerce-checkout .woocommerce{margin-top:0!important;padding-top:0!important}
body.woocommerce-checkout .site-main > *,body.woocommerce-checkout .entry-content > *,body.woocommerce-checkout article.page > *{margin-top:0!important}
@media(min-width:1280px){body.woocommerce-checkout .jp-gf-left{grid-template-columns:1fr;gap:20px}body.woocommerce-checkout .jp-gf-right{grid-template-columns:1fr;gap:20px}}
@media(max-width:1100px){body.woocommerce-checkout .jp-gf-wrap{width:min(calc(100% - 22px),1280px)!important;padding:0 6px!important}.jp-gf-grid{grid-template-columns:1fr!important}}
@media(max-width:700px){body.woocommerce-checkout .jp-gf-wrap{width:calc(100% - 16px)!important;padding:0 2px!important;margin:5px auto 55px!important}.jp-gf-card{padding:18px!important}}

/* v1.3.1: Inline remove control on the new order form. */
.jp-gf-product-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
.jp-gf-remove-item{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #e1e5ea;border-radius:8px;background:#fff;color:#a8202e;font:inherit;font-size:12px;font-weight:700;line-height:1.3;padding:7px 10px;cursor:pointer;white-space:nowrap}
.jp-gf-remove-item:hover,.jp-gf-remove-item:focus-visible{background:#fff1f2;border-color:#bb2534;color:#951a28}
.jp-gf-remove-item:disabled{opacity:.55;cursor:wait}
.jp-gf-remove-item span{font-size:19px;line-height:12px}
.jp-gf-remove-message{font-size:13px;border-radius:8px;padding:10px 12px;background:#eaf7ef;color:#21653b;margin-top:13px}
.jp-gf-remove-message[hidden]{display:none!important}
.jp-gf-remove-message.jp-gf-remove-error{background:#fff0f0;color:#9f1829}
@media(max-width:1150px){.jp-gf-product-actions{grid-column:2;align-items:flex-start}.jp-gf-price{padding-left:0}}
@media(max-width:500px){.jp-gf-product-actions{grid-column:2}}

/* v1.3.2: quantity controls beside the removal action */
.jp-gf-qty{display:inline-flex;align-items:center;justify-content:flex-end;gap:3px;white-space:nowrap}
.jp-gf-qty button,.jp-gf-qty input{box-sizing:border-box;height:34px;border:1px solid #dbe0e6;border-radius:7px;background:#fff;color:#17202a;text-align:center;font:inherit;font-size:14px}
.jp-gf-qty button{width:34px;cursor:pointer;font-size:18px;font-weight:600}
.jp-gf-qty button:hover{background:#f3f5f7;border-color:#aeb9c6}
.jp-gf-qty input{width:53px;padding:3px 1px;appearance:textfield;-moz-appearance:textfield}
.jp-gf-qty input::-webkit-inner-spin-button,.jp-gf-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.jp-gf-qty button:disabled,.jp-gf-qty input:disabled{opacity:.55;cursor:wait}
@media(max-width:1150px){.jp-gf-qty{justify-content:flex-start}}



/* v1.3.6: The product header uses a real CSS grid; configuration details sit
   in their own row. Nothing overlaps even with long multi-camera configurations. */
body.woocommerce-checkout .jp-gf-right .jp-gf-product{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) 112px minmax(100px,max-content)!important;
  grid-template-rows:auto auto auto;
  gap:6px 12px!important;
  align-items:start!important;
  padding:16px 0!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product>.jp-gf-img{
  grid-column:1!important;grid-row:1!important;
  min-width:0!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-img img{
  display:block!important;width:54px!important;height:54px!important;
  box-sizing:border-box!important;max-width:54px!important;
  padding:3px!important;border-radius:10px!important;
  object-fit:contain!important;border:1px solid #e8edf2!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product>div:nth-child(2){
  grid-column:2!important;grid-row:1!important;
  width:auto!important;max-width:none!important;min-width:0!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product>div:nth-child(2)>strong{
  display:block!important;font-size:14px!important;line-height:1.4!important;
  font-weight:750!important;margin:0 0 5px!important;overflow-wrap:anywhere!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product>div:nth-child(2)>small{
  display:block!important;color:#667085!important;font-size:11px!important;
  line-height:1.5!important;margin:0!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product>.jp-gf-meta{
  grid-column:2 / -1!important;grid-row:2!important;
  display:block!important;width:100%!important;max-width:100%!important;
  margin:4px 0 0!important;box-sizing:border-box!important;min-width:0!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product>.jp-gf-meta:empty{display:none!important}
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-meta dl,
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-meta dl.variation{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  padding:10px 12px!important;margin:0!important;gap:2px!important;
  border-radius:10px!important;background:#f7f8fa!important;
  font-size:11px!important;line-height:1.5!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-product-actions{
  display:contents!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-qty{
  grid-column:3!important;grid-row:1!important;
  display:grid!important;grid-template-columns:33px 44px 33px!important;
  width:110px!important;min-width:110px!important;max-width:110px!important;
  height:34px!important;min-height:34px!important;
  margin:0!important;align-self:start!important;justify-self:end!important;
  gap:0!important;border:1px solid #dfe3e9!important;border-radius:8px!important;
  overflow:hidden!important;box-sizing:border-box!important;background:#fff!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-qty button,
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-qty input{
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:32px!important;min-height:32px!important;
  margin:0!important;padding:0!important;line-height:32px!important;
  box-sizing:border-box!important;float:none!important;position:static!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  color:#17202a!important;text-align:center!important;box-shadow:none!important;
  font-size:14px!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-qty input{
  border-left:1px solid #dfe3e9!important;border-right:1px solid #dfe3e9!important;
  appearance:textfield;-moz-appearance:textfield;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-price{
  grid-column:4!important;grid-row:1!important;
  justify-self:end!important;align-self:start!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  padding:6px 0 0!important;margin:0!important;
  font-size:16px!important;font-weight:800!important;letter-spacing:0!important;
  line-height:1.35!important;color:#17202a!important;
  white-space:nowrap!important;text-align:right!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-remove-item{
  grid-column:4!important;grid-row:3!important;
  justify-self:end!important;align-self:start!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:0!important;height:30px!important;min-height:30px!important;
  padding:5px 11px!important;margin:2px 0 0!important;
  font-size:11px!important;font-weight:700!important;border-radius:8px!important;
  border:1px solid #e5e8ee!important;background:#fff!important;
}
/* Narrow screens: keep quantity and price together on their own line,
   with metadata below. No fixed-width columns force elements to overlap. */
@media(max-width:950px){
  body.woocommerce-checkout .jp-gf-right .jp-gf-product{
    grid-template-columns:54px minmax(0,1fr) minmax(95px,max-content)!important;
    gap:7px 10px!important;
  }
  body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-qty{
    grid-column:2!important;grid-row:2!important;justify-self:start!important;
  }
  body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-price{
    grid-column:3!important;grid-row:2!important;justify-self:end!important;
  }
  body.woocommerce-checkout .jp-gf-right .jp-gf-product>.jp-gf-meta{
    grid-column:2 / -1!important;grid-row:3!important;
  }
  body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-remove-item{
    grid-column:3!important;grid-row:4!important;
  }
}
@media(max-width:500px){
  body.woocommerce-checkout .jp-gf-right .jp-gf-product{
    grid-template-columns:48px minmax(0,1fr) minmax(90px,max-content)!important;
    gap:7px 9px!important;
  }
  body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-img img{
    width:48px!important;height:48px!important;
  }
  body.woocommerce-checkout .jp-gf-right .jp-gf-product .jp-gf-price{
    font-size:14px!important;
  }
}


/* 1.3.7: remove is a separate direct grid item, AFTER all configuration details. */
body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-remove-item{
  grid-column:2 / -1!important;
  grid-row:3!important;
  justify-self:end!important;
  align-self:start!important;
  position:static!important;
  clear:both!important;
  float:none!important;
  margin:6px 0 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  z-index:auto!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-meta{
  grid-row:2!important;
  grid-column:2 / -1!important;
}
@media(max-width:950px){
  body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-meta{grid-row:3!important;}
  body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-remove-item{grid-row:4!important;}
}

/* 1.3.8: dedicated footer below configuration; prevents row overlap. */
body.woocommerce-checkout .jp-gf-right .jp-gf-product {
  grid-template-rows:auto auto auto!important;
  align-items:start!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-meta {
  grid-column:2 / -1!important;
  grid-row:2!important;
  min-width:0!important;
  width:100%!important;
  margin:4px 0 0!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-product-footer {
  grid-column:1 / -1!important;
  grid-row:3!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  margin-top:7px!important;
  padding:0!important;
  position:static!important;
  clear:both!important;
  box-sizing:border-box!important;
}
body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-product-footer > .jp-gf-remove-item {
  position:static!important;
  float:none!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  height:30px!important;
  margin:0!important;
  padding:5px 11px!important;
  line-height:1.2!important;
}
@media(max-width:950px){
  body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-meta {grid-row:3!important;}
  body.woocommerce-checkout .jp-gf-right .jp-gf-product > .jp-gf-product-footer {grid-row:4!important;}
}


/* v1.3.9 - optional order comment */
body.woocommerce-checkout .jp-gf-comment-card .jp-gf-optional{font-family:inherit;font-weight:500;font-size:13px;color:#778294;white-space:nowrap;letter-spacing:0}
body.woocommerce-checkout .jp-gf-comment-card label[for="jp_gf_comment"]{display:block;font-size:14px;font-weight:600;margin:0 0 10px;color:#222936}
body.woocommerce-checkout .jp-gf-comment-card textarea#jp_gf_comment{display:block;width:100%;min-height:118px;max-width:100%;box-sizing:border-box;padding:13px 15px;border:1px solid #ccd3dd;border-radius:11px;background:#fff;color:#1c2330;font:inherit;font-size:14px;line-height:1.55;resize:vertical;box-shadow:none}
body.woocommerce-checkout .jp-gf-comment-card textarea#jp_gf_comment:focus{border-color:#b91d2b;outline:2px solid rgba(185,29,43,.12);outline-offset:0}
body.woocommerce-checkout .jp-gf-comment-card .jp-gf-help{line-height:1.55;margin:10px 0 0}
