/* The same header/footer serve the draft shop and every contract form. */
body.myems-shop-flow-page{margin:0;background:#fff;color:#17212b}
#club-preview[data-myems-layout]{font-family:Arial,Helvetica,sans-serif;color:#17212b;color-scheme:light}
#club-preview[data-myems-layout] *{box-sizing:border-box}
#club-preview[data-myems-layout] [hidden]{display:none!important}
#club-preview[data-myems-layout] .cp-head{background:#131921;color:#fff;display:flex;align-items:center;gap:22px;padding:18px 24px;flex-wrap:wrap}
#club-preview[data-myems-layout] .cp-logo{color:#fff;text-decoration:none;font-size:25px;font-weight:700;letter-spacing:-1px;line-height:1.2}
#club-preview[data-myems-layout] .cp-logo span{color:#ffd814}
#club-preview[data-myems-layout] .cp-logo{display:block;position:relative;flex:none;width:178px;max-width:100%;line-height:0}
#club-preview[data-myems-layout] .cp-logo img{display:block;width:100%;height:auto}
#club-preview[data-myems-layout] .cp-logo .myems-logo-light{position:absolute;inset:0;filter:brightness(0) invert(1);clip-path:inset(0 0 0 33.6%);pointer-events:none}
#club-preview[data-myems-layout] .cp-search{display:flex;flex:1;min-width:180px;margin:0}
#club-preview[data-myems-layout] .cp-search input{font:16px/1.4 Arial,Helvetica,sans-serif;min-width:0;width:100%;min-height:44px;padding:10px;border:0;border-radius:4px 0 0 4px;background:#fff;color:#17212b;box-shadow:none}
#club-preview[data-myems-layout] .cp-search button{min-width:48px;min-height:44px;border:0;background:#febd69;padding:8px 12px;color:#17212b;border-radius:0 4px 4px 0;font-size:24px;line-height:1;cursor:pointer}
#club-preview[data-myems-layout] .cp-cart{font:14px/1.4 Arial,Helvetica,sans-serif;color:#fff;background:transparent;border:0;padding:8px;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;cursor:pointer}
#club-preview[data-myems-layout] .cp-nav{background:#232f3e;color:#fff;display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:0 24px;position:relative;z-index:50}
#club-preview[data-myems-layout] .cp-nav>a,#club-preview[data-myems-layout] .cp-menu>button{font:15px/1.5 Arial,Helvetica,sans-serif;min-height:48px;padding:13px 0;color:#fff;background:none;border:0;text-decoration:none;cursor:pointer}
#club-preview[data-myems-layout] .cp-menu{position:relative}
#club-preview[data-myems-layout] .cp-drop{position:absolute;top:100%;left:0;min-width:265px;background:#fff;color:#17212b;box-shadow:0 7px 16px #0003;padding:8px;border:1px solid #ddd}
#club-preview[data-myems-layout] .cp-drop a{display:block;min-height:44px;padding:12px;color:#17212b;text-decoration:none}
#club-preview[data-myems-layout] .cp-drop a:hover{background:#edf5f6}
#club-preview[data-myems-layout] .cp-foot{background:#232f3e;color:#fff;padding:28px;display:flex;gap:24px;justify-content:space-between;flex-wrap:wrap;font:15px/1.6 Arial,Helvetica,sans-serif}
#club-preview[data-myems-layout] .cp-foot a{color:#fff;display:inline-block;padding:5px 0;text-underline-offset:3px}
#club-preview[data-myems-layout] .cp-foot .withdraw-footer{display:inline-block;background:#ffd814;color:#17212b!important;padding:8px 14px;border-radius:6px;margin:8px 0;text-decoration:none}
#club-preview[data-myems-layout] .myems-menu-toggle{display:none}
#club-preview[data-myems-layout] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #007185;outline-offset:3px}
#club-preview[data-myems-layout] :is(.cp-head,.cp-nav,.cp-foot) :is(a,button,input):focus-visible{outline-color:#ffd814}
#club-preview[data-myems-layout] .myems-flow-main{padding:30px 20px 40px;background:#f4f7f8;min-height:55vh}
#club-preview[data-myems-layout] .myems-flow{width:100%;max-width:760px;margin:0 auto;padding:clamp(20px,4vw,40px);font:16px/1.6 Arial,Helvetica,sans-serif;background:#fff;color:#17212b;border:1px solid #d5d9d9;border-radius:8px;overflow-wrap:anywhere}
#club-preview[data-myems-layout] .myems-flow h1{font:700 clamp(26px,5vw,36px)/1.2 Arial,Helvetica,sans-serif;margin:0 0 20px;color:#17212b}
#club-preview[data-myems-layout] .myems-flow p{margin:16px 0}
#club-preview[data-myems-layout] .myems-flow label{margin:18px 0;font-weight:700}
#club-preview[data-myems-layout] .myems-flow :is(input,select,textarea){max-width:100%;min-width:0;font:16px/1.5 Arial,Helvetica,sans-serif;color:#17212b;background:#fff;min-height:48px;margin-top:6px}
#club-preview[data-myems-layout] .myems-flow textarea{min-height:120px;resize:vertical}
#club-preview[data-myems-layout] .myems-flow input[type=checkbox]{min-height:20px;width:20px;height:20px;margin:4px 8px 4px 0;vertical-align:middle;accent-color:#007185}
#club-preview[data-myems-layout] .myems-flow button{background:#ffd814;color:#17212b;border:1px solid #fcd200;border-radius:25px;min-height:48px;padding:11px 22px;font:700 16px/1.5 Arial,Helvetica,sans-serif;white-space:normal}
#club-preview[data-myems-layout] .myems-flow aside{background:#edf5f6;border-left:4px solid #007185;padding:16px;margin:16px 0}
#club-preview[data-myems-layout] .myems-flow :is(pre,details){max-width:100%;overflow-wrap:anywhere}
#club-preview[data-myems-layout] .myems-flow summary{padding:12px 0;cursor:pointer}
#club-preview[data-myems-layout] .myems-flow a{color:#00576b}
body.myems-shop-flow-page .sfm-floating-menu{display:none!important}
#club-preview[data-myems-layout] .myems-skip{position:absolute;top:0;left:0;transform:translateY(-200%);padding:12px 20px;background:#ffd814;color:#17212b;z-index:100000}
#club-preview[data-myems-layout] .myems-skip:focus{transform:translateY(0)}
#club-preview[data-myems-layout] .myems-search-results{padding:20px 24px;border-bottom:1px solid #d5d9d9;background:#fff;color:#17212b}
#club-preview[data-myems-layout] .myems-search-results a{display:block;color:#00576b;padding:10px 0}
@media(max-width:650px){
  #club-preview[data-myems-layout] .cp-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:10px 12px}
  #club-preview[data-myems-layout] .cp-logo{font-size:21px;grid-column:1;grid-row:1;white-space:nowrap}
  #club-preview[data-myems-layout] .cp-logo{width:154px}
  #club-preview[data-myems-layout] .cp-cart{grid-column:2;grid-row:1;font-size:12px;padding:6px 2px}
  #club-preview[data-myems-layout] .cp-search{grid-column:1/-1;grid-row:2;min-width:0;width:100%}
  .myems-mobile-nav-js #club-preview[data-myems-layout] .myems-menu-toggle{display:flex;grid-column:3;grid-row:1;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:64px;padding:8px 6px;border:1px solid #64717e;border-radius:5px;background:transparent;color:#fff;font:13px/1.2 Arial,Helvetica,sans-serif;cursor:pointer}
  #club-preview[data-myems-layout] .myems-menu-icon{width:14px;height:12px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;position:relative}
  #club-preview[data-myems-layout] .myems-menu-icon:after{content:"";position:absolute;left:0;top:3px;width:14px;border-top:2px solid currentColor}
  #club-preview[data-myems-layout] .cp-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:4px 16px 12px}
  .myems-mobile-nav-js #club-preview[data-myems-layout] .cp-nav{display:none}
  .myems-mobile-nav-js #club-preview[data-myems-layout].myems-nav-open .cp-nav{display:flex}
  #club-preview[data-myems-layout] .cp-nav>a,#club-preview[data-myems-layout] .cp-menu>button{display:block;width:100%;min-height:48px;padding:12px 0;text-align:left;font-size:15px;white-space:normal}
  #club-preview[data-myems-layout] .cp-menu{width:100%}
  #club-preview[data-myems-layout] .cp-drop{position:static;min-width:0;width:100%;box-shadow:none;border-radius:5px;margin-bottom:6px}
  #club-preview[data-myems-layout] .cp-foot{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:24px 16px}
  #club-preview[data-myems-layout] .cp-foot a{min-height:44px;padding:10px 0}
  #club-preview[data-myems-layout] .cp-foot .withdraw-footer{padding:10px 14px}
  #club-preview[data-myems-layout] .myems-flow-main{padding:20px 12px 28px}
  #club-preview[data-myems-layout] .myems-flow{padding:20px 16px}
  #club-preview[data-myems-layout] .myems-flow .grid{grid-template-columns:minmax(0,1fr)}
  #club-preview[data-myems-layout] .myems-flow button{width:100%}
}

@media(max-width:650px){
  #club-preview #ems-market[data-myems-smart-purchase] #ep-main{grid-template-columns:minmax(0,1fr);gap:14px}
  #club-preview #ems-market[data-myems-smart-purchase] #ep-main>section:first-child{grid-row:3}
  #club-preview #ems-market[data-myems-smart-purchase] #ep-main>section:nth-child(2){grid-row:1}
  #club-preview #ems-market[data-myems-smart-purchase] #ep-main>.buybox{grid-row:2;grid-column:1}
  #club-preview #ems-market[data-myems-smart-purchase] #ep-title{font-size:clamp(22px,6vw,30px)}
  #club-preview #ems-market[data-myems-smart-purchase] #ep-next{min-height:48px}
  #club-preview #ems-market .myems-smart-mobile-order{margin:8px 0 16px}
  #club-preview #ems-market .myems-smart-mobile-order p{font-size:13px;margin:0 0 4px}
  #club-preview #ems-market .myems-smart-mobile-order #ep-next{background:#ffd814;border-color:#e3bd00;font-weight:700}
  #club-preview #ems-market[data-myems-smart-purchase] #ep-fit label{min-width:0!important}
  #club-preview #ems-market[data-myems-smart-purchase] #ep-fit select{min-height:44px}
}
