*{box-sizing:border-box}
body{margin:0;background:#f3eee6;color:#171414;font:14px Arial,sans-serif;display:grid;grid-template-columns:240px 1fr;min-height:100vh}
aside{background:#0c0b0b;color:white;padding:30px 20px}
aside img{width:90px;height:90px;object-fit:cover}
aside h2{font-size:15px;letter-spacing:.12em;margin-bottom:35px}
aside a{display:block;color:#bbb;text-decoration:none;padding:13px;border-bottom:1px solid #292525}
aside a.active,aside a:hover{color:#fff;background:#bd1b20}
main{padding:45px;overflow:auto}
header{display:flex;justify-content:space-between;align-items:center}
header small{color:#aa762b;letter-spacing:.2em;font-weight:bold}
h1{font:45px Georgia,serif;margin:8px 0}
.primary,button{background:#bd1b20;color:white;border:0;padding:15px 20px;text-decoration:none;font-weight:bold}
.status{background:white;padding:18px;margin:25px 0}
.status b{font-size:28px}
.status span{margin:0 15px}
.table{background:white}
.tr{display:grid;grid-template-columns:1.4fr 1fr 1fr .6fr .7fr .8fr;gap:12px;padding:16px;border-bottom:1px solid #eee;align-items:center}
.tr.head{background:#171414;color:white;font-size:11px;font-weight:bold}
.tr a{color:#8a5715}
.tr a.danger{color:#bd1b20}
.productCell{display:flex;align-items:center;gap:13px;min-width:0}.productCell>img,.noPhoto{width:78px;height:78px;flex:0 0 78px;border:1px solid #d8cec1;background:#161313;object-fit:cover}.noPhoto{display:grid;place-items:center;color:#b18b52;font-size:9px;font-style:normal;letter-spacing:.08em}.productCell>span{min-width:0}.productCell b,.productCell small{display:block}.productCell b{font-size:15px}.productCell small{margin-top:7px;color:#8a8178;font-size:10px}.rowActions{display:flex;flex-wrap:wrap;gap:8px}.rowActions a{white-space:nowrap}
.editor{background:white;padding:25px}
.photos{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.photo{border:2px dashed #c9b9a5;padding:14px;min-height:220px}
.photo b,.photo input{display:block;margin:8px 0}
.photo img{width:100%;height:140px;object-fit:cover}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0}
.fields label{font-weight:bold}
.fields input,.fields select,.fields textarea{display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #cfc5ba}
.fields .wide{grid-column:1/-1}
.check input{display:inline;width:auto}
.success,.error{padding:12px;background:#d9f2df;color:#19562a;margin:15px 0}
.error{background:#f6dada;color:#8a1515}
.login{display:grid;place-items:center;background:#090909;color:#222}
.login form{width:min(420px,90vw);background:#f3eee6;padding:35px}
.login img{width:110px;height:110px;object-fit:cover}
.login label,.login input{display:block;width:100%}
.login input{padding:12px;margin:7px 0 16px}
.login a{display:block;margin-top:20px;color:#777}
.login .forgot-link{color:#a66717;font-weight:bold;margin-top:16px}
.login .recovery-note{color:#665e56;line-height:1.55;margin:8px 0 20px}
.login .back-login{font-weight:bold;color:#777}
.login{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  padding:24px;
}
.login form{
  margin:auto;
  position:static;
}
@media(max-width:800px){body{display:block}
aside{padding:15px}
aside a{display:inline-block}
main{padding:20px}
.photos,.fields{grid-template-columns:1fr 1fr}
.tr{grid-template-columns:1fr 1fr}
.tr.head{display:none}
}
.productCell em{display:block;color:#b47a22;font-style:normal;font-size:12px;margin-top:3px}.secondary{display:inline-block;margin-left:10px;color:#7d531a;text-decoration:none}.eventPosterPreview{display:block;width:160px;height:200px;object-fit:cover;margin-top:12px}.eventAdminList{margin-top:28px;background:#fff;padding:24px}.eventAdminList h2{font:28px Georgia,serif}.eventAdminList article{display:grid;grid-template-columns:80px 1fr auto;gap:18px;align-items:center;padding:15px 0;border-top:1px solid #e6ddd3}.eventDate{height:68px;background:#171414;color:#fff;display:grid;place-items:center;align-content:center}.eventDate b{font:28px Georgia,serif}.eventDate span{color:#d0a04e;font-size:10px;letter-spacing:.15em}.eventAdminList p{margin:6px 0;color:#6d645c}@media(max-width:800px){.eventAdminList article{grid-template-columns:64px 1fr}.eventAdminList .rowActions{grid-column:2}.eventDate{height:60px}}
.photo-preview{display:flex;align-items:center;justify-content:center;width:100%;height:220px;margin:14px 0;background:#111;overflow:hidden;border:1px solid #d9cbb9}.photo-preview img{width:100%;height:100%;object-fit:contain;background:#111}.photo-empty{color:#8e8377;font-size:13px;text-align:center;padding:20px}.photo-file-name{display:block;min-height:18px;margin:0 0 10px;color:#786d61;font-size:12px;overflow-wrap:anywhere}
.research-box{display:grid;grid-template-columns:1fr auto;gap:10px 24px;align-items:center;padding:20px 22px;border-left:5px solid #c91d25;background:#171414;color:#fff}.research-box b{font-size:18px}.research-box p{margin:7px 0 0;color:#d5ccc2;line-height:1.45}.research-button{border:0;background:#c91d25;color:#fff;padding:15px 18px;font-weight:800;letter-spacing:.04em;cursor:pointer}.research-button:disabled{opacity:.6;cursor:wait}.research-status{grid-column:1/-1!important;margin:0!important;color:#e0ae52!important;font-weight:700}@media(max-width:800px){.research-box{grid-template-columns:1fr}.research-button{width:100%}}
.promotionSwitch,.promotionProduct{align-items:flex-start!important;padding:18px 20px!important;background:#fff7e9!important;border:1px solid #d8b46f!important}.promotionSwitch input,.promotionProduct input{margin-top:4px;transform:scale(1.25)}.promotionSwitch span,.promotionProduct span{display:block}.promotionSwitch b,.promotionProduct b{display:block;color:#9b171d;font-size:15px;margin-bottom:5px}.promotionSwitch small,.promotionProduct small{display:block;color:#74695c;font-size:11px;line-height:1.45;font-weight:400}
.promotionManager{background:#171414;color:#fff;padding:24px}.promotionManager>div:first-child b{font-size:19px}.promotionManager>div:first-child p{color:#aaa;margin:6px 0 20px}.promotionChoices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.promotionChoices label{display:grid;grid-template-columns:24px 58px 1fr;align-items:center;gap:10px;background:#292525;padding:10px;cursor:pointer}.promotionChoices input{accent-color:#c91d25;transform:scale(1.2)}.promotionChoices img,.promoNoImage{width:58px;height:58px;object-fit:cover;background:#100e0e;display:grid;place-items:center;color:#d0a04e}.promotionChoices strong{font-size:12px;line-height:1.35}@media(max-width:900px){.promotionChoices{grid-template-columns:1fr 1fr}}@media(max-width:600px){.promotionChoices{grid-template-columns:1fr}}
.promotionStatus{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;margin-bottom:22px;border-left:6px solid}.promotionStatus.isOn{background:#edf8ef;border-color:#2d8746}.promotionStatus.isOff{background:#fff2e7;border-color:#c56c21}.promotionStatus b{font-size:13px}.promotionStatus p{margin:5px 0 0;color:#6d655e;font-size:12px}.promotionStatus a,.promotionStatus button{background:#171414;color:#fff;padding:11px 14px;border:0;font-size:10px;font-weight:800;cursor:pointer}.promotionPageForm{background:#fff;padding:24px}.promotionPageHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.promotionPageHead>div{font-size:13px}.promotionPageHead>div b{font:30px Georgia;color:#c91d25;margin-right:6px}.promotionCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.promotionCard{position:relative;display:grid;grid-template-columns:110px 1fr;min-height:125px;background:#171414;color:#fff;border:3px solid transparent;cursor:pointer;overflow:hidden}.promotionCard>input{position:absolute;opacity:0;pointer-events:none}.promotionCard:has(input:checked){border-color:#c91d25}.promotionCheck{position:absolute;right:9px;top:9px;width:26px;height:26px;border-radius:50%;background:#4d4745;color:#8d8784;display:grid;place-items:center;font-weight:900}.promotionCard:has(input:checked) .promotionCheck{background:#c91d25;color:#fff}.promotionThumb{height:125px;background:#2b1719;display:grid;place-items:center;color:#d0a04e;font-size:38px}.promotionThumb img{display:block;width:110px!important;height:125px!important;max-width:110px!important;object-fit:cover!important}.promotionMeta{padding:18px 38px 14px 15px;display:flex;flex-direction:column}.promotionMeta b{font:20px Georgia}.promotionMeta small{color:#d0a04e;margin-top:5px}.promotionMeta em{color:#aaa;font-style:normal;font-size:10px;margin-top:auto}.promotionEmpty{text-align:center;padding:60px 20px;background:#f3ede4}.promotionEmpty h2{font:35px Georgia;margin:0}.promotionEmpty p{color:#766d65}@media(max-width:1050px){.promotionCards{grid-template-columns:1fr 1fr}}@media(max-width:700px){.promotionStatus,.promotionPageHead{align-items:flex-start;flex-direction:column}.promotionCards{grid-template-columns:1fr}.promotionPageHead .primary,.promotionStatus form,.promotionStatus button{width:100%;text-align:center}}
