/* AWS Marketplace Update 02 — scoped refinements only; product detail visuals untouched */
.aws-shop .aws-shop-cart-link{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap;font-weight:700;position:relative;}
.aws-shop .aws-shop-cart-link svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.9;fill:none;}
.aws-shop .aws-shop-cart-badge{background:#ff8000;color:#0c2443;border-radius:999px;padding:0 .36rem;min-width:1.35rem;line-height:1.35rem;text-align:center;font-size:.78rem;}
.aws-shop .aws-shop-cart-badge[hidden]{display:none;}
.aws-shop .aws-cart-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,340px);gap:20px;align-items:start;}
.aws-shop .aws-cart-list,.aws-shop .aws-cart-sidebar{min-width:0;background:#fff;border:1px solid #dce5f1;border-radius:16px;padding:20px;box-shadow:0 5px 20px rgba(11,35,67,.035)}
.aws-shop .aws-cart-sidebar{position:sticky;top:16px;}
.aws-shop .aws-cart-item{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;padding:16px 0;border-bottom:1px solid #e4e9f2;}
.aws-shop .aws-cart-item:last-child{border-bottom:0;}
.aws-shop .aws-cart-item img{height:104px;width:104px;object-fit:contain;border:1px solid #e4e9f2;border-radius:10px;}
.aws-shop .aws-cart-item h2{font-size:clamp(1.08rem,1.9vw,1.4rem);line-height:1.3;margin:0 0 6px;}
.aws-shop .aws-cart-meta{font-size:.85rem;color:#475d75;}
.aws-shop .aws-cart-item-total{font-weight:750;color:#102847;margin:.5rem 0;}
.aws-shop .aws-qty-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:10px;}
.aws-shop .aws-qty-control{display:inline-flex;align-items:center;border:1px solid #b6c7dc;border-radius:9px;overflow:hidden;min-height:42px;}
.aws-shop .aws-qty-control button{appearance:none;border:0;background:#f6f8fb;color:#132f51;min-width:40px;min-height:42px;font-size:1.3rem;cursor:pointer;}
.aws-shop .aws-qty-control button:hover{background:#e6edf6;}
.aws-shop .aws-qty-control input{max-width:62px;min-height:42px;text-align:center;border:0;background:white;color:#102847;font:inherit;font-weight:700;appearance:textfield;}
.aws-shop .aws-qty-control input::-webkit-inner-spin-button,.aws-shop .aws-qty-control input::-webkit-outer-spin-button{appearance:none;margin:0;}
.aws-shop .aws-qty-control :focus-visible{outline:3px solid #ff8000;outline-offset:-3px;}
.aws-shop .aws-cart-remove{border:0;color:#a43b29;background:transparent;text-decoration:underline;cursor:pointer;font:inherit;padding:8px 2px;}
.aws-shop .aws-cart-feedback{font-size:.85rem;color:#516580;min-height:1.3rem;}
.aws-shop .aws-cart-feedback[data-error="1"]{color:#a12616;font-weight:600;}
.aws-shop .aws-cart-sidebar h2{margin:0 0 14px;font-size:1.3rem;}
.aws-shop .aws-cart-currency-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.aws-shop .aws-cart-notice{background:#eaf2fc;border:1px solid #cddff0;border-radius:10px;padding:14px;line-height:1.5;font-size:.89rem;margin-top:16px;}
.aws-shop .aws-cart-checkout{display:block;text-align:center;margin-top:15px;}
.aws-shop .aws-med-wrap{max-width:960px;margin:25px auto;}
.aws-shop .aws-med-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #e1e8f2;text-decoration:none;color:#102b4a;}
.aws-shop .aws-med-item:last-child{border-bottom:0;}.aws-shop .aws-med-item small{display:block;color:#61718a;margin-top:4px;}
.aws-shop .aws-med-unread{background:#ff8200;border-radius:999px;padding:3px 9px;color:#08213e;}
.aws-shop .aws-med-transcript{min-height:170px;max-height:60vh;overflow:auto;padding:18px;background:#f3f7fc;border-radius:12px;margin:18px 0;}
.aws-shop .aws-med-bubble{max-width:82%;padding:14px 16px;margin:10px 0;border-radius:12px;background:#fff;border:1px solid #e1e8f2;overflow-wrap:anywhere;}
.aws-shop .aws-med-bubble.aws-med-mine{margin-left:auto;background:#dceafc;}
.aws-shop .aws-med-bubble p{white-space:pre-wrap;margin:8px 0;}.aws-shop .aws-med-bubble small{color:#62748f;}
.aws-shop .aws-med-compose{display:grid;gap:10px;}.aws-shop .aws-med-compose textarea,.aws-shop .aws-med-compose select{width:100%;border:1px solid #b9c9db;border-radius:8px;padding:12px;font:inherit;}
.aws-shop .aws-med-legacy{margin:18px 0;padding:12px;border:1px solid #e5d4b6;border-radius:10px;}
.aws-shop .aws-checkout-address p{margin:.12rem 0;}
@media(max-width:850px){.aws-shop .aws-cart-shell{grid-template-columns:1fr}.aws-shop .aws-cart-sidebar{position:static}}
@media(max-width:460px){.aws-shop .aws-cart-list,.aws-shop .aws-cart-sidebar{padding:14px}.aws-shop .aws-cart-item{grid-template-columns:80px minmax(0,1fr);gap:12px}.aws-shop .aws-cart-item img{height:80px;width:80px}.aws-shop .aws-med-bubble{max-width:96%}}
/* Final navigation and option-selection refinements. Scoped to Marketplace only. */
.aws-shop .aws-shop-topbar{flex-wrap:wrap;row-gap:6px;}
.aws-shop .aws-shop-topbar nav{flex-wrap:wrap;justify-content:flex-end;max-width:100%;}
.aws-shop .aws-shop-variant-label{display:block;margin:10px 0;font-size:.9rem;font-weight:650;color:#153556;}
.aws-shop .aws-shop-variant-label select{display:block;margin-top:5px;max-width:100%;width:100%;min-height:45px;border:1px solid #9fb5d0;border-radius:9px;background:#fff;color:#122d4d;font:inherit;padding:9px 12px;}
.aws-shop .aws-shop-form input,.aws-shop .aws-shop-form select,.aws-shop .aws-shop-form textarea,.aws-shop .aws-med-compose input{min-height:43px;max-width:100%;}
.aws-shop .aws-med-compose input{border:1px solid #bac9dc;border-radius:8px;padding:10px 12px;font:inherit;}
.aws-shop .aws-cart-list .aws-cart-item a{overflow-wrap:anywhere;}
.aws-shop a:focus-visible,.aws-shop button:focus-visible,.aws-shop input:focus-visible,.aws-shop select:focus-visible,.aws-shop textarea:focus-visible{outline:3px solid #ea7d09;outline-offset:2px;}
@media(max-width:700px){
 .aws-shop .aws-shop-topbar{align-items:flex-start;}
 .aws-shop .aws-shop-topbar nav{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;}
 .aws-shop .aws-shop-topbar nav a{display:flex;align-items:center;justify-content:center;gap:4px;text-align:center;min-width:0;padding:9px 4px;font-size:clamp(.68rem,2.6vw,.84rem);white-space:normal;}
 .aws-shop .aws-shop-cart-link svg{height:20px;width:20px;flex:0 0 auto;}
}
@media(max-width:340px){.aws-shop .aws-shop-topbar nav a{font-size:.68rem;padding:8px 2px}.aws-shop .aws-shop-cart-badge{min-width:1.1rem;font-size:.7rem}}

.aws-shop [data-cart-checkout][aria-disabled="true"]{opacity:.54;cursor:not-allowed;pointer-events:none;}
