/* SONURUN V10 – membership restore + stable rail controls */

/* Header: make member entry explicit without crowding the marketplace header */
body.sn3-site .sn10-login-pill{height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #e3e6ea;border-radius:12px;background:#fff;color:#17191d;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap}
body.sn3-site .sn10-login-pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
body.sn3-site .sn10-login-pill:hover{border-color:#17191d;background:#f7f8fa}
body.sn3-site .sn3-topbar .sn10-member-link{font-weight:900;color:#17191d}

/* Product/category rail controls: live in the section header, never over title/link */
body.sn3-site .sn10-scroll-section .sn3-section-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;padding-right:0!important}
body.sn3-site .sn10-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex:0 0 auto}
body.sn3-site .sn10-head-actions>a{color:#17191d;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap}
body.sn3-site .sn10-rail-controls{display:flex;align-items:center;gap:8px}
body.sn3-site .sn10-rail-controls .sn3-rail-arrow{position:static!important;inset:auto!important;transform:none!important;display:grid!important;place-items:center!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;margin:0!important;padding:0!important;border:1px solid #dfe3e8!important;border-radius:13px!important;background:#fff!important;color:#17191d!important;box-shadow:0 8px 22px rgba(17,19,24,.07)!important;font-size:27px!important;line-height:1!important;opacity:1!important;visibility:visible!important}
body.sn3-site .sn10-rail-controls .sn3-rail-arrow:hover{background:#17191d!important;color:#fff!important;border-color:#17191d!important}
body.sn3-site .sn3-home-stores .sn10-rail-controls .sn3-rail-arrow{background:#fff!important;color:#17191d!important}
body.sn3-site .sn10-scroll-section .sn3-scroll-shell{position:relative!important}

/* Registration – preserve old account details in the new marketplace look */
body.sn3-site .sn10-register-page .sn3-register-shell{align-items:flex-start}
body.sn3-site .sn10-register-page .sn3-register-card{max-width:860px}
body.sn3-site .sn10-register-page .sn3-account-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.sn3-site .sn10-register-page .sn3-account-type{min-height:112px;padding:18px;border:1px solid #e1e4e8;border-radius:16px;background:#fff;cursor:pointer;transition:.18s ease}
body.sn3-site .sn10-register-page .sn3-account-type.active{border-color:#e31d24;box-shadow:0 0 0 3px rgba(227,29,36,.08);background:#fffafa}
body.sn3-site .sn10-register-page .sn3-account-type input{position:absolute;opacity:0;pointer-events:none}
body.sn3-site .sn10-account-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f1f3f5;margin-bottom:8px}
body.sn3-site .sn10-register-page .sn3-form-section{border:1px solid #e5e7eb;border-radius:18px;background:#fff;padding:20px;margin-top:16px}
body.sn3-site .sn10-register-page .sn3-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.sn3-site .sn10-register-page .sn3-form-grid>label{display:flex;flex-direction:column;gap:7px;min-width:0}
body.sn3-site .sn10-register-page .sn3-form-grid>label>span,
body.sn3-site .sn10-register-page .sn10-citizen-box>span{font-size:11px;font-weight:900;letter-spacing:.04em;color:#30343a}
body.sn3-site .sn10-register-page input[type=text],
body.sn3-site .sn10-register-page input[type=email],
body.sn3-site .sn10-register-page input[type=tel],
body.sn3-site .sn10-register-page input[type=password],
body.sn3-site .sn10-register-page input[type=date],
body.sn3-site .sn10-register-page input[type=url],
body.sn3-site .sn10-register-page select,
body.sn3-site .sn10-register-page textarea{width:100%;min-height:50px;border:1px solid #dfe3e8;border-radius:12px;background:#f8f9fb;color:#17191d;padding:0 14px;font:inherit;font-size:13px;outline:none}
body.sn3-site .sn10-register-page textarea{padding-top:13px;min-height:90px;resize:vertical}
body.sn3-site .sn10-register-page input:focus,
body.sn3-site .sn10-register-page select:focus,
body.sn3-site .sn10-register-page textarea:focus{border-color:#17191d;background:#fff;box-shadow:0 0 0 3px rgba(17,19,24,.06)}
body.sn3-site .sn10-register-page .span-2{grid-column:1/-1}
body.sn3-site .sn10-citizen-box{grid-column:1/-1;border:1px solid #e3e6ea;border-radius:13px;padding:13px 14px;background:#f8f9fb}
body.sn3-site .sn10-citizen-box>div{display:flex;gap:20px;margin-top:9px}
body.sn3-site .sn10-citizen-box label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:750;color:#31353b}
body.sn3-site .sn10-register-page input[type=file]{min-height:50px;padding:10px;border:1px dashed #cfd4da;border-radius:12px;background:#fafbfc;font-size:12px}
body.sn3-site .sn10-register-page .sn3-consents{margin-top:18px;display:grid;gap:10px}
body.sn3-site .sn10-register-page .sn3-consents label{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.45;color:#555d68}
body.sn3-site .sn10-register-page .sn3-consents input{margin-top:2px}

/* Quick correction for any legacy arrow selectors that try to position controls */
body.sn3-site .sn10-rail-controls>.sn3-rail-arrow.prev,
body.sn3-site .sn10-rail-controls>.sn3-rail-arrow.next{right:auto!important;left:auto!important;top:auto!important;bottom:auto!important}

@media(max-width:1180px){
  body.sn3-site .sn10-login-pill span{display:none}
  body.sn3-site .sn10-login-pill{width:42px;padding:0;justify-content:center}
}

@media(max-width:900px){
  body.sn3-site .sn10-login-pill{display:none}
  body.sn3-site .sn10-scroll-section .sn3-section-head{align-items:flex-start!important;gap:12px!important}
  body.sn3-site .sn10-head-actions{align-self:flex-start;gap:8px}
  body.sn3-site .sn10-head-actions>a{display:none}
  body.sn3-site .sn10-rail-controls{gap:7px}
  body.sn3-site .sn10-rail-controls .sn3-rail-arrow{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:12px!important;font-size:26px!important}
  body.sn3-site .sn10-register-page .sn3-auth-aside{display:none!important}
  body.sn3-site .sn10-register-page .sn3-register-shell{display:block!important}
  body.sn3-site .sn10-register-page .sn3-register-card{max-width:none!important;width:100%!important}
}

@media(max-width:680px){
  body.sn3-site .sn10-scroll-section .sn3-section-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;margin-bottom:16px!important}
  body.sn3-site .sn10-scroll-section .sn3-section-head>div:first-child{min-width:0!important;padding-right:0!important}
  body.sn3-site .sn10-scroll-section .sn3-section-head h2{font-size:25px!important;line-height:1.08!important;max-width:100%!important;margin-right:0!important}
  body.sn3-site .sn10-head-actions{grid-column:2;grid-row:1;align-self:start!important;margin-top:0!important}
  body.sn3-site .sn10-rail-controls .sn3-rail-arrow{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;font-size:25px!important}
  body.sn3-site .sn10-register-page .sn3-account-switch,
  body.sn3-site .sn10-register-page .sn3-form-grid{grid-template-columns:1fr!important}
  body.sn3-site .sn10-register-page .span-2,.sn10-citizen-box{grid-column:auto!important}
  body.sn3-site .sn10-register-page .sn3-form-section{padding:15px;border-radius:15px}
}

@media(max-width:390px){
  body.sn3-site .sn10-scroll-section .sn3-section-head h2{font-size:22px!important}
  body.sn3-site .sn10-rail-controls .sn3-rail-arrow{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;font-size:23px!important}
}
