/* =====================================================================================================
   CF 20 Nov - THE CHECKOUT SIGN-IN SCREEN (#cfGate), review step 11
   Built like the account panel (step 10): two anchored groups and one free space, one spacing scale,
   every word black, the site's own field box.
     top row   = the logo; js/custom/cf-slide.js adds the site's close button (back to where you were)
     top group = "Prijavite se ili napravite račun i dobijate:", the three perks under their line icons
                 (phones: one line each, icon then words), the two fields, ZABORAVLJENA LOZINKA?,
                 then the pair of buttons: PRIJAVA (black) and NASTAVITE KAO GOST (inverse, 8 px under).
                 The group sits in the middle of the free space.
     bottom    = "Nemate račun?" with the link NAPRAVITE RAČUN.
   The fields are NOT restyled here: they are the site's 60 px box with the label inside (custom.css),
   the same as on the sign-in page, registration and the checkout form.
   Phones and tablets: a white screen. Desktop (900 px up): the shop-front photo keeps the left half.
   Loads before custom.css; the doubled id and !important are there to win. Undo: delete this file.
   ===================================================================================================== */

/* ---- the shell below 900 px: white, a column; the photo strip becomes the 48 px logo row ---- */
@media (max-width:899.98px){
 html body #cfGate#cfGate:not(#p):not(#p){display:flex !important;flex-direction:column !important;grid-template-columns:none !important;background:#fff !important;color:#000 !important;overflow-x:hidden !important;overflow-y:auto !important;overscroll-behavior:contain}
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__shot{flex:none !important;box-sizing:border-box !important;height:48px !important;min-height:0 !important;padding:0 12px !important;display:flex !important;align-items:center !important;background:none !important}
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__mark,html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__mark *{color:#000 !important;text-shadow:none !important;text-decoration:none !important;border:0 !important;font:400 22px/22px "GFS Didot",Georgia,serif !important;letter-spacing:.04em !important;text-transform:none !important;white-space:nowrap !important}
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__mark{display:flex !important;align-items:center !important;height:48px !important}
}
/* ---- the column: fills its side; 12 px margins on phones, a 384 px column from 576 px up ---- */
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__panel{flex:1 1 auto !important;box-sizing:border-box !important;min-height:0 !important;padding:0 12px calc(12px + env(safe-area-inset-bottom,0px)) !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:flex-start !important;background:#fff !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__col{flex:1 1 auto !important;box-sizing:border-box !important;width:100% !important;max-width:none !important;margin:0 !important;gap:0 !important;display:flex !important;flex-direction:column !important}
@media (min-width:576px){
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__col{max-width:384px !important}
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__panel{padding-bottom:48px !important}
}
@media (min-width:900px){html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__panel{padding:72px 48px 48px !important}}
/* the form and the link row are not boxes: their children take their places in the column */
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__form,html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__row{display:contents !important}

/* ---- top group ---- */
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__lead{order:1 !important;margin:auto 0 0 !important;padding:24px 0 0 !important;font:300 13px/20px Montserrat,sans-serif !important;letter-spacing:0 !important;text-transform:none !important;text-align:center !important;color:#000 !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__lead::after{content:none !important;display:none !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__perks{order:2 !important;display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:0 12px !important;margin:24px 0 0 !important;padding:0 !important;list-style:none !important;border:0 !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__perks li{display:flex !important;flex-direction:column !important;align-items:center !important;gap:8px !important;margin:0 !important;padding:0 !important;border:0 !important;text-align:center !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__perks svg{display:block !important;flex:none !important;width:20px !important;height:20px !important;stroke:#000 !important;stroke-width:1.35 !important;fill:none !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__perks span{font:300 13px/20px Montserrat,sans-serif !important;letter-spacing:0 !important;text-transform:none !important;color:#000 !important}
@media (max-width:575.98px){
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__perks{display:flex !important;flex-direction:column !important;align-self:center !important;width:max-content !important;max-width:100% !important;gap:12px !important}
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__perks li{flex-direction:row !important;align-items:center !important;gap:12px !important;text-align:left !important}
}
/* the fields: the site's box as custom.css draws it; only their place and the 12 px between them are set here */
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__f{order:3 !important;flex:none !important;margin:12px 0 0 !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__perks ~ .cf-gate__form>.cf-gate__f:first-of-type,html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__form>.cf-gate__f:first-of-type{margin-top:32px !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__f input{font-size:16px !important}
@media (min-width:576px){html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__f input{font-size:12px !important}}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__err{order:3 !important;margin:8px 0 0 !important;padding:0 !important;border:0 !important;max-width:none !important;font:300 12px/16px Montserrat,sans-serif !important;letter-spacing:normal !important;text-transform:none !important;color:#A82A1E !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__row a[href*="reset"]{order:4 !important;align-self:flex-end !important;display:flex !important;align-items:center !important;height:44px !important;margin:0 !important;font:400 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-transform:uppercase !important;text-decoration:none !important;color:#000 !important;border:0 !important;padding:0 !important}
/* the pair of buttons */
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__btn{box-sizing:border-box !important;display:flex !important;align-items:center !important;justify-content:center !important;width:100% !important;height:44px !important;min-height:44px !important;padding:0 !important;border:1px solid #000 !important;border-radius:0 !important;box-shadow:none !important;font:300 11px/1 Montserrat,sans-serif !important;letter-spacing:3.08px !important;text-indent:3.08px !important;text-transform:uppercase !important;text-decoration:none !important;cursor:pointer;margin:0 !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__btn--fill{order:5 !important;margin-top:4px !important;background:#000 !important;color:#fff !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__btn--ghost{order:6 !important;margin-top:8px !important;background:#fff !important;color:#000 !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__btn:focus-visible{outline:1px solid #000 !important;outline-offset:3px !important}

/* ---- bottom group: one sentence and its link ---- */
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__row a[href*="registration"]{order:9 !important;align-self:center !important;display:block !important;margin:auto 0 0 !important;padding:24px 0 12px !important;border:0 !important;text-align:center !important;font:400 11px/20px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-indent:.14em !important;text-transform:uppercase !important;text-decoration:none !important;color:#000 !important}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__row a[href*="registration"]::before{content:"Nemate račun?";display:inline-block;width:100%;margin:0 0 12px;font:300 13px/20px Montserrat,sans-serif;letter-spacing:0;text-indent:0;text-transform:none;text-decoration:none;color:#000}
@media (hover:hover){
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__row a[href*="reset"]:hover{text-decoration:underline !important;text-decoration-thickness:1px !important;text-underline-offset:5px !important}
 html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__row a[href*="registration"]:hover{text-decoration:underline !important;text-decoration-thickness:1px !important;text-underline-offset:5px !important}
}

/* ---- the close button (added by cf-slide.js): the site's cross, two 14 px strokes in a 44 px box ---- */
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__x{position:absolute !important;top:2px !important;right:0 !important;z-index:3 !important;width:44px !important;height:44px !important;margin:0 !important;padding:0 !important;background:none !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;cursor:pointer;--cf-x-dx:5px}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__x::before,html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__x::after{content:"";position:absolute;left:calc(50% + var(--cf-x-dx,0px));top:50%;width:14px;height:1px;margin:-.5px 0 0 -7px;background:#000;transform-origin:50% 50%}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__x::before{transform:rotate(45deg)}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__x::after{transform:rotate(-45deg)}
html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__x:focus-visible{outline:1px solid #000 !important;outline-offset:-8px !important}
@media (min-width:576px) and (max-width:899.98px){html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__x{right:0 !important}}
@media (min-width:900px){html body #cfGate#cfGate:not(#p):not(#p) .cf-gate__x{top:14px !important;right:24px !important;--cf-x-dx:-7px}}
