
:root{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#1e3032;background:#f2f5f4}*{box-sizing:border-box}body{margin:0}main{max-width:1190px;margin:32px auto;padding:0 20px 55px}.top{background:#e9f0ef;padding:15px 20px;border-bottom:1px solid #d5dfdd}.topin{max-width:1150px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.eyebrow{font-size:12px;letter-spacing:.14em;color:#587476;font-weight:800}.top button,.save,.secondary{border:0;border-radius:10px;padding:12px 17px;cursor:pointer;font-weight:750;background:#27565a;color:white}.secondary{background:#e7efee;color:#2b5254}.instructions{font-size:13px;color:#617476}.intro{margin:30px 0 25px}.intro h1{font-size:clamp(34px,5vw,57px);line-height:1.02;margin:10px 0}.intro p{font-size:17px;color:#617173;line-height:1.45;max-width:750px}.sectionhead{display:flex;align-items:end;justify-content:space-between;margin:26px 0 15px;gap:10px}.sectionhead h2{font-size:26px;margin:0}.sectionhead span{color:#6e7e80;font-size:13px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.item{background:white;border:1px solid #dfe6e4;border-radius:28px;padding:17px;box-shadow:0 12px 30px rgba(28,59,60,.045);min-width:0}.photo{overflow:hidden;background:#fff;border-radius:17px;aspect-ratio:3/2;border:1px solid #edf1f0;display:flex;align-items:center;justify-content:center}.photo img{width:100%;height:100%;object-fit:contain}.details{padding:13px 5px 3px}.details h3{font-size:25px;letter-spacing:-.025em;margin:0 0 3px}.sub{font-weight:650;color:#4d696a;margin:0 0 10px;font-size:14px}.desc{line-height:1.48;color:#5a7072;min-height:66px;margin-bottom:14px;font-size:15px}.bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e5ebea;padding-top:14px;flex-wrap:wrap}.price{font-size:19px;font-weight:800}.hint{font-size:11px;color:#748589;display:block;margin-top:3px}.add{border:0;border-radius:11px;background:#e6efee;color:#285154;font-size:14px;padding:12px 16px;font-weight:800;cursor:pointer}.bag{margin-top:20px;display:grid;grid-template-columns:1.15fr 1fr;gap:22px;align-items:center}.bag .photo{aspect-ratio:1800/800}.bag .desc{min-height:84px}.extensions{margin-top:28px}.extensionphoto{aspect-ratio:3/2;background:linear-gradient(135deg,#f7f9f8,#e9efee);font-size:13px;color:#8a9898}.editor{outline:0;transition:background .2s;min-width:12px}.editor:focus{background:#fff9e7;box-shadow:0 0 0 4px #fff9e7;border-radius:4px}.editor:hover{background:#f3f7f6;border-radius:4px}.footer{margin:38px 0;color:#748386;font-size:13px}.notice{padding:14px 17px;background:#ecf3f2;border-radius:15px;font-size:14px;color:#4e6b6c;margin-top:18px}.status{font-size:13px;color:#2b6868;font-weight:700}.tag{font-size:12px;border-radius:999px;background:#edf3f1;color:#477173;padding:5px 9px;display:inline-block;margin-bottom:10px} @media(max-width:700px){main{margin:16px auto;padding:0 12px 35px}.grid{gap:10px}.item{border-radius:18px;padding:9px}.photo{border-radius:11px}.details{padding:10px 4px 4px}.details h3{font-size:19px}.desc{font-size:13px;min-height:95px}.sub{font-size:12px}.bottom{display:block}.add{margin-top:9px;width:100%;padding:10px 7px}.bag{grid-template-columns:1fr}.bag .desc{min-height:0}.top button{width:100%}.topin{align-items:stretch}.price{font-size:17px}.sectionhead h2{font-size:23px}}@media(max-width:365px){.details h3{font-size:17px}.desc{font-size:12px}}

/* Version 2: side-by-side product cards, photos left and copy right */
.grid > .item{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);gap:17px;align-items:center;}
.grid > .item .photo{width:100%;aspect-ratio:3/2;align-self:center;}
.grid > .item .details{min-width:0;padding:5px 2px;}
.grid > .item .details h3{font-size:clamp(18px,2vw,23px);}
.grid > .item .desc{min-height:90px;font-size:14px;}
.grid > .item .bottom{align-items:flex-start;}
.bag{grid-template-columns:minmax(0,43%) minmax(0,1fr);}
.bag .photo{aspect-ratio:1800/800;}
@media(max-width:850px){.grid{grid-template-columns:1fr;}.grid > .item{grid-template-columns:minmax(0,36%) minmax(0,1fr);}.grid > .item .desc{min-height:0;}.bag{grid-template-columns:minmax(0,40%) minmax(0,1fr);}}
@media(max-width:520px){.grid > .item{grid-template-columns:minmax(0,36%) minmax(0,1fr);gap:11px;padding:11px;}.grid > .item .details h3{font-size:18px;}.grid > .item .desc{font-size:13px;min-height:0;}.grid > .item .bottom{display:flex;flex-wrap:wrap;}.grid > .item .add{width:auto;min-width:135px;margin-top:5px;}.bag{grid-template-columns:1fr;}.bag .photo{max-height:240px;}.bag .details{padding:6px;}}

