/* Modern Popup: scoped exclusively to the five opt-in variation selectors. */
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"]{width:min(780px,100%);padding:26px;border-radius:22px;background:#fff;color:#13234b;box-sizing:border-box;box-shadow:0 22px 65px #0b1c3b55}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-title{font-size:clamp(19px,3vw,27px);line-height:1.3;margin-bottom:5px;color:inherit}
.shopnestcentral-modern-subtitle{margin:0 0 20px;color:#69768d;font-size:14px}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-option{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:0;margin:0;padding:15px;border:1.5px solid #dce4f2;border-radius:16px;background:#fff;cursor:pointer;box-sizing:border-box}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-option:has(input:checked){border-color:#2468e8;background:#f2f7ff;box-shadow:0 0 0 1px #2468e8}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-media{width:100%;height:175px;flex:none;display:flex;justify-content:center;align-items:center;background:#f7f9fd;border-radius:12px;position:relative;overflow:hidden}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-thumb{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center;flex:none;border:0;border-radius:0;background:transparent;padding:8px;box-sizing:border-box}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;font-weight:650}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-option>input{position:absolute;left:15px;bottom:19px;accent-color:#2468e8;z-index:1}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-option>strong{font-size:20px;color:#174bd3;padding-left:23px}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-stock{display:inline-block;align-self:flex-start;border-radius:99px;background:#dcfce7;color:#087044;font-size:12px;padding:3px 9px}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-stock.is-out-of-stock{background:#fee2e2;color:#991b1b}
.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-proceed{background:#ff8b18;color:white;border-radius:40px;font-size:16px;padding:16px}
.shopnestcentral-quickbuy-design-modern-featured-banner{background:linear-gradient(145deg,#09203f,#153f6b)!important;color:white!important}
.shopnestcentral-quickbuy-design-modern-featured-banner .shopnestcentral-modern-subtitle{color:#d2e4fa}
.shopnestcentral-quickbuy-design-modern-featured-banner .shopnestcentral-quickbuy-option{color:#172554}
.shopnestcentral-quickbuy-design-modern-featured-banner .shopnestcentral-quickbuy-proceed{background:#ffc331!important;color:#14213d!important}
.shopnestcentral-quickbuy-design-modern-featured-banner .shopnestcentral-quickbuy-secure-note{color:#e5eef9}
.shopnestcentral-quickbuy-design-modern-featured-banner .shopnestcentral-quickbuy-close{color:white}
.shopnestcentral-quickbuy-design-modern-modern-minimal{background:linear-gradient(140deg,#fff,#f4f0ff)!important}
.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-options,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-options{display:flex!important;flex-direction:column}
.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-option,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-option{display:grid!important;grid-template-columns:86px 20px minmax(0,1fr) auto;align-items:center;gap:12px}
.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-media,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-media{height:92px;width:86px;grid-column:1}
.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-option>input,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-option>input{position:static;grid-column:2}
.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-copy,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-copy{grid-column:3}
.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-option>strong,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-option>strong{grid-column:4;padding:0}
.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-proceed{background:#6429d9!important}
.shopnestcentral-quickbuy-design-modern-detailed-features{border-left:9px solid #0767bd!important;background:linear-gradient(90deg,#e7f4ff,#fff 30%)!important}
.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-proceed{background:#0767bd!important}
.shopnestcentral-quickbuy-design-modern-thumbnail-carousel .shopnestcentral-quickbuy-options{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:8px}
.shopnestcentral-quickbuy-design-modern-thumbnail-carousel .shopnestcentral-quickbuy-option{flex:0 0 min(245px,75%);scroll-snap-align:start}
.shopnestcentral-modern-carousel-nav{display:flex;justify-content:flex-end;gap:9px;margin-bottom:10px}
.shopnestcentral-modern-carousel-nav button{border:1px solid #dbe4f2;background:white;color:#1e40af;border-radius:50%;width:36px;height:36px;font-size:25px;cursor:pointer}
.shopnestcentral-quickbuy-design-modern-thumbnail-carousel .shopnestcentral-quickbuy-proceed{background:#ff8200!important}
@media(max-width:550px){.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"]{padding:18px;width:100%;max-height:92dvh}.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-options{gap:9px}.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-option{padding:9px}.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-media{height:120px}.shopnestcentral-quickbuy-dialog[class*="shopnestcentral-quickbuy-design-modern-"] .shopnestcentral-quickbuy-option>strong{font-size:16px}.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-option,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-option{grid-template-columns:65px 17px minmax(0,1fr)!important}.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-media,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-media{width:65px;height:80px}.shopnestcentral-quickbuy-design-modern-modern-minimal .shopnestcentral-quickbuy-option>strong,.shopnestcentral-quickbuy-design-modern-detailed-features .shopnestcentral-quickbuy-option>strong{grid-column:3}.shopnestcentral-quickbuy-design-modern-thumbnail-carousel .shopnestcentral-quickbuy-option{flex-basis:76%}}

/* Simple product designs 1-15: scoped to popup and admin preview. */
.shopnestcentral-simple-confirm[class*="modern-simple-"] .shopnestcentral-payment-dialog{width:min(640px,calc(100vw - 24px));max-height:92dvh;overflow-y:auto;border-radius:22px;padding:22px;background:#fff;box-sizing:border-box}
.shopnestcentral-simple-confirm[class*="modern-simple-"] .shopnestcentral-gallery-main{width:100%;height:260px;object-fit:contain;background:#f2f6ff;border-radius:15px}
.shopnestcentral-simple-confirm[class*="modern-simple-"] .shopnestcentral-gallery-thumb img{object-fit:contain}
.shopnestcentral-simple-confirm[class*="modern-simple-"] .shopnestcentral-payment-action{display:block;text-align:center;border-radius:30px;padding:15px;color:#fff;text-decoration:none}
.shopnestcentral-simple-confirm[class*="modern-simple-"] .shopnestcentral-original-price{margin-right:12px;color:#6b7280;text-decoration:line-through}
.shopnestcentral-simple-confirm[class*="modern-simple-"] .shopnestcentral-current-price{font-size:24px;color:#1550c6;font-weight:800}
.shopnestcentral-simple-confirm-design-modern-simple-2 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-6 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-9 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-12 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-15 .shopnestcentral-payment-dialog{background:linear-gradient(145deg,#102c54,#061b37);color:white}
.shopnestcentral-simple-confirm-design-modern-simple-4 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-10 .shopnestcentral-payment-dialog{background:linear-gradient(140deg,#faf0ff,#f0f6ff)}
.shopnestcentral-simple-confirm-design-modern-simple-5 .shopnestcentral-payment-dialog{box-shadow:none;border:1px solid #e5e7eb}
.shopnestcentral-simple-confirm-design-modern-simple-8 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-13 .shopnestcentral-payment-dialog{border-top:7px solid #1c65de}
.shopnestcentral-simple-confirm-design-modern-simple-3 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-11 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-14 .shopnestcentral-payment-dialog{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 20px;align-items:center}
.shopnestcentral-simple-confirm-design-modern-simple-3 .shopnestcentral-gallery,.shopnestcentral-simple-confirm-design-modern-simple-11 .shopnestcentral-gallery,.shopnestcentral-simple-confirm-design-modern-simple-14 .shopnestcentral-gallery{grid-row:span 5}
.shopnestcentral-simple-confirm-design-modern-simple-7 .shopnestcentral-gallery-main{height:340px}
.shopnestcentral-simple-confirm-design-modern-simple-12 .shopnestcentral-gallery-main{height:320px}
.shopnestcentral-simple-confirm-design-modern-simple-15 .shopnestcentral-payment-dialog{border:1px solid #38d9ff;box-shadow:0 15px 55px #00cfff33}
.sn-preview-thumbs{display:flex;gap:7px;overflow-x:auto;justify-content:center;margin:8px 0}.sn-thumb{border:1px solid #d6e0ee;background:#fff;border-radius:7px;padding:3px;flex:0 0 48px}.sn-thumb img{width:45px;height:45px;object-fit:contain}.sn-preview-price{font-weight:800;font-size:20px;margin:8px}
.shopnestcentral-simple-preview[class*="modern-simple-"] .shopnestcentral-simple-preview-image{width:100%;height:180px;object-fit:contain}
.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-2,.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-6,.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-9,.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-12,.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-15{background:#102b4d;color:#fff}
.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-3,.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-11,.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-14{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-4,.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-10{background:linear-gradient(130deg,#f5e9ff,#eaf5ff)}
.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-8,.shopnestcentral-simple-preview.shopnestcentral-simple-confirm-design-modern-simple-13{border-top:6px solid #1765d6}
@media(max-width:540px){.shopnestcentral-simple-confirm-design-modern-simple-3 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-11 .shopnestcentral-payment-dialog,.shopnestcentral-simple-confirm-design-modern-simple-14 .shopnestcentral-payment-dialog{display:block}.shopnestcentral-simple-confirm[class*="modern-simple-"] .shopnestcentral-gallery-main{height:210px}}
/* Gift-card images must fit fully, including their edges. */
.shopnestcentral-quickbuy-dialog .shopnestcentral-quickbuy-thumb,.shopnestcentral-modern-admin-preview img,.shopnestcentral-admin-preview .shopnestcentral-quickbuy-thumb{object-fit:contain!important;background:#f5f7fb}
.shopnestcentral-quickbuy-dialog[class*="modern-"] .shopnestcentral-quickbuy-thumb{width:100%;max-height:190px;object-fit:contain!important}
