/* Offer first; preserve the destination and payment state machine. */
.cpo-commerce-page{--commerce-ink:#0c192d;--commerce-paper:#f9f6ee;--commerce-orange:#ff821e;background:var(--commerce-paper);color:var(--commerce-ink)}
.cpo-commerce-intro{padding:24px 0 18px;background:var(--commerce-paper)}
.cpo-commerce-intro .crea-container{max-width:1120px}
.commerce-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:.82rem;margin-bottom:16px}
.commerce-breadcrumb a{color:#334f70;text-decoration:underline;text-underline-offset:3px}
.commerce-heading{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:32px;align-items:center}
.commerce-heading h1{font-size:clamp(1.9rem,3.4vw,3.1rem);line-height:1.08;letter-spacing:-.035em;max-width:25ch;margin:10px 0 14px;color:#0c192d;font-weight:800}
.commerce-heading p{font-size:1rem;line-height:1.55;max-width:68ch;margin:0;color:#33465f}
.commerce-heading .offer-network{display:inline-flex;align-items:center;gap:8px;font-size:.88rem;font-weight:700}
.commerce-art{max-height:160px;overflow:hidden;border-radius:18px}
.commerce-art img{width:100%;height:160px;object-fit:cover}
.cpo-commerce.order-shell{width:calc(100% - 48px);max-width:1120px;margin:0 auto 36px;gap:24px;align-items:start;padding:0;scroll-margin-top:90px}
.cpo-commerce .order-main{background:#fff;color:#0c192d;border:1px solid #bfc7d1;border-radius:18px;padding:24px;box-shadow:0 6px 0 #0c192d0c;min-width:0}
.cpo-commerce[data-commerce-phase="1"]{grid-template-columns:minmax(0,1fr);max-width:880px}
.cpo-commerce[data-cart-empty="true"] .summary-card,.cpo-commerce[data-commerce-phase="1"] .summary-card{display:none!important}
.cpo-commerce[data-cart-empty="true"]{grid-template-columns:minmax(0,1fr)}
.cpo-commerce .steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 22px;counter-reset:commerce-step}
.cpo-commerce .steps span{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #c5ced8;border-radius:8px;background:#f4f6f8;color:#435369;min-height:44px;padding:8px 10px;font-size:.85rem;line-height:1.2}
.cpo-commerce .steps span::before{counter-increment:commerce-step;content:counter(commerce-step);display:inline;font-size:inherit;background:none;border:0;margin:0;padding:0;width:auto;height:auto;color:inherit}
.cpo-commerce .steps span.active{background:#eaf0ff;color:#1943a5;border-color:#b3c5ef}
.cpo-commerce .steps span[aria-current="step"]{color:#fff;background:#0c192d;border-color:#0c192d;font-weight:750}
.cpo-commerce .steps span[aria-disabled="true"]{opacity:1;color:#687588;background:#f7f8fa}
.cpo-commerce [data-step-panel]{border:0;box-shadow:none;padding:0;border-radius:0;background:transparent}
.cpo-commerce [data-step-panel]>h2{margin:0 0 8px;font-size:1.55rem;letter-spacing:-.02em;color:#0c192d}
.cpo-commerce [data-step-panel]>p{margin:0 0 16px;color:#435369;line-height:1.5}
.cpo-commerce .package-price-status{min-height:1.5em;font-size:.88rem}
.cpo-commerce-page .cpo-commerce.order-shell[data-commerce-phase="1"] [data-step-panel="package"]{display:block!important}
.cpo-commerce-page .cpo-commerce.order-shell[data-commerce-phase="1"] [data-step-panel]:not([data-step-panel="package"]){display:none!important}
.cpo-commerce[data-commerce-phase="1"] [data-selected-destination],.cpo-commerce[data-commerce-phase="1"] #closePrimaryPackageBtn{display:none}
.cpo-commerce[data-commerce-phase="1"] .primary-package-panel[hidden]{display:block!important}
.cpo-commerce-page .cpo-commerce.order-shell[data-commerce-phase="3"] [data-step-panel="email"]{display:block!important}
.cpo-commerce-page .cpo-commerce.order-shell[data-commerce-phase="3"] [data-step-panel]:not([data-step-panel="email"]){display:none!important}
.cpo-commerce .preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.cpo-commerce .preset{min-width:0;padding:12px 6px;min-height:70px;border:1px solid #b8c4d3;border-radius:10px;box-shadow:none;background:white;color:#0c192d}
.cpo-commerce .preset strong{font-size:1.2rem;line-height:1.2;color:inherit}
.cpo-commerce .preset span{font-size:.76rem;line-height:1.2;color:#48576b}
.cpo-commerce .preset.active{background:#fff3e8;border:2px solid #ad4d00;color:#6d3000}
.cpo-commerce .preset-custom[hidden]{display:none!important}
.cpo-commerce .quantity-custom{display:flex;gap:12px;margin:0 0 16px}
.cpo-commerce .quantity-custom input[type="number"]{width:180px;max-width:100%;min-height:44px}
.cpo-commerce .quantity-custom input[hidden]{display:none!important}
.cpo-commerce .order-label{margin:12px 0 6px;font-size:.88rem;font-weight:650;color:#24364e}
.cpo-commerce .tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.cpo-commerce .tier{display:flex;flex-direction:column;gap:6px;align-items:flex-start;justify-content:space-between;min-height:84px;padding:12px;border:1px solid #b8c4d3;border-radius:10px;background:#fff;color:#0c192d;box-shadow:none}
.cpo-commerce .tier small{font-size:.9rem;line-height:1.3;color:inherit}
.cpo-commerce .tier.active{background:#eaf0ff;border:2px solid #194bd7}
.cpo-commerce .tier.is-unavailable{background:#f4f5f7;color:#5d6879;border-color:#d3d9e1;opacity:1;cursor:not-allowed}
.cpo-commerce .primary-package-preview{padding:16px;margin:16px 0;border:1px solid #cad2dc;border-radius:10px;background:#f5f7fa;color:#0c192d;box-shadow:none}
.cpo-commerce .primary-package-preview strong{display:block;color:#0c192d;font-size:1.7rem;line-height:1.2;margin:4px 0}
.cpo-commerce .primary-package-preview small{display:block;font-size:.8rem;color:#435369;line-height:1.45}
.cpo-commerce .btn.primary,.cpo-commerce #checkoutBtn{background:#ff821e!important;color:#0c192d!important;border:1.5px solid #0c192d!important;border-radius:9px!important;box-shadow:2px 3px 0 #0c192d!important;font-size:.95rem;font-weight:750;min-height:46px;text-shadow:none}
.cpo-commerce .btn.primary:hover,.cpo-commerce #checkoutBtn:hover{background:#ffa259!important}
.cpo-commerce .btn.primary:disabled,.cpo-commerce #checkoutBtn:disabled{background:#e9edf2!important;color:#526076!important;border-color:#a8b5c5!important;box-shadow:none!important;opacity:1;cursor:not-allowed}
.cpo-commerce .btn.secondary{background:#fff!important;color:#0c192d!important;border:1px solid #8a99ad!important;border-radius:9px;min-height:44px;box-shadow:none!important}
.cpo-commerce button:focus-visible,.cpo-commerce input:focus-visible,.cpo-commerce a:focus-visible{outline:3px solid #194bd7;outline-offset:3px}
.cpo-commerce .commerce-terms{border-top:1px solid #e0e4e9;margin-top:20px;padding-top:14px;color:#48576b;font-size:.8rem;line-height:1.5}
.cpo-commerce .commerce-terms p{margin:0 0 6px}
.cpo-commerce .commerce-terms a{color:#1943a5;text-decoration:underline;text-underline-offset:3px}
.cpo-commerce .target-card input,.cpo-commerce .email-step-card input{min-width:0}
.cpo-commerce .target-input-row,.cpo-commerce .email-step-row{display:flex;gap:10px}
.cpo-commerce .target-input-row input,.cpo-commerce .email-step-row input{flex:1}
.cpo-commerce .summary-card{border:1px solid #bfc7d1;border-radius:16px;box-shadow:0 6px 0 #0c192d0c;background:#fff;color:#0c192d}
.cpo-commerce .summary-head h2{color:#0c192d}
.cpo-commerce[data-commerce-phase="3"] .summary-body{display:none}
.cpo-commerce[data-commerce-phase="4"] .summary-body{display:block}
.cpo-commerce .primary-package-actions{display:flex;gap:10px;flex-wrap:wrap}
.cpo-commerce .primary-package-actions .btn.primary{flex:1}
.commerce-expanded-guide{margin:24px auto;padding:20px;border:1px solid #c5ccd5;border-radius:14px;background:#fff}
.commerce-expanded-guide>summary{font-weight:700;cursor:pointer;font-size:1.05rem}
.cpo-commerce-page .crea-related .related-grid{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.cpo-commerce-page .crea-related h2,.cpo-commerce-page .crea-faq h2{text-transform:none}
.header-menu .navbar .crea-account-cta{background:#fff;color:#0c192d;border:1px solid #b7c2d0;box-shadow:none}
.home-buying-guide{margin-top:24px;border-top:1px solid #c8cdd4;padding-top:18px}
.home-buying-guide>summary{cursor:pointer;font-size:1.25rem;font-weight:700;color:#0c192d}
.store-home .cpo-featured{padding-top:36px;padding-bottom:36px}
.store-home .cpo-featured .home-cards{margin-bottom:0}
@media(max-width:767px){
.cpo-commerce-intro{padding:16px 0 14px}.commerce-breadcrumb{margin-bottom:10px;font-size:.76rem}.commerce-heading{grid-template-columns:1fr;gap:0}.commerce-heading h1{font-size:1.95rem;max-width:none;margin:8px 0 10px}.commerce-heading p{font-size:.93rem;line-height:1.45}.commerce-art{display:none}
.cpo-commerce.order-shell{width:calc(100% - 24px);gap:14px;margin-bottom:24px}.cpo-commerce .order-main{padding:16px 12px;border-radius:13px}.cpo-commerce .steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:18px}.cpo-commerce .steps span{font-size:.73rem;padding:6px 3px;min-height:38px;gap:3px}.cpo-commerce .steps span::before{content:counter(commerce-step)}
.cpo-commerce [data-step-panel]>h2{font-size:1.3rem}.cpo-commerce [data-step-panel]>p{font-size:.88rem;margin-bottom:10px}.cpo-commerce .preset-grid{gap:5px;margin:12px 0}.cpo-commerce .preset{min-height:62px;padding:9px 3px}.cpo-commerce .preset strong{font-size:1.05rem}.cpo-commerce .preset span{font-size:.65rem}.cpo-commerce .tiers{gap:6px;margin:12px 0}.cpo-commerce .tier{min-height:78px;padding:10px 7px;font-size:.82rem}.cpo-commerce .tier small{font-size:.79rem}.cpo-commerce .primary-package-preview{padding:12px}.cpo-commerce .primary-package-preview strong{font-size:1.5rem}
.cpo-commerce .target-input-row,.cpo-commerce .email-step-row{flex-direction:column}.cpo-commerce .summary-card{position:static!important;bottom:auto!important;margin:0;width:100%}.cpo-commerce .primary-package-actions{flex-direction:column}
.header-menu .navbar-brand img{width:158px!important;max-width:158px!important;height:auto!important}.store-home .cpo-cover-art{max-height:280px;margin-top:14px}.store-home .cpo-cover-photo{max-height:270px;object-fit:cover}.store-home .cpo-featured{padding:24px 0}.store-home .home-steps{grid-template-columns:1fr 1fr;gap:8px}.store-home .home-steps li{padding:12px;font-size:.86rem}
}
@media(prefers-reduced-motion:reduce){.cpo-commerce *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Explicit contrast and positioning override the existing theme's selected states. */
.cpo-commerce-page .order-shell.cpo-commerce .steps span::before{position:static!important;inset:auto!important;transform:none!important;flex:none;display:inline!important;line-height:inherit!important}
.cpo-commerce-page .order-shell.cpo-commerce .preset{box-shadow:none!important}
.cpo-commerce-page .order-shell.cpo-commerce .preset.active{background:#fff3e8!important;color:#6d3000!important}
.cpo-commerce-page .order-shell.cpo-commerce .preset.active strong,.cpo-commerce-page .order-shell.cpo-commerce .preset.active span{color:#6d3000!important}
.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier{color:#0c192d!important;box-shadow:none!important}
.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier.active{background:#eaf0ff!important;color:#0c192d!important}
.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier span,.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier small{color:inherit!important;text-shadow:none!important}
.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier.is-unavailable{color:#5d6879!important}
.cpo-commerce .package-price-status:empty{display:none!important}
.cpo-commerce .quantity-custom{align-items:center;justify-content:space-between}
.cpo-commerce .quantity-custom .order-label{margin:0;flex:1}
.cpo-commerce .quantity-custom input[type="number"]{width:150px;flex:none}
.cpo-commerce [data-primary-package-panel]{margin-top:0!important}
@media(max-width:767px){.cpo-commerce .steps{margin-bottom:16px}.cpo-commerce .quantity-custom{margin-bottom:10px}.cpo-commerce .primary-package-preview{margin:12px 0}.cpo-commerce .preset-grid{padding:0!important;border:0!important}.cpo-commerce-intro{padding-bottom:8px}}

.cpo-commerce-page .order-shell.cpo-commerce .primary-package-preview{display:block!important;text-align:left}
.cpo-commerce-page .order-shell.cpo-commerce .primary-package-preview>span{display:block}
.cpo-commerce-page .order-shell.cpo-commerce .primary-package-preview>strong{display:block;margin:5px 0;color:#0c192d!important}
.cpo-commerce-page .order-shell.cpo-commerce .primary-package-preview>small{display:block;font-weight:400!important;max-width:none}
.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier::before,.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier::after{display:none!important}

.header-menu a.crea-account-cta{background:#fff!important;color:#0c192d!important;-webkit-text-fill-color:#0c192d!important;border:1px solid #8a99ad!important;box-shadow:none!important}
.header-menu a.crea-account-cta span,.header-menu a.crea-account-cta i{color:#0c192d!important;-webkit-text-fill-color:#0c192d!important}
.header-menu a.crea-account-cta:hover{background:#f3f5f8!important}
.crea-blog-post .blog-context-guide{margin:32px 0;padding:24px;border:1px solid #cad2dc;border-left:4px solid #ff821e;border-radius:12px;background:#f9f6ee;color:#0c192d}
.crea-blog-post .blog-context-guide h2{margin:0 0 12px;font-size:1.35rem;color:#0c192d}
.crea-blog-post .blog-context-guide a{color:#1943a5;text-decoration:underline;text-underline-offset:3px;font-weight:650}

/* Narrow-screen controls: preserve complete labels and confirmed service terms. */
.cpo-commerce-page .order-shell.cpo-commerce .preset>span,
.cpo-commerce-page .order-shell.cpo-commerce .tier>span,
.cpo-commerce-page .order-shell.cpo-commerce .tier>small{min-width:0;max-width:100%;overflow-wrap:anywhere}
.cpo-commerce-page .order-shell.cpo-commerce .primary-package-preview [data-price-retry]{display:block;margin-top:10px}
@media(max-width:400px){
.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier{padding-left:5px;padding-right:5px}
.cpo-commerce-page .order-shell.cpo-commerce .tiers .tier>span{font-size:clamp(14px,4vw,16px);line-height:1.25}
}
@media(max-width:575.98px){
.cpo-commerce-page .order-shell.cpo-commerce[data-service="comprar-twitch-live-views"] .tiers{grid-template-columns:minmax(0,1fr)}
.cpo-commerce-page .order-shell.cpo-commerce[data-service="comprar-twitch-live-views"] .tier{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;min-height:0}
.cpo-commerce-page .order-shell.cpo-commerce[data-service="comprar-twitch-live-views"] .tier>span{font-size:15px}
.cpo-commerce-page .order-shell.cpo-commerce[data-service="comprar-twitch-live-views"] .tier>[data-live-duration]{grid-column:1/-1;font-weight:500;line-height:1.4}
}
/* The mobile navigation drawer has a dark background in both theme modes. */
#offcanvasNavbar2 .crea-brand-logo .crea-logo-light{display:none}
#offcanvasNavbar2 .crea-brand-logo .crea-logo-dark{display:block}
#offcanvasNavbar2 .btn-close{filter:invert(1);opacity:1}

/* Instagram shared engine: explicit selections and optional complementary services. */
.cpo-commerce-page .order-shell.cpo-commerce .instagram-engine{min-width:0}
.cpo-commerce-page .instagram-engine [hidden]{display:none!important}
.cpo-commerce-page .instagram-engine h2,.cpo-commerce-page .instagram-engine h3{overflow-wrap:anywhere}
.cpo-commerce-page .instagram-engine .ig-primary-summary:empty,.cpo-commerce-page .instagram-engine .ig-selection-summary:empty{display:none}
.cpo-commerce-page .instagram-engine .ig-primary-summary{margin:0 0 16px;padding:14px 16px;border:1px solid #c6d2e5;border-radius:14px;background:#f6f8fc;color:#152238}
.cpo-commerce-page .instagram-engine .media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.cpo-commerce-page .instagram-engine .media-grid.empty{display:block}
.cpo-commerce-page .instagram-engine .media-card{min-width:0;overflow:hidden;border:1px solid #bdcbe0;border-radius:16px;background:#fff}
.cpo-commerce-page .instagram-engine .media-card.selected{border-color:#214fee;box-shadow:0 0 0 2px #214fee}
.cpo-commerce-page .instagram-engine .media-thumb{display:block;width:100%;aspect-ratio:1/1;border:0;padding:0;position:relative;overflow:hidden;background:#edf2f8}
.cpo-commerce-page .instagram-engine .media-thumb img{width:100%;height:100%;object-fit:cover}
.cpo-commerce-page .instagram-engine .media-caption{padding:12px 14px 0;overflow-wrap:anywhere}
.cpo-commerce-page .instagram-engine .media-controls{padding:12px 14px 14px;min-width:0}
.cpo-commerce-page .instagram-engine .ig-item-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}
.cpo-commerce-page .instagram-engine .ig-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px;font-weight:700;color:#243752}
.cpo-commerce-page .instagram-engine .ig-field input,.cpo-commerce-page .instagram-engine .ig-field select{min-width:0;width:100%;min-height:44px;box-sizing:border-box;border:1px solid #9aaccc;border-radius:10px;padding:9px 10px;background:#fff;color:#152238;font:inherit}
.cpo-commerce-page .instagram-engine .ig-item-price{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;margin-top:12px;color:#152238}
.cpo-commerce-page .instagram-engine .ig-item-price strong{font-size:18px;line-height:1.3}
.cpo-commerce-page .instagram-engine .ig-item-price small{display:block;width:100%;font-size:12px;color:#52647f}
.cpo-commerce-page .instagram-engine .ig-complement{margin-top:22px;padding:18px;border:1px solid #bdcbe0;border-radius:16px;background:#f6f8fc}
.cpo-commerce-page .instagram-engine .ig-complement h3{margin:0 0 8px;font-size:20px;line-height:1.3}
.cpo-commerce-page .instagram-engine .ig-optional-choice{display:flex;gap:10px;align-items:flex-start;font-weight:700;cursor:pointer}
.cpo-commerce-page .instagram-engine .ig-optional-choice input{flex:0 0 auto;width:20px;height:20px;margin:2px 0 0}
.cpo-commerce-page .instagram-engine .ig-selection-summary{margin-top:18px;padding:16px;border:1px solid #bdcbe0;border-radius:14px;background:#fff;color:#152238;overflow-wrap:anywhere}
.cpo-commerce-page .instagram-engine .ig-selection-summary strong{font-size:20px;line-height:1.35}
.cpo-commerce-page .instagram-engine .ig-selection-count{font-weight:700;color:#243752}
.cpo-commerce-page .instagram-engine .ig-empty-state{padding:16px;border:1px dashed #9aaccc;border-radius:12px;color:#425674;background:#fff}
.cpo-commerce-page .instagram-engine .ig-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.cpo-commerce-page .instagram-engine .ig-actions>.btn{flex:1 1 210px;min-width:0;white-space:normal}
.cpo-commerce-page .instagram-engine :is(button,input,select,a):focus-visible{outline:3px solid #075dbd;outline-offset:3px}
@media(max-width:575.98px){
.cpo-commerce-page .instagram-engine .media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cpo-commerce-page .instagram-engine .media-grid>.media-card.selected{grid-column:1/-1}
.cpo-commerce-page .instagram-engine .ig-complement{padding:14px}
.cpo-commerce-page .instagram-engine .ig-actions{flex-direction:column}
.cpo-commerce-page .instagram-engine .ig-actions>.btn{flex:auto;width:100%}
}

/* Profile destinations stay compact; image galleries retain usable per-post controls. */
.cpo-commerce-page .instagram-engine .ig-target-url{display:block;padding:8px 14px 0;color:#52647f;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.cpo-commerce-page .instagram-engine .ig-item-fields{align-items:start}
.cpo-commerce-page .instagram-engine .ig-item-fields>.ig-field{display:grid;grid-template-rows:minmax(40px,auto) 44px auto;align-content:start}
.cpo-commerce-page .instagram-engine .ig-item-fields>.ig-field>small{font-size:12px;font-weight:400}
.cpo-commerce-page .instagram-engine .ig-item-fields>.ig-item-price,.cpo-commerce-page .instagram-engine .ig-item-fields>small{grid-column:1/-1}
.cpo-commerce-page .instagram-engine .ig-item-price{font-size:18px;line-height:1.3;margin-top:0}
.cpo-commerce-page .instagram-engine .ig-profile-card{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px 14px;align-items:start;padding:14px}
.cpo-commerce-page .instagram-engine .ig-profile-card>.media-thumb{grid-column:1;grid-row:1/3;width:80px;height:80px;aspect-ratio:1;border-radius:50%;opacity:1;cursor:default}
.cpo-commerce-page .instagram-engine .ig-profile-card>.media-thumb .media-kind,.cpo-commerce-page .instagram-engine .ig-profile-card>.media-thumb .selected-mark{display:none}
.cpo-commerce-page .instagram-engine .ig-profile-card>.media-caption{grid-column:2;padding:0;align-self:end;font-size:16px;line-height:1.4;font-weight:700}
.cpo-commerce-page .instagram-engine .ig-profile-card>.ig-target-url{grid-column:2;padding:0}
.cpo-commerce-page .instagram-engine .ig-profile-card>.media-controls{grid-column:1/-1;max-width:640px;width:100%;padding:4px 0 0}
@media(min-width:1200px){
.cpo-commerce-page .instagram-engine .media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:359.98px){
.cpo-commerce-page .instagram-engine .ig-profile-card{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px}
.cpo-commerce-page .instagram-engine .ig-profile-card>.media-thumb{width:64px;height:64px}
}

/* Keep a recent-post gallery scannable while selected controls retain full width. */
.cpo-commerce-page .instagram-engine .media-card:not(.selected)>.ig-target-url{display:none}
.cpo-commerce-page .instagram-engine .media-caption{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cpo-commerce-page .instagram-engine .ig-profile-card>.media-caption{display:block}

/* Keep long Instagram metric labels legible on narrow phones. */
@media(max-width:380px){
.cpo-commerce-page .order-shell.cpo-commerce[data-platform="instagram"] .preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cpo-commerce-page .order-shell.cpo-commerce[data-platform="instagram"] .preset>span{font-size:.75rem;line-height:1.3;overflow-wrap:normal;word-break:normal}
}

/* A focused payment step: review stays editable, payment has one clear next action. */
.cpo-commerce .checkout-payment-title{display:none}
.cpo-commerce .checkout-review-column,.cpo-commerce .checkout-payment-column{min-width:0}
.cpo-commerce .checkout-review-column>details{border:1px solid #c5ced8;border-radius:10px;background:#fff;margin:0 0 10px;padding:0 12px;color:#0c192d}
.cpo-commerce .checkout-review-column>details>summary{position:relative;cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:700;line-height:1.35;color:#0c192d;overflow-wrap:anywhere}
.cpo-commerce .checkout-review-column>details[open]>summary{margin-bottom:12px;border-bottom:1px solid #e0e5eb}
.cpo-commerce .checkout-review-column>details[open]{padding-bottom:14px}
.cpo-commerce .checkout-review-column>details>summary:focus-visible{outline:3px solid #194bd7;outline-offset:3px;border-radius:4px}
.cpo-commerce .checkout-contact-details>summary{padding-right:44px!important}
.cpo-commerce .checkout-contact-details>summary small{display:block;margin:3px 0 0;color:#435369;font-size:12px;font-weight:400;line-height:1.35;overflow-wrap:anywhere}
.cpo-commerce .checkout-contact-details>summary small:empty{display:none}
.cpo-commerce .checkout-edit-label{position:absolute;right:0;top:13px;color:#1943a5;font-size:12px;text-decoration:underline;text-underline-offset:2px}
.cpo-commerce .checkout-review-column input:not([type=checkbox]){min-width:0;max-width:100%;box-sizing:border-box}
.cpo-commerce .checkout-review-column .coupon-row{display:flex;gap:8px}
.cpo-commerce .checkout-review-column .coupon-row input{flex:1;min-width:0;width:0}
.cpo-commerce .checkout-review-column .coupon-row button{flex:none;min-height:44px}
.cpo-commerce .checkout-review-column :is(.invoice-toggle,.wallet-toggle){margin:10px 0 0;font-size:13px;line-height:1.4}
.cpo-commerce .checkout-review-column input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none;margin:0 6px 0 0;accent-color:#194bd7}
.cpo-commerce .checkout-payment-column .checkout-review-label{margin:0 0 10px!important;padding:0!important;border:0!important;font-size:16px;font-weight:750;line-height:1.35;text-transform:none;letter-spacing:normal;color:#0c192d}
.cpo-commerce .checkout-payment-column .payment-options{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px;margin:0 0 12px;padding:0}
.cpo-commerce .checkout-payment-column .payment-options label{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;margin:0;padding:9px 12px;border:1px solid #aab7c8;border-radius:10px;background:#fff;color:#0c192d;box-sizing:border-box;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none}
.cpo-commerce .checkout-payment-column .payment-options label:has(input:checked){border:2px solid #194bd7;padding:8px 11px;background:#f0f5ff}
.cpo-commerce .checkout-payment-column .payment-options label:has(input:focus-visible){outline:3px solid #194bd7;outline-offset:3px}
.cpo-commerce .checkout-payment-column .payment-options input{appearance:auto;width:18px;height:18px;min-width:18px;min-height:18px;flex:0 0 18px;padding:0;margin:0;accent-color:#194bd7;border:0}
.cpo-commerce .checkout-payment-column .payment-options label>span{min-width:0;display:block}
.cpo-commerce .payment-method-name{display:block;font-size:14px;line-height:1.3;font-weight:750;color:#0c192d}
.cpo-commerce .payment-method-detail{display:block;font-size:12px;line-height:1.35;font-weight:400;color:#435369;margin-top:2px}
.cpo-commerce .payment-method-hint{margin:0 0 12px;font-size:13px;line-height:1.4;color:#435369}
.cpo-commerce .checkout-payment-column .total-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px;padding:12px 0 0;border-top:1px solid #c5ced8;font-size:16px;line-height:1.3;color:#0c192d}
.cpo-commerce .checkout-payment-column .total-line strong{font-size:28px;font-weight:800;white-space:nowrap;color:#0c192d}
.cpo-commerce .checkout-payment-column #checkoutBtn{display:block;max-width:100%;width:100%;white-space:normal;line-height:1.35;padding:10px 12px;overflow-wrap:anywhere}
.cpo-commerce .checkout-payment-column .secure-note{margin:12px 0 0;font-size:12px;line-height:1.4;color:#435369}
.cpo-commerce .checkout-payment-column .secure-note a{color:#1943a5;text-decoration:underline;text-underline-offset:2px}
.cpo-commerce .checkout-payment-column #checkoutResult:not(:empty){margin-top:14px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"]{grid-template-columns:minmax(0,1fr);max-width:960px;gap:14px}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .order-main{padding:16px 20px}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .order-main>:not(.steps){display:none!important}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .steps{margin:0}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-card{position:static!important;inset:auto!important;max-height:none!important;height:auto!important;overflow:visible!important;overscroll-behavior:auto;width:100%;margin:0;padding:24px;box-shadow:0 6px 0 #0c192d0c;border:1px solid #bfc7d1}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-head{margin:0}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-head h2{font-size:24px;line-height:1.25;margin:0}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .checkout-payment-title{display:inline}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] :is(.checkout-cart-title,.checkout-cart-label,#summaryToggleBtn){display:none}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-mini{padding:10px 0 18px;align-items:baseline;font-size:14px;color:#435369}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-mini strong{font-size:24px;font-weight:800;color:#0c192d}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-body{display:grid!important;grid-template-columns:minmax(0,1fr);gap:16px}
@media(min-width:900px){
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-body{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:start}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .checkout-payment-column{padding-left:24px;border-left:1px solid #e0e5eb}
}
@media(max-width:767px){
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .order-main{padding:12px}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-card{padding:16px}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-head h2{font-size:22px}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-mini{padding:8px 0 12px}
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-body{gap:10px}
.cpo-commerce .checkout-review-column>details{margin-bottom:8px}
.cpo-commerce .checkout-review-column>details:last-child{margin-bottom:0}
.cpo-commerce .checkout-payment-column .payment-options label{min-height:52px;padding:8px 10px}
.cpo-commerce .checkout-payment-column .payment-options label:has(input:checked){padding:7px 9px}
.cpo-commerce .checkout-payment-column .total-line strong{font-size:25px}
}

/* Nested title text must not inherit the theme's small orange eyebrow styling. */
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"] .summary-head h2 span{font:inherit;color:#0c192d;text-transform:none;letter-spacing:normal}

/* Keep the full progress row and primary action in view when step four opens. */
.cpo-commerce-page .order-shell.cpo-commerce[data-commerce-phase="4"]{scroll-margin-top:12px;scroll-margin-block-start:12px}

/* Preserve the earlier compact cart title when the payment step is not active. */
.cpo-commerce .summary-head h2 span{font:inherit;color:inherit;text-transform:none;letter-spacing:normal}

/* The old fixed-cart spacing is unnecessary once payment is a normal document section. */
@media(max-width:767px){
html:has(.cpo-commerce[data-commerce-phase="4"]){scroll-padding-bottom:16px}
body:has(.cpo-commerce[data-commerce-phase="4"]){padding-bottom:0}
}
.cpo-commerce .checkout-payment-column #checkoutResult .alert-info{background:#f0f5ff;color:#0c192d;border-color:#b7c7e2}
.cpo-commerce .checkout-payment-column #checkoutResult .alert-info :is(h5,p,strong){color:#0c192d}