.bases{margin-top:28px}.bases .sectionhead{margin-bottom:15px}

.bottom-accessories{margin-top:28px}
.bottom-accessories .sectionhead{margin-bottom:15px}
.bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bottom-grid>.item{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);gap:15px;align-items:center}
.bottom-grid>.item .photo{aspect-ratio:3/2;width:100%}
.bottom-grid>.item .details{min-width:0;padding:5px 2px}
.bottom-grid>.item h3{font-size:clamp(18px,2vw,23px)}
.bottom-grid>.item .desc{min-height:90px;font-size:14px}
@media(max-width:850px){.bottom-grid{grid-template-columns:1fr}.bottom-grid>.item{grid-template-columns:minmax(0,36%) minmax(0,1fr)}.bottom-grid>.item .desc{min-height:0}}
@media(max-width:520px){.bottom-grid>.item{grid-template-columns:minmax(0,36%) minmax(0,1fr);gap:11px;padding:11px}.bottom-grid>.item h3{font-size:18px}.bottom-grid>.item .desc{font-size:13px}.bottom-grid>.item .bottom{display:flex;flex-wrap:wrap}.bottom-grid>.item .add{width:auto;min-width:135px;margin-top:5px}}


/* Navigation and product imagery update */
.ww-navigation{background:#fff;border-bottom:1px solid #dfe7e5}
.ww-navigation-inner{max-width:1150px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px;justify-content:space-between}
.ww-navigation a,.ww-navigation button{font:700 13px/1.3 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#28585b;text-decoration:none;border:1px solid #dce6e4;border-radius:10px;background:#edf4f2;padding:10px 13px;cursor:pointer}
.ww-navigation .back-button{background:#27565a;color:#fff;border-color:#27565a}
.ww-nav-links{display:flex;gap:8px;flex-wrap:wrap}
.ww-navigation a:hover,.ww-navigation button:hover{filter:brightness(.96)}
html{scroll-behavior:smooth}
@media(max-width:520px){.ww-navigation-inner{padding:9px 12px;justify-content:center;gap:7px}.ww-nav-links{width:100%;justify-content:center}.ww-navigation a,.ww-navigation button{padding:8px 10px;font-size:12px}}

.ks-banner{margin-top:20px;padding:16px 20px;background:#e6efed;border:1px solid #bfd2cd;border-radius:16px;display:flex;gap:9px;flex-direction:column;color:#244c4e}.ks-banner strong{font-size:17px}.ks-banner span{line-height:1.45;font-size:14px}.desc p{margin:9px 0 0}.desc strong{color:#234e50}.grid>.item .desc,.bottom-grid>.item .desc{min-height:0}.nav-return{display:inline-flex;align-items:center;text-decoration:none;background:#27565a;color:#fff;border-radius:10px;padding:11px 16px;font-weight:700}.sectionhead span{font-size:12px}.top .instructions{max-width:500px}@media(max-width:520px){.nav-return{font-size:12px;padding:10px 11px}}
/* 2:3 full-resolution product photos, left of copy; existing card grid preserved */
.grid > .item .photo, .bottom-grid > .item .photo { aspect-ratio:2 / 3; background:#fff; }
.grid > .item .photo img, .bottom-grid > .item .photo img {width:100%;height:100%;object-fit:contain;}
/* The final plate has its original landscape photo, so avoid unnecessary enlargement. */
.bottom-grid > .item:last-child .photo {aspect-ratio:2 / 3;}
@media(max-width:520px){ .grid>.item,.bottom-grid>.item{align-items:center;} }


/* V8: quantity choices, with bottom navigation matching the top */
.qty-label{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#486b6d;white-space:nowrap;}
.qty-input{width:53px;min-width:0;padding:10px 6px;border:1px solid #cbd9d7;border-radius:9px;background:#fff;color:#203638;font-size:14px;font-weight:700;text-align:center;}
.bottom{gap:8px;}
main > nav.ww-navigation{margin-top:28px;margin-bottom:15px;}
@media(max-width:520px){.qty-label{font-size:11px}.qty-input{width:47px;padding:8px 3px}.bottom .add{min-width:0!important;padding:10px 9px!important}}


/* V9: green page identification and interactive section navigation */
.ww-current-page{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px 9px;padding:8px 13px;border-radius:999px;background:#dbf2df;border:1px solid #80bb8b;color:#1c6638;font-size:13px;font-weight:800;letter-spacing:.01em}
.ww-nav-links a{display:inline-flex;align-items:center;text-decoration:none;border-radius:9px;padding:9px 12px;transition:background .16s,color .16s,box-shadow .16s}
.ww-nav-links a.is-active,.ww-nav-links a[aria-current="location"]{background:#d0edd6!important;color:#176b38!important;box-shadow:inset 0 0 0 1px #7dba8b;font-weight:800}
.ww-nav-links a:hover,.ww-nav-links a:focus-visible{background:#287c4c!important;color:#fff!important;box-shadow:0 3px 9px rgba(22,102,48,.16);outline:none}
.ww-navigation .nav-return:hover,.ww-navigation .nav-return:focus-visible,.ww-navigation .order-link:hover,.ww-navigation .order-link:focus-visible,.ww-navigation .back-button:hover,.ww-navigation .back-button:focus-visible{background:#287c4c!important;color:#fff!important;transition:background .16s,color .16s}
@media(hover:none){.ww-nav-links a:hover{background:inherit;color:inherit;box-shadow:none}.ww-nav-links a.is-active:hover{background:#d0edd6!important;color:#176b38!important}}


/* V10: special shopping navigation — no exit to public store */
.ww-navigation{padding:8px 0;}
.ww-navigation-inner{justify-content:center;}
.ww-shop-links{width:100%;display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap;}
.ww-shop-links a{white-space:nowrap;text-align:center;}
.ww-shop-links a[aria-current="page"]{background:#d0edd6!important;color:#176b38!important;border-color:#7dba8b!important;box-shadow:inset 0 0 0 1px #7dba8b;}
.ww-shop-links a.checkout-link{background:#27565a;color:#fff;border-color:#27565a;}
.ww-shop-links a.checkout-link:hover,.ww-shop-links a.checkout-link:focus-visible{background:#287c4c!important;color:#fff!important;}
@media(max-width:520px){.ww-shop-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ww-shop-links a{font-size:11px!important;padding:9px 4px!important;white-space:normal}.ww-shop-links a.checkout-link{grid-column:span 2}}


/* Ensure photos never cover or overlap text */
.grid.boom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.grid.boom-grid>.item.boom-card{display:grid;grid-template-columns:minmax(0,39%) minmax(0,1fr);gap:18px;align-items:center;min-width:0;overflow:hidden}
.grid.boom-grid>.item.boom-card>.photo{width:100%;min-width:0;aspect-ratio:2/3;align-self:center;overflow:hidden;background:#fff;border-radius:17px}
.grid.boom-grid>.item.boom-card>.photo img{display:block;width:100%;height:100%;object-fit:contain}
.grid.boom-grid>.item.boom-card>.details{min-width:0;position:relative;padding:5px 2px;overflow-wrap:break-word}
.grid.boom-grid>.item.boom-card .desc{min-height:0;line-height:1.5;font-size:14px;margin:12px 0 18px}
.grid.boom-grid>.item.boom-card .details h3{font-size:clamp(20px,2vw,24px);margin:0 0 5px}
.grid.boom-grid>.item.boom-card .bottom{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.grid.boom-grid>.item.boom-card .price{font-size:16px}
.grid.boom-grid>.item.boom-card .qty{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:700}
.grid.boom-grid>.item.boom-card input{width:56px;max-width:100%;padding:9px;border:1px solid #d5dfdd;border-radius:9px;font-size:14px}
.grid.boom-grid>.item.boom-card button.add{margin:0;width:auto}
@media(max-width:920px){.grid.boom-grid{grid-template-columns:1fr}.grid.boom-grid>.item.boom-card{grid-template-columns:minmax(0,37%) minmax(0,1fr)}}
@media(max-width:520px){.grid.boom-grid>.item.boom-card{grid-template-columns:minmax(0,35%) minmax(0,1fr);gap:10px;padding:11px}.grid.boom-grid>.item.boom-card .desc{font-size:12px}.grid.boom-grid>.item.boom-card .details h3{font-size:17px}.grid.boom-grid>.item.boom-card button.add{font-size:12px}.grid.boom-grid>.item.boom-card .sub{font-size:12px}}

/* Accessories — same WINDWING design system, 2 × 4 cards */
.acc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.acc-grid .item{display:grid;grid-template-columns:minmax(0,39%) minmax(0,1fr);gap:17px;align-items:center;min-width:0;overflow:hidden}
.acc-grid .photo{aspect-ratio:2/3;width:100%;min-width:0;border-radius:17px;background:#f8faf9;align-self:stretch;display:grid;place-items:center;text-align:center}
.acc-grid .photo .placeholder{display:flex;flex-direction:column;align-items:center;gap:11px;color:#819596;padding:15px}
.acc-grid .photo svg{width:48px;height:48px;opacity:.6}
.acc-grid .details{min-width:0;padding:5px 2px;overflow-wrap:anywhere}
.acc-grid h3{font-size:clamp(18px,2vw,23px);margin:0 0 4px}
.acc-grid .desc{font-size:14px;line-height:1.52;min-height:115px;margin:10px 0 14px}
.acc-grid .bottom{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.acc-grid .price{font-size:17px}
.acc-grid .add{margin:0;width:auto}
.acc-grid .qty{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:700}
.acc-grid .qty input{width:54px;padding:9px 4px;border:1px solid #cbd9d7;border-radius:9px;text-align:center}
.editable{outline:none;cursor:text}
.editable:hover{background:#edf7f1;border-radius:4px}
.editable:focus{background:#fff9e7;box-shadow:0 0 0 4px #fff9e7;border-radius:3px}
.editor-actions{max-width:1150px;margin:0 auto;padding:8px 20px;display:flex;justify-content:flex-end;gap:10px;align-items:center}
.editor-actions button{background:#27565a;color:#fff;border:0;border-radius:10px;padding:10px 16px;font-weight:700;cursor:pointer}
.editor-actions button:hover{background:#287c4c}
.editor-actions small{color:#677e7e}
@media(max-width:920px){.acc-grid{grid-template-columns:1fr}.acc-grid .item{grid-template-columns:minmax(0,34%) minmax(0,1fr)}.acc-grid .desc{min-height:0}}
@media(max-width:520px){.acc-grid{gap:11px}.acc-grid .item{gap:10px;padding:11px;grid-template-columns:minmax(0,34%) minmax(0,1fr)}.acc-grid h3{font-size:17px}.acc-grid .desc{font-size:12px}.acc-grid .photo{border-radius:11px}.acc-grid .bottom{display:flex}.acc-grid .add{font-size:12px;padding:10px!important}.editor-actions{flex-wrap:wrap;padding:10px 12px}}

/* WINDWING Accessories 1.0 refinements */
#ww-accessories-shop .ww-cart-feedback{display:none;max-width:1180px;margin:16px auto;padding:13px 18px;border-radius:12px;background:#e9f4ed;color:#20563b;border:1px solid #b8d4c6;font-weight:700}
#ww-accessories-shop .ww-cart-feedback.is-error{background:#fff1eb;color:#843d23;border-color:#efc5b1}
#ww-accessories-shop .ww-item-note{font-size:12px;line-height:1.5;color:#667;margin:10px 0}
#ww-accessories-shop .ww-navigation{margin-top:12px;margin-bottom:12px}
#ww-accessories-shop .ww-navigation a[aria-disabled=true]{opacity:.45}
#ww-accessories-shop .intro .eyebrow{letter-spacing:.16em}
#ww-accessories-shop .mayday-merged label{white-space:normal}
#ww-accessories-shop .mayday-merged input[type=number]{max-width:70px}


/* V8: restore full-width Silent MAYDAY and compact size selections. */
#ww-accessories-shop .acc-grid > .item.mayday-merged {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
}
#ww-accessories-shop .acc-grid > .item.mayday-merged .photo {
  width: 100%; min-height: 300px; max-height: 480px;
  aspect-ratio: auto; align-self: stretch;
  background: #f7f9f8;
}
#ww-accessories-shop .acc-grid > .item.mayday-merged .photo img {
  width: 100%; height: 100%; object-fit: contain;
}
#ww-accessories-shop .mayday-merged .details {overflow-wrap: normal; min-width:0;}
#ww-accessories-shop .mayday-merged .mayday-options {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px; margin: 14px 0;
}
#ww-accessories-shop .mayday-merged .mayday-opt {
  display: flex; flex-direction: column; justify-content:space-between;
  gap: 10px; min-width:0; padding:12px;
  border:1px solid #d8e4e0; background:#f8faf9; border-radius:13px;
}
#ww-accessories-shop .mayday-merged .mayday-opt strong,
#ww-accessories-shop .mayday-merged .mayday-opt small {display:block; line-height:1.3;}
#ww-accessories-shop .mayday-merged .mayday-opt label {display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;}
#ww-accessories-shop .mayday-merged .mayday-opt input[type=number] {width:58px;max-width:100%;min-width:0;padding:8px 5px;border:1px solid #cad9d5;border-radius:9px;text-align:center;}
#ww-accessories-shop .mayday-merged .mayday-action {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
#ww-accessories-shop .size-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px;}
#ww-accessories-shop .size-choices .sizes-title {grid-column:1/-1;margin:0 0 3px;}
#ww-accessories-shop .size-choices .size-row {
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:6px;min-width:0;
  padding:9px;border:1px solid #dbe6e3;border-radius:12px;background:#f8faf9;
}
#ww-accessories-shop .size-choices .size-row label {display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;}
#ww-accessories-shop .size-choices .size-row input[type=number] {width:45px;min-width:0;padding:7px 3px;text-align:center;border-radius:8px;border:1px solid #cddbd7;}
#ww-accessories-shop .size-choices .size-row .add {margin:0;width:auto;min-width:0;padding:8px 10px;font-size:12px;}
#ww-accessories-shop .size-choices .size-label {font-weight:800;font-size:14px;}
@media(max-width:950px){
 #ww-accessories-shop .acc-grid>.item.mayday-merged {grid-template-columns:minmax(0,34%) minmax(0,1fr);gap:16px;}
 #ww-accessories-shop .mayday-merged .mayday-options {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
 #ww-accessories-shop .acc-grid>.item.mayday-merged {grid-template-columns:1fr;gap:12px;}
 #ww-accessories-shop .acc-grid>.item.mayday-merged .photo {min-height:0;height:230px;}
 #ww-accessories-shop .mayday-merged .mayday-options {grid-template-columns:1fr;}
 #ww-accessories-shop .size-choices {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
 #ww-accessories-shop .size-choices .size-row {padding:7px;}
}
@media(max-width:390px){#ww-accessories-shop .size-choices{grid-template-columns:1fr;}}

/* V10: consistent success states and bulk-add selection controls. */
#ww-accessories-shop button[data-ww-product]:hover:not(:disabled),#ww-accessories-shop button[data-ww-mayday]:hover:not(:disabled){background:#164d43!important;color:white!important}
#ww-accessories-shop button.ww-was-added,#ww-accessories-shop button.ww-was-added:hover:not(:disabled){background:#16804b!important;color:white!important;border-color:#16804b!important}
#ww-accessories-shop .ww-accessories-confirmation{max-width:1180px;margin:16px auto;padding:18px 22px;border:1px solid #a9d6bb;border-radius:17px;background:#eaf7ee;box-shadow:0 6px 16px rgba(15,80,40,.07)}
#ww-accessories-shop .ww-accessories-confirmation[hidden]{display:none}
#ww-accessories-shop .ww-acc-confirm-head{color:#17633d;font-size:19px}
#ww-accessories-shop .ww-acc-confirm-detail{font-size:14px;color:#345b49;line-height:1.5}
#ww-accessories-shop .ww-acc-confirm-actions{display:flex;flex-wrap:wrap;gap:10px}
#ww-accessories-shop .ww-acc-continue,#ww-accessories-shop .ww-acc-return{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;padding:11px 17px;border-radius:11px;font-weight:750;font-size:14px;cursor:pointer}
#ww-accessories-shop .ww-acc-continue{background:#fff;border:1px solid #b9d2c4;color:#1e5543}
#ww-accessories-shop .ww-acc-return{background:#164d43;border:1px solid #164d43;color:#fff}
#ww-accessories-shop .ww-acc-continue:hover{background:#e4f3e9;color:#164d43}
#ww-accessories-shop .ww-acc-return:hover{background:#237a53;color:#fff}

/* V11: always-visible return path and readable confirmed quantities */
#ww-accessories-shop .ww-accessories-quick-exit{max-width:1180px;margin:10px auto 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border:1px solid #c8dcd1;border-radius:13px;background:#f5faf7;color:#225943;font-weight:750}
#ww-accessories-shop .ww-accessories-quick-exit .ww-acc-return{display:inline-flex;background:#164d43;color:white;border-radius:10px;padding:12px 18px;text-decoration:none;font-weight:800}
#ww-accessories-shop .ww-accessories-quick-exit .ww-acc-return:hover{background:#237a53;color:#fff}
@media(max-width:650px){#ww-accessories-shop .ww-accessories-quick-exit{flex-direction:column;align-items:stretch;text-align:center}#ww-accessories-shop .ww-accessories-quick-exit .ww-acc-return{justify-content:center}}

/* V13: fixed quick return without scrolling through the accessory catalog. */
#ww-accessories-shop .ww-accessories-floating-return {
 position:fixed;right:18px;bottom:20px;z-index:9999;
 display:inline-flex;align-items:center;justify-content:center;
 padding:12px 17px;min-height:44px;
 background:#164d43;color:#fff!important;border:1px solid #b6dbca;
 border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.22);
 font:750 14px/1.2 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
 text-decoration:none!important;white-space:nowrap;
}
#ww-accessories-shop .ww-accessories-floating-return:hover,
#ww-accessories-shop .ww-accessories-floating-return:focus-visible {
 background:#237a53;color:#fff!important;outline:2px solid #d0edd6;outline-offset:2px;
}
@media(max-width:600px){
 #ww-accessories-shop .ww-accessories-floating-return {right:12px;bottom:calc(12px + env(safe-area-inset-bottom, 0px));padding:11px 14px;font-size:13px;}
}

/* V14: WooCommerce regular and discounted prices, one clean price row. */
#ww-accessories-shop .price del, #ww-accessories-shop .mayday-opt small del {opacity:.6;font-weight:400;margin-right:7px;}
#ww-accessories-shop .price ins, #ww-accessories-shop .mayday-opt small ins {text-decoration:none;font-weight:800;}
#ww-accessories-shop .price .woocommerce-Price-amount {white-space:nowrap;}

/* V15: persistent server-rendered prices from WooCommerce. */
#ww-accessories-shop .ww-live-price {display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;}
#ww-accessories-shop .ww-live-price del {color:#778488;opacity:1;font-weight:400;text-decoration:line-through;}
#ww-accessories-shop .ww-live-price ins {color:#176e42;text-decoration:none;font-weight:800;}
#ww-accessories-shop .ww-price-or {font-size:13px;color:#748589;}

/* V16 guard: never display legacy bulk-add panel, even if old JS is cached. */
#ww-accessories-shop .ww-add-all-bar {display:none !important;}

/* V18 shirt size batch-selection cards */
#ww-accessories-shop .ww-shirt-summary{margin:12px 0 8px;padding:11px 13px;border:1px solid #ccded8;background:#f2f8f5;border-radius:10px;color:#244f47;font-size:13px;font-weight:700;line-height:1.4;}
#ww-accessories-shop .ww-shirt-add{margin:5px 0 0;width:100%;min-height:44px;}
#ww-accessories-shop .ww-shirt-add:disabled{opacity:.52;cursor:not-allowed;}
#ww-accessories-shop .ww-shirt-add.ww-was-added{background:#167247!important;color:white!important;}

/* V19: compact shirt controls with one-click quantity selection and live subtotal. */
#ww-accessories-shop .size-row[data-ww-shirt-product] {
 display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;
 gap:7px;padding:4px 0;margin:0;min-height:34px;
}
#ww-accessories-shop .size-row[data-ww-shirt-product] label {justify-self:start;gap:6px;font-size:12px;}
#ww-accessories-shop .size-row[data-ww-shirt-product] input[type=number] {width:48px;padding:5px 4px;}
#ww-accessories-shop .ww-shirt-qty-add {
 border:1px solid #bfd4cb;background:#e7f2ec;color:#19583b;
 border-radius:8px;padding:6px 10px;min-height:32px;
 cursor:pointer;font-size:12px;font-weight:800;white-space:nowrap;
}
#ww-accessories-shop .ww-shirt-qty-add:hover:not(:disabled) {background:#25724a;color:#fff;}
#ww-accessories-shop .ww-shirt-qty-add:disabled {opacity:.5;cursor:wait;}
#ww-accessories-shop .ww-shirt-summary {margin:7px 0 5px;padding:8px 10px;line-height:1.3;}
#ww-accessories-shop .ww-shirt-selected {display:block;}
#ww-accessories-shop .ww-shirt-subtotal {display:block;margin-top:4px;color:#14613d;font-weight:800;}
#ww-accessories-shop .ww-shirt-subtotal[hidden] {display:none;}
#ww-accessories-shop .ww-shirt-add {margin-top:4px;min-height:38px;padding:9px 10px;}
@media(max-width:440px){#ww-accessories-shop .size-row[data-ww-shirt-product]{grid-template-columns:24px minmax(0,1fr) auto;gap:5px;}#ww-accessories-shop .ww-shirt-qty-add{padding:6px 7px;}}

/* V20: portrait SILENT MAYDAY photo and compact shirt selections. */
#ww-accessories-shop .acc-grid > .item.mayday-merged {
  grid-template-columns: minmax(0, 25%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 25px);
}
#ww-accessories-shop .acc-grid > .item.mayday-merged .photo {
  min-height: 0;
  max-height: none;
  height: auto;
  aspect-ratio: 496 / 1153;
  align-self: center;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}
#ww-accessories-shop .acc-grid > .item.mayday-merged .photo img {
  width: 100%; height: 100%; object-fit: contain;
}
#ww-accessories-shop .ww-shirt-summary {padding: 6px 10px; margin: 5px 0 4px;}
@media(max-width: 950px){
  #ww-accessories-shop .acc-grid > .item.mayday-merged {grid-template-columns:minmax(0, 28%) minmax(0,1fr);}
}
@media(max-width: 600px){
  #ww-accessories-shop .acc-grid > .item.mayday-merged {grid-template-columns:minmax(0, 31%) minmax(0,1fr);align-items:start;gap:10px;}
  #ww-accessories-shop .acc-grid > .item.mayday-merged .photo {height:auto;min-height:0;max-height:none;aspect-ratio:496/1153;}
  #ww-accessories-shop .mayday-merged .mayday-options {grid-template-columns:1fr;}
}
@media(max-width: 390px){
  #ww-accessories-shop .acc-grid > .item.mayday-merged {grid-template-columns:1fr;}
  #ww-accessories-shop .acc-grid > .item.mayday-merged .photo {width:min(60%,190px);margin-inline:auto;}
}


/* V21: shirt size rows tightened, larger quantity field, consistent add-button states. */
#ww-accessories-shop .size-row[data-ww-shirt-product] {
 display:grid;
 grid-template-columns: 26px minmax(0,1fr) auto;
 align-items:center;
 gap:8px;
 padding:4px 0;
 margin:0;
 min-height:36px;
}
#ww-accessories-shop .size-row[data-ww-shirt-product] .size-label {
 font-weight:800;
 font-size:14px;
 line-height:1;
}
#ww-accessories-shop .size-row[data-ww-shirt-product] label {
 display:grid;
 grid-template-columns:auto minmax(62px,74px);
 align-items:center;
 justify-content:start;
 gap:8px;
 width:100%;
 min-width:0;
 margin:0;
}
#ww-accessories-shop .size-row[data-ww-shirt-product] label input[type=number] {
 width:100%;
 min-width:62px;
 padding:6px 8px;
 text-align:center;
}
#ww-accessories-shop .ww-shirt-qty-add {
 -webkit-appearance:none;
 appearance:none;
 border:1px solid #bfd4cb;
 background:#e7f2ec;
 color:#19583b;
 border-radius:10px;
 padding:7px 12px;
 min-height:36px;
 cursor:pointer;
 font-size:12px;
 font-weight:800;
 white-space:nowrap;
 outline:none;
 box-shadow:none;
}
#ww-accessories-shop .ww-shirt-qty-add:hover:not(:disabled),
#ww-accessories-shop .ww-shirt-qty-add:focus-visible:not(:disabled),
#ww-accessories-shop .ww-shirt-qty-add:active:not(:disabled) {
 background:#25724a;
 color:#fff;
 border-color:#25724a;
 box-shadow:0 0 0 2px rgba(37,114,74,.18);
}
#ww-accessories-shop .ww-shirt-summary {
 padding:8px 10px;
 margin:7px 0 5px;
 line-height:1.3;
}
#ww-accessories-shop .ww-shirt-selected {display:block; font-weight:700;}
@media(max-width:440px){
  #ww-accessories-shop .size-row[data-ww-shirt-product]{grid-template-columns:24px minmax(0,1fr) auto;gap:6px;}
  #ww-accessories-shop .size-row[data-ww-shirt-product] label{grid-template-columns:auto minmax(54px,62px);gap:6px;}
  #ww-accessories-shop .ww-shirt-qty-add{padding:6px 9px;}
}
