*{box-sizing:border-box}body{margin:0;background:#f4f5f6;color:#20242a;font:16px/1.6 system-ui,sans-serif}a{color:inherit}button,input,textarea,select{font:inherit}button,.btn{border:0;border-radius:7px;background:#c62631;color:white;padding:12px 20px;text-decoration:none;cursor:pointer;display:inline-block;font-weight:650}.secondary{background:white;color:#24282e;border:1px solid #d5d8dc}.wrap{max-width:1120px;margin:auto;padding:0 24px}header{background:#fff;border-bottom:1px solid #e4e6e8}nav{height:86px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-size:27px;font-weight:900;text-decoration:none;letter-spacing:-1px}.brand span{color:#c62631}nav small{font-size:13px;color:#737880}.intro{padding:48px 0 28px}h1{font-size:clamp(28px,4vw,42px);line-height:1.2;letter-spacing:-1px;margin:9px 0 16px}h2{line-height:1.3}.eyebrow{color:#b2222d;font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.muted{color:#68717b}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:16px 0 60px}.card{overflow:hidden;background:#fff;border-radius:10px;border:1px solid #e0e3e6}.card>a{text-decoration:none}.photo{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;background:#e3e7ea}.body{padding:22px}.body h2{font-size:21px;margin:12px 0}.pill{font-size:12px;background:#e9f3ec;color:#2c6441;border-radius:4px;padding:4px 8px;display:inline-block;font-weight:700}.ended{background:#eee;color:#666}.price{font-size:28px;font-weight:800;margin:8px 0}.line{border-top:1px solid #e8eaec;margin-top:18px;padding-top:14px;display:flex;justify-content:space-between;gap:12px;font-size:13px}.detail{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:32px;margin:28px 0 60px}.panel{background:white;border:1px solid #e0e3e6;border-radius:10px;padding:26px;margin-bottom:22px}.panel .btn{width:100%;text-align:center;margin-top:12px}.gallery img{border-radius:8px}.thumbs{display:flex;gap:8px;overflow:auto;margin-top:10px}.thumbs button{padding:0;background:none;flex:0 0 85px}.thumbs img{width:85px;height:60px;object-fit:cover}.description{white-space:pre-wrap;overflow-wrap:anywhere}label{display:block;font-size:14px;font-weight:650;margin:17px 0 6px}input,textarea,select{width:100%;padding:11px;border:1px solid #cdd2d7;border-radius:6px;background:white;color:#20242a}textarea{min-height:170px;resize:vertical}form button{margin-top:20px}.notice{background:#fff1ce;color:#71520d;padding:12px 24px;font-size:14px}.success{background:#e8f4e9;color:#215431;padding:16px;border-radius:8px}.error{background:#fdebec;padding:16px;color:#8c1720;border-radius:8px}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.admin{max-width:760px;margin:30px auto 60px}.row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hint{font-size:13px;color:#69717b}.hidden{display:none!important}.inquiry{border-bottom:1px solid #ddd;padding:16px 0;overflow-wrap:anywhere}footer{padding:26px 0;border-top:1px solid #ddd;color:#707780;font-size:13px}.empty{padding:40px;background:white;border-radius:8px}dialog{border:0;border-radius:12px;max-width:540px;width:calc(100% - 32px);padding:30px}dialog::backdrop{background:#0008}a:focus-visible,button:focus-visible{outline:3px solid #2689c8;outline-offset:3px}@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}.detail{grid-template-columns:1fr}nav small{display:none}}@media(max-width:560px){.grid,.row{grid-template-columns:1fr}.wrap{padding:0 16px}.intro{padding-top:30px}nav{height:72px}.brand{font-size:23px}.panel{padding:20px}.grid{gap:18px}.actions .btn{font-size:14px;padding:10px 13px}}
input[type=radio],input[type=checkbox]{width:auto;margin-right:8px}.admin .thumbs{margin:16px 0}.card .btn{width:100%;text-align:center}.demo-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.demo-bar button{font-size:13px;padding:6px 12px;background:#71520d}.demo-preview{width:90px;height:65px;object-fit:cover;border-radius:5px}.close{float:right;padding:5px 12px;background:#eee;color:#333}.count{font-size:14px;color:#68717b;margin-bottom:12px}

.phone-contact{display:block;margin-top:20px;text-align:center;font-size:20px;font-weight:650;text-decoration:none}.phone-contact:hover{text-decoration:underline}.additional-info{margin-top:26px;padding-top:20px;border-top:1px solid #e8eaec}

.header-contacts{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;font-size:14px}.header-contacts a{white-space:nowrap}@media(max-width:1000px){nav small{display:none}}@media(max-width:560px){nav{height:auto;min-height:86px;flex-wrap:wrap;padding:14px 0;gap:8px}.header-contacts{justify-content:flex-start;gap:14px}}

.brand-intro{font-size:14px;max-width:850px;margin:0 0 18px}.brand-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.brand-filters a{display:inline-flex;gap:8px;align-items:center;padding:9px 15px;border:1px solid #d7dce1;background:#fff;border-radius:6px;text-decoration:none;font-size:14px;font-weight:650}.brand-filters a:hover{border-color:#c62631}.brand-filters a[aria-current=true]{background:#c62631;border-color:#c62631;color:white}.brand-filters span{font-size:12px;opacity:.7}

/* Mobile detail view: constrain intrinsic image and thumbnail widths. */
.detail > *, .gallery, .panel {min-width:0}
.gallery, .thumbs {max-width:100%}
.thumbs {min-width:0}
.photo {max-width:100%}
h1, h2 {overflow-wrap:anywhere}
input, textarea, select {min-width:0;max-width:100%}
@media(max-width:850px){.detail{grid-template-columns:minmax(0,1fr)}}

/* Compact, reorderable administration gallery. */
.photo-editor{margin:24px 0;padding:20px;border:1px solid #dce1e6;border-radius:9px;min-width:0;background:#fafbfc}
.photo-editor h3{margin:0 0 12px;font-size:19px}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;align-items:start;margin:16px 0;min-width:0}
.photo-card{min-width:0;border:1px solid #d8dee4;border-radius:7px;overflow:hidden;background:white}
.photo-image{position:relative;aspect-ratio:4/3;background:#e7ebef;overflow:hidden}
.photo-image img{display:block;width:100%;height:100%;object-fit:cover}
.photo-badge,.photo-new{position:absolute;top:7px;left:7px;font-size:11px;font-weight:750;background:#242a31db;color:white;padding:2px 7px;border-radius:4px}
.photo-card:first-child .photo-badge{background:#b5222d}
.photo-new{right:7px;left:auto;background:#ffffffea;color:#44515b}
.photo-tools{display:flex;justify-content:space-around;gap:2px;padding:3px;border-top:1px solid #e8ebee}
.photo-tools button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:34px;margin:0;padding:3px;background:transparent;color:#45515c;border-radius:4px;font-size:21px;line-height:1}
.photo-tools button:hover{background:#eef1f4}.photo-tools button:disabled{opacity:.28;cursor:default}
.photo-tools button[data-photo-action=remove]:hover{background:#fce8e9;color:#b2222d}
.photo-tools .photo-drag{cursor:grab}.photo-tools .photo-drag:active{cursor:grabbing}
.photo-cover{margin:0!important;width:100%;padding:6px 3px!important;border-radius:0!important;background:#fff!important;color:#a3252f!important;font-size:12px;border-top:1px solid #edf0f2!important}
.photo-cover:disabled{color:#62717e!important;cursor:default}
.photo-add{margin:0!important;min-height:155px;padding:12px!important;border:2px dashed #cdd5dd;border-radius:7px;background:transparent;color:#ad2631;font-size:15px}
.photo-add:hover{background:#fff;border-color:#c62631}
.photo-fallback{padding:7px}.photo-fallback label{font-size:12px;margin:3px 0}
.photo-editor-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;color:#687580}
.photo-editor-footer button{margin:0;font-size:12px;padding:6px 10px}
.photo-message{font-size:13px;overflow-wrap:anywhere}.photo-message:empty{display:none}
.photo-dragging{opacity:.5}.photo-drop-target{outline:3px solid #c62631;outline-offset:2px}
.photo-files-over{outline:2px dashed #c62631;outline-offset:3px}
.danger{background:#b51f2a}.danger-link{color:#a92530!important}
.line form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.line form button{margin-top:0}
@media(max-width:560px){.photo-editor{padding:12px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-tools button{min-height:40px;font-size:23px}.photo-cover{min-height:36px}.photo-add{min-height:130px}.line{flex-wrap:wrap}.line form{width:100%}}
@media(max-width:560px){.photo-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}.photo-tools button{min-width:0;width:100%}}
[hidden]{display:none!important}
