:root{--green:#003f35;--green2:#062f29;--gold:#c8923d;--cream:#faf6ed;--line:#e7dbc9;--text:#1d2b29;--muted:#71807d;--white:#fff;--danger:#b64848}*{box-sizing:border-box}body{margin:0;font-family:'Inter',system-ui,Arial,sans-serif;background:#f6f1e8;color:var(--text)}a{text-decoration:none;color:inherit}.layout{display:flex;min-height:100vh}.sidebar{width:284px;background:linear-gradient(180deg,#003f35,#052a25);color:#fff;position:fixed;inset:0 auto 0 0;padding:26px 18px;overflow:auto}.brand{display:flex;gap:13px;align-items:center;padding:0 8px 15px;border-bottom:1px solid rgba(255,255,255,.14)}.mark{width:46px;height:46px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold);font-family:Georgia,serif;font-size:25px}.brand h2{font-family:Georgia,serif;color:#d4a14a;margin:0;font-size:22px;line-height:1}.brand small{color:#d8cab5}.nav{padding-top:22px}.nav a{display:flex;align-items:center;gap:11px;padding:12px 14px;border-radius:14px;color:#dce8e5;font-weight:600;font-size:14px;margin:4px 0}.nav a:hover,.nav a.active{background:rgba(200,146,61,.16);color:#fff}.nav i{color:#d3a04b;width:18px}.main{margin-left:284px;flex:1}.topbar{height:76px;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:5}.topbar h1{font-family:Georgia,serif;font-size:30px;color:var(--green);margin:0}.actions{display:flex;gap:12px;align-items:center}.btn{border:0;border-radius:12px;padding:12px 18px;background:var(--green);color:#fff;font-weight:700;cursor:pointer;box-shadow:0 8px 18px rgba(0,63,53,.16)}.btn.gold{background:linear-gradient(135deg,#d6a24c,#b77d28)}.btn.light{background:#fff;color:var(--green);border:1px solid var(--line);box-shadow:none}.btn.danger{background:var(--danger)}.content{padding:30px 34px 60px}.grid{display:grid;gap:22px}.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 42px rgba(45,32,11,.06);padding:24px}.stat{display:flex;justify-content:space-between;align-items:flex-start}.stat i{font-size:28px;color:var(--gold)}.stat b{font-size:32px;color:var(--green)}.stat p{margin:6px 0 0;color:var(--muted)}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.panel-title h2{font-family:Georgia,serif;color:var(--green);margin:0;font-size:24px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.field label{display:block;font-weight:700;color:#314845;margin:0 0 8px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:13px;background:#fffdfa;padding:13px 14px;font:inherit;outline:none}.field textarea{min-height:118px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(200,146,61,.12)}.full{grid-column:1/-1}.image-drop{border:1.5px dashed #cdbd9f;border-radius:18px;padding:24px;text-align:center;background:#fffaf1}.image-drop i{font-size:34px;color:var(--gold)}.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:14px}.thumb{height:90px;border-radius:14px;background:linear-gradient(135deg,#ece3d3,#d8c8ad);position:relative;overflow:hidden}.thumb:after{content:'x';position:absolute;right:7px;top:7px;background:#fff;border-radius:50%;width:22px;height:22px;text-align:center;line-height:22px;color:#8a2020}.table{width:100%;border-collapse:separate;border-spacing:0 10px}.table th{text-align:left;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;padding:0 14px}.table td{background:#fffdfa;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 14px}.table td:first-child{border-left:1px solid var(--line);border-radius:14px 0 0 14px}.table td:last-child{border-right:1px solid var(--line);border-radius:0 14px 14px 0}.pill{padding:6px 10px;border-radius:999px;background:#e7f3ef;color:var(--green);font-size:12px;font-weight:800}.editor-toolbar{display:flex;gap:8px;flex-wrap:wrap;border:1px solid var(--line);border-bottom:0;border-radius:13px 13px 0 0;padding:10px;background:#fffaf1}.editor-toolbar button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 10px}.editor{min-height:190px;border-radius:0 0 13px 13px!important}.split{grid-template-columns:1.3fr .7fr}.notice{background:linear-gradient(135deg,var(--green),#07594d);color:#fff;border-radius:22px;padding:22px;display:flex;justify-content:space-between;gap:20px;align-items:center}.notice h3{margin:0;font-family:Georgia,serif;font-size:24px}.notice p{margin:6px 0 0;color:#dce8e5}.page-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.page-tabs a{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:700;color:var(--green)}.page-tabs a.active{background:var(--green);color:#fff}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gallery-item{height:150px;border-radius:18px;background:linear-gradient(135deg,#184b43,#d7a250);position:relative}.gallery-item span{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,.9);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.property-img-tile{overflow:hidden;border:1px solid var(--line)}.property-img-tile input{position:absolute;top:10px;right:10px;width:18px;height:18px}.img-remove-btn{position:absolute;left:10px;bottom:10px;border:0;border-radius:999px;padding:4px 10px;background:#d64545;color:#fff;font-size:12px;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 5px 12px rgba(182,72,72,.35)}.img-remove-btn:hover{background:#bf3737}.room-badge{position:absolute;left:10px;top:10px;background:rgba(0,63,53,.88);color:#fff;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.amenity-list{display:grid;gap:10px}.amenity-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.amenity-add{margin-top:10px}.property-content{padding-bottom:130px}.property-action-footer{position:fixed;left:320px;right:34px;bottom:18px;z-index:60;display:flex;justify-content:flex-end;gap:12px;padding:10px 12px;background:rgba(246,241,232,.92);backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.12)}@media(max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}.split,.form-grid{grid-template-columns:1fr}.sidebar{width:240px}.main{margin-left:240px}.property-action-footer{left:274px}}@media(max-width:800px){.sidebar{position:static;width:100%;height:auto}.layout{display:block}.main{margin:0}.topbar{padding:0 18px}.content{padding:22px 18px}.cards,.gallery-grid{grid-template-columns:1fr}.thumbs{grid-template-columns:repeat(2,1fr)}.property-action-footer{left:12px;right:12px;bottom:12px}.property-action-footer .btn{flex:1;justify-content:center}}










/* Existing images UI cleanup */
.property-content .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.property-content .property-img-tile { height: 170px; border-radius: 14px; background-size: cover !important; background-position: center !important; background-repeat: no-repeat; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.property-content .property-img-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.08)); }
.property-content .room-badge, .property-content .img-remove-btn, .property-content .img-delete-check { z-index: 2; }
.property-content .img-delete-check { width: 16px; height: 16px; }

/* Final cleanup for property image cards */
.property-content .gallery-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:14px!important}
.property-content .property-img-tile{position:relative!important;height:170px!important;border-radius:16px!important;overflow:hidden!important;border:1px solid #d8c9b0!important;background:#0e2a24!important;box-shadow:0 8px 20px rgba(0,0,0,.18)!important}
.property-content .property-thumb{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.property-content .property-img-tile::before{content:''!important;position:absolute!important;inset:0!important;background:linear-gradient(to top,rgba(0,0,0,.45) 0%,rgba(0,0,0,.08) 55%,rgba(0,0,0,.02) 100%)!important}
/* Reserve right space so top label never runs under the checkbox */
.property-content .room-badge{
  position:absolute!important;
  left:10px!important;
  right:auto!important;
  top:10px!important;
  bottom:auto!important;
  box-sizing:border-box!important;
  background:rgba(0,55,47,.9)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:5px 12px!important;
  font-size:11px!important;
  font-weight:700!important;
  max-width:calc(100% - 44px)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  z-index:2!important;
}
.property-content .img-remove-btn{position:absolute!important;left:10px!important;bottom:10px!important;padding:4px 10px!important;font-size:12px!important;background:#d64545!important;color:#fff!important;border:0!important;border-radius:999px!important;z-index:3!important}
.property-content .img-delete-check{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  margin:0!important;
  flex-shrink:0!important;
  z-index:4!important;
  cursor:pointer;
}

/* Force two images per row in Existing Images */
.property-content .gallery-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}
@media(max-width:800px){
  .property-content .gallery-grid{
    grid-template-columns:1fr !important;
  }
}

/* Amenities page polish — equal-width columns (overrides global .split 1.3fr / .7fr) */
.amenities-page .amenities-layout{
  align-items:start;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media(max-width:1100px){
  .amenities-page .amenities-layout{grid-template-columns:1fr}
}
.amenities-page .amenities-add-card,.amenities-page .amenities-list-card{border-radius:18px}
.amenities-page .amenities-add-actions{display:flex;align-items:center;gap:12px}
.amenities-page .amenities-add-actions small{color:var(--muted);font-weight:500}
.amenities-page .empty-state{color:var(--muted);margin:8px 0 14px}
.amenities-page .amenities-sort-hint{display:block;margin:0 0 10px;color:#6e7d79;font-size:13px}
.amenities-page .amenities-list-wrap{max-height:420px;overflow:auto;padding-right:4px}
.amenities-page .amenity-item-row{display:grid;grid-template-columns:22px 34px 1fr auto;gap:10px;align-items:center;margin-bottom:10px}
.amenities-page .amenity-sortable-item{cursor:grab;user-select:none}
.amenities-page .amenity-sortable-item.dragging{opacity:.55;transform:scale(.99)}
.amenities-page .amenity-drag-handle{display:grid;place-items:center;color:#8aa39c;font-size:14px}
.amenities-page .amenity-order{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef4f2;color:var(--green);font-size:12px;font-weight:700;flex-shrink:0}
.amenities-page .amenity-item-row input[type="text"]{
  height:44px;border:1px solid #d9ccb6;border-radius:10px;background:linear-gradient(180deg,#fffdf8,#f8f2e7);
  padding:0 14px;font-weight:600;color:#24403a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  cursor:text;width:100%;
}
.amenities-page .amenity-item-row:hover input[type="text"]{border-color:#c8b596;background:linear-gradient(180deg,#fffcf5,#f6efe2)}
.amenities-page .amenity-item-row input[type="text"]:focus{
  outline:none;border-color:var(--gold);box-shadow:0 0 0 4px rgba(200,146,61,.12)
}
.amenities-page .amenity-remove-btn{padding:8px 12px;border-radius:10px;font-size:12px;box-shadow:0 6px 14px rgba(182,72,72,.24);cursor:pointer}

/* Property rooms page */
.property-rooms-page .property-rooms-layout{
  align-items:start;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media(max-width:1100px){
  .property-rooms-page .property-rooms-layout{grid-template-columns:1fr}
}
.property-rooms-page .property-rooms-add-card,.property-rooms-page .property-room-types-card{border-radius:18px}

/* Property room types */
.property-room-types-card{border-radius:18px}
.property-room-types-hint{margin:0 0 14px;color:#6e7d79;font-size:14px}
.property-rooms-sort-hint{display:block;margin:0 0 10px;color:#6e7d79;font-size:13px}
.property-room-types-list{display:flex;flex-direction:column;gap:10px;margin-bottom:14px;max-height:420px;overflow:auto;padding-right:4px}
.property-room-type-row{display:grid;grid-template-columns:22px 34px 1fr auto;gap:10px;align-items:center}
.property-room-sortable-item{cursor:grab;user-select:none}
.property-room-sortable-item.dragging{opacity:.55;transform:scale(.99)}
.property-room-drag-handle{display:grid;place-items:center;color:#8aa39c;font-size:14px}
.property-room-order{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef4f2;color:var(--green);font-size:12px;font-weight:700}
.property-room-type-row input[type="text"]{height:44px;border:1px solid #d9ccb6;border-radius:10px;padding:0 14px;font-weight:600;color:#24403a;background:linear-gradient(180deg,#fffdf8,#f8f2e7)}
.property-room-type-remove{padding:8px 12px;border-radius:10px;font-size:12px}
.property-room-type-add-form{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.property-room-type-add-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.property-room-type-add-row input[type="text"]{height:44px;border:1px solid #d9ccb6;border-radius:10px;padding:0 14px}

/* Home Tour CMS */
.home-tour-page{padding-bottom:130px}
.home-tour-page .home-tour-room-block{
  margin-bottom:22px;padding:0;border:1px solid #dfd2bc;border-radius:20px;background:#fff;
  box-shadow:0 14px 34px rgba(45,32,11,.07);overflow:hidden
}
.home-tour-page .home-tour-room-block__head{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:18px 22px;background:linear-gradient(135deg,#f8f2e7,#fffdf8);border-bottom:1px solid #ebe0cf
}
.home-tour-page .home-tour-remove-block{
  position:relative;z-index:2;flex-shrink:0;pointer-events:auto;
  background:#e13333!important;color:#fff!important;border:1px solid #c92b2b!important;
  box-shadow:0 2px 8px rgba(225,51,51,.25)
}
.home-tour-page .home-tour-remove-block:hover{
  background:#c92b2b!important;border-color:#b02525!important;color:#fff!important
}
.home-tour-page .home-tour-remove-block:disabled{
  opacity:.7;cursor:not-allowed
}
.home-tour-page .home-tour-room-block__eyebrow{
  display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9a8b72;margin-bottom:4px
}
.home-tour-page .home-tour-room-block__title{margin:0;font-family:Georgia,serif;font-size:22px;color:var(--green);line-height:1.25}
.home-tour-page .home-tour-room-fields{padding:22px;display:flex;flex-direction:column;gap:18px}
.home-tour-page .home-tour-fields-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:800px){.home-tour-page .home-tour-fields-row{grid-template-columns:1fr}}
.home-tour-page .home-tour-images-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.home-tour-page .home-tour-images-head label{margin:0}
.home-tour-page .home-tour-images-count{
  font-size:12px;font-weight:700;color:#1f6b4f;background:#e8f5ef;border-radius:999px;padding:5px 10px
}
.home-tour-page .home-tour-saved-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-bottom:14px
}
.home-tour-page .home-tour-room-select{
  min-height:auto;
  padding:0;
  line-height:1.45
}
.home-tour-page .home-tour-room-select-hint{
  display:block;margin-top:6px;font-size:12px;line-height:1.45;color:var(--muted)
}

/* Fix Select2 multiple height/spacing for Home Tour rooms */
.home-tour-page .select2-container--default .select2-selection--multiple{
  min-height:46px;
  height:auto;
  padding:6px 10px;
  overflow:visible;
}
.home-tour-page .select2-container--default .select2-selection__rendered{
  display:flex !important;
  flex-wrap:wrap;
  align-items:flex-start;
  padding:0 !important;
  margin:0 !important;
  min-height:0 !important;
  max-height:none;
  overflow:visible;
  gap:6px;
}
.home-tour-page .select2-container--default .select2-search--inline{
  display:none !important; /* keep height compact like screenshot */
}
.home-tour-page .select2-container--default .select2-selection__choice{
  margin:0 !important;
  padding:4px 10px !important;
  display:inline-flex !important;
  align-items:center;
  line-height:18px;
  height:auto;
}
.home-tour-page .select2-container--default .select2-selection__choice__remove{
  margin-right:6px !important;
  float:none !important;
  position:static !important;
  display:inline-flex !important;
  align-items:center;
  height:auto;
}
.home-tour-page .home-tour-room-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:10px;
  border:1px solid #d9ccb6;
  border-radius:14px;
  background:#fffaf1
}
.home-tour-page .home-tour-room-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid #d9ccb6;
  background:#fff;
  cursor:pointer;
  user-select:none;
  transition:background .15s ease,border-color .15s ease,transform .05s ease
}
.home-tour-page .home-tour-room-pill input{
  width:16px;height:16px;margin:0;accent-color:var(--green)
}
.home-tour-page .home-tour-room-pill span{
  font-size:14px;
  font-weight:700;
  color:#2f403c
}
.home-tour-page .home-tour-room-pill:has(input:checked){
  border-color:var(--gold);
  background:#fff6e7
}
.home-tour-page .home-tour-saved-item{
  display:flex;flex-direction:column;gap:8px
}
.home-tour-page .home-tour-saved-item__visual{
  position:relative;display:block;aspect-ratio:4/3;border-radius:14px;overflow:hidden;
  border:1px solid #d8c9b0;background:#f3ece0;cursor:pointer
}
.home-tour-page .home-tour-saved-item__visual img{width:100%;height:100%;object-fit:cover;display:block}
.home-tour-page .home-tour-image-caption{
  width:100%;height:38px;border:1px solid #d9ccb6;border-radius:10px;padding:0 12px;font-size:13px
}
.home-tour-page .home-tour-image-caption:focus{
  outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(200,146,61,.12)
}
.home-tour-page .home-tour-saved-item__shade{
  position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,.05));
  opacity:0;transition:opacity .2s ease
}
.home-tour-page .home-tour-saved-item__mark{
  position:absolute;left:10px;right:10px;bottom:10px;display:flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.94);font-size:12px;font-weight:700;color:#8a2020;
  opacity:0;transform:translateY(6px);transition:opacity .2s ease,transform .2s ease
}
.home-tour-page .home-tour-saved-item__visual:hover .home-tour-saved-item__shade,
.home-tour-page .home-tour-saved-item__visual:has(input:checked) .home-tour-saved-item__shade{opacity:1}
.home-tour-page .home-tour-saved-item__visual:hover .home-tour-saved-item__mark,
.home-tour-page .home-tour-saved-item__visual:has(input:checked) .home-tour-saved-item__mark{opacity:1;transform:translateY(0)}
.home-tour-page .home-tour-saved-item__visual:has(input:checked){outline:2px solid #d64545;outline-offset:2px}
.home-tour-page .home-tour-saved-item__visual input{width:16px;height:16px;margin:0;flex-shrink:0}
.home-tour-page .home-tour-image-draggable{cursor:grab}
.home-tour-page .home-tour-image-draggable.dragging{opacity:.55;transform:scale(.98)}
.home-tour-page .home-tour-upload-zone{
  position:relative;min-height:150px;border:1.5px dashed #cdbd9f;border-radius:16px;background:#fffaf1;
  padding:16px;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;cursor:pointer
}
.home-tour-page .home-tour-upload-zone:hover,
.home-tour-page .home-tour-upload-zone:focus-visible{
  border-color:var(--gold);box-shadow:0 0 0 4px rgba(200,146,61,.12);outline:none
}
.home-tour-page .home-tour-upload-zone.is-dragover{border-color:var(--gold);background:#fff6e7}
.home-tour-page .home-tour-file-input{
  position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2
}
.home-tour-page .home-tour-upload-zone:has(.home-tour-preview-grid:not([hidden])) .home-tour-file-input{
  pointer-events:none
}
.home-tour-page .home-tour-upload-zone__empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  min-height:118px;text-align:center;padding:10px
}
.home-tour-page .home-tour-upload-zone__icon{
  width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#e8f5ef,#fff);color:var(--green);font-size:22px;margin-bottom:4px
}
.home-tour-page .home-tour-upload-zone__empty strong{font-size:15px;color:#2f403c}
.home-tour-page .home-tour-upload-zone__empty span{font-size:12px;color:#8a9692;max-width:280px}
.home-tour-page .home-tour-upload-zone__size{
  color:#c62828;font-size:12px;font-weight:700;max-width:300px;line-height:1.4
}
.home-tour-page .home-tour-preview-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;position:relative;z-index:3
}
.home-tour-page .home-tour-preview-item{
  display:flex;flex-direction:column;gap:8px
}
.home-tour-page .home-tour-preview-item__thumb{
  position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;border:1px solid #d8c9b0;background:#eae4d8
}
.home-tour-page .home-tour-preview-item__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.home-tour-page .home-tour-preview-item__label{
  position:absolute;left:0;right:0;bottom:0;padding:8px 10px;font-size:11px;font-weight:700;color:#fff;
  background:linear-gradient(to top,rgba(0,0,0,.72),transparent);white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.home-tour-page .home-tour-preview-item__caption{margin:0}
.home-tour-page .home-tour-upload-hint{margin:10px 0 0;font-size:12px;line-height:1.45;color:var(--muted)}
.home-tour-page .home-tour-add-wrap{margin-top:6px}
.home-tour-page .property-action-footer{position:fixed;left:320px;right:34px;bottom:18px;z-index:60}
@media(max-width:1100px){.home-tour-page .property-action-footer{left:274px}}
@media(max-width:800px){.home-tour-page .property-action-footer{left:12px;right:12px}}

/* Sidebar single-line tab layout */
.sidebar .nav{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:6px}
.sidebar .nav a{display:flex!important;width:100%!important}

/* Home page drag-drop uploader */
.home-dropzone.drag-over{border-color:var(--gold)!important;background:#fff6e7!important;box-shadow:0 0 0 4px rgba(200,146,61,.14)}
#home-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-top:12px}
.home-upload-preview-thumb{height:96px;border-radius:12px;background-color:#eae4d8}

/* Home saved images: 2 per row + drag state */
.home-saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.home-saved-item{cursor:grab}
.home-saved-item.dragging{opacity:.55;transform:scale(.98)}
@media(max-width:800px){.home-saved-grid{grid-template-columns:1fr!important}}

/* Property CMS — existing images drag reorder (home.php–style) */
.property-gallery-draggable{cursor:grab}
.property-gallery-draggable.dragging{opacity:.55;transform:scale(.98)}
.property-gallery-drag-hint{display:block;margin-top:10px;color:#6e7d79;font-size:13px}
.property-content .property-upload-meta-row{margin-bottom:14px}
.property-content .property-gallery-saved-grid{margin-top:4px}
.property-content .property-gallery-badge{
  position:absolute;left:8px;right:8px;top:8px;z-index:2;padding:5px 8px;border-radius:8px;
  background:rgba(255,255,255,.92);font-size:10px;font-weight:700;line-height:1.35;color:#2f403c;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none
}
.property-content .property-saved-remove-btn{
  width:100%;margin:0;padding:8px 10px;border:1px solid #d9ccb6;border-radius:10px;background:#fff;
  color:#8a2020;font-size:12px;font-weight:700;cursor:pointer
}
.property-content .property-saved-remove-btn:hover{background:#fff5f5;border-color:#d64545}

/* Attractions list (drag rows to change sort_order) */
.attraction-sortable-row{cursor:grab}
.attraction-sortable-row.dragging{opacity:.55;transform:scale(.995)}
.attraction-order-cell{color:var(--green);font-weight:700;text-align:center}

/* Blog list (drag rows to change sort_order) */
.blog-sort-hint{display:block;margin:0 0 10px;color:#6e7d79;font-size:13px}
.blog-sortable-row{cursor:grab}
.blog-sortable-row.dragging{opacity:.55;transform:scale(.995)}
.blog-order-cell{color:var(--green);font-weight:700;text-align:center}

/* Property.php — Bootstrap row + col-md-4 (must not override display:flex on .row) */
.property-multi-upload-shell .property-upload-controls-row.row .field label{text-align:left}
.property-multi-upload-shell .property-upload-controls-row.row .field{margin:0}
.property-multi-upload-shell .property-upload-file-field input.upload{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:#fffdfa}
.property-multizone-drop{text-align:left}
.property-upload-required-hint,.property-upload-floor-hint{font-size:12px!important;line-height:1.45}
.property-upload-preview-row{margin-top:12px;padding-top:16px;border-top:1px dashed rgba(205,189,159,.75)}
.property-upload-preview-row .thumbs{margin-top:0}

/* Sidebar padding + brand logo */
.sidebar{padding:5px 26px 18px 5px}
.sidebar .brand{flex-direction:column;align-items:stretch;gap:10px}
.sidebar .brand-logo-link{display:block;width:100%;max-width:100%;line-height:0;text-decoration:none;opacity:.98}
.sidebar .brand-logo-link:hover{opacity:1}
.sidebar .brand-logo{display:block;width:45%;max-width:100%;max-height:clamp(40px,min(22vw,78px));height:auto;object-fit:contain;object-position:left center}
@media (max-width:800px){
  .sidebar .brand-logo{max-height:clamp(52px,min(28vw,100px));max-width:min(300px,calc(100% - 4px))}
}

/* —— Dashboard v2 — bento workspaces + hero */
.dash-shell{max-width:1200px;margin-inline:auto}
.dash-shell>.page-tabs{margin-bottom:18px}
.dash-hero{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  padding:clamp(28px,4vw,48px);
  margin-bottom:32px;
  background:linear-gradient(135deg,#f9faf8 0%,#eef5f3 42%,#f4ebe0 100%);
  border:1px solid rgba(0,63,53,.09);
  box-shadow:0 24px 50px rgba(15,63,53,.07);
}
.dash-hero__glow{
  pointer-events:none;
  position:absolute;
  width:clamp(260px,40vw,420px);
  height:clamp(260px,40vw,420px);
  right:-6%;
  top:-35%;
  background:radial-gradient(circle closest-side,rgba(200,146,61,.42),transparent 72%);
  filter:blur(2px);
  opacity:.95;
}
.dash-hero__layout{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,260px);
  gap:clamp(22px,3vw,40px);
  align-items:center;
}
@media(max-width:900px){.dash-hero__layout{grid-template-columns:1fr}}

.dash-hero__meta{
  margin:0 0 8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(113,128,125,.92);
}
.dash-live-clock{font-variant-numeric:tabular-nums;white-space:normal}
.dash-hero__title{
  margin:0 0 10px;
  font-family:Georgia,serif;
  font-size:clamp(1.75rem,3.5vw,2.55rem);
  line-height:1.08;
  color:var(--green);
}
.dash-hero__lead{margin:0 0 22px;max-width:46ch;line-height:1.55;color:#3f514d;font-size:1.03rem;font-weight:500}

.dash-hero__chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.dash-chip{
  display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;
  font-size:12px;font-weight:700;color:#29433d;background:rgba(255,255,255,.75);
  border:1px solid rgba(0,63,53,.1);
}
.dash-chip--ok{color:#225247;border-color:rgba(0,167,126,.35);background:rgba(231,246,239,.92)}
.dash-chip--warn{color:#8f2b2b;border-color:rgba(182,72,72,.42);background:#fff6f6}
.dash-chip--plain i{color:var(--gold)}

.dash-hero__cta{display:flex;flex-wrap:wrap;gap:11px}

.dash-hero__side{text-align:center}
.dash-hero__orbit{
  position:relative;display:grid;place-items:center;width:clamp(148px,32vw,200px);height:clamp(148px,32vw,200px);
  margin-inline:auto 0;
}
@media(max-width:900px){.dash-hero__orbit{margin-inline:auto}}

.dash-orbit-ring{
  position:absolute;inset:0;border-radius:50%;border:1px dashed rgba(0,63,53,.28);
  animation:dash-spin 42s linear infinite;
}
.dash-orbit-ring--delay{animation-delay:-21s;opacity:.45;transform:scale(.78)}
@keyframes dash-spin{to{transform:rotate(360deg)}}

.dash-orbit-badge{
  position:relative;display:flex;align-items:center;justify-content:center;
  box-sizing:border-box;width:60%;height:58%;border-radius:22px;padding:clamp(9px,2.2vmin,14px);
  background:linear-gradient(180deg,#fffef9,#faf5eb);
  border:2px solid rgba(183,125,40,.42);
  box-shadow:0 14px 32px rgba(0,63,53,.26), inset 0 1px 0 rgba(255,255,255,.92);
}
.dash-orbit-logo{
  width:100%;height:auto;max-height:clamp(52px,min(26vw,19vmin),92px);display:block;object-fit:contain;object-position:center;
}

.dash-hero-side__hint{margin:22px 0 0;font-size:12px;line-height:1.45;color:var(--muted);max-width:28ch;margin-inline:auto 0;text-align:inherit}
@media(max-width:900px){.dash-hero-side__hint{text-align:center;margin-inline:auto}}

.dash-btn-pulse{box-shadow:0 14px 32px rgba(183,125,40,.34)}

.dash-section-head{margin:8px 0 18px;display:flex;flex-wrap:wrap;gap:14px 24px;align-items:baseline}
.dash-section-head__title{margin:0;font-family:Georgia,serif;color:var(--green);font-size:1.65rem}
.dash-section-head__sub{margin:0;color:var(--muted);font-size:.95rem;max-width:44ch;line-height:1.45}

.dash-bento{
  display:grid;
  gap:clamp(16px,2.2vw,22px);
  grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));
}
@media(min-width:1000px){
  .dash-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-tile--featured{grid-column:1/-1}
}

.dash-tile{
  position:relative;display:flex;flex-direction:column;gap:14px;padding:clamp(22px,3vw,30px);
  border-radius:22px;background:#fff;border:1px solid var(--line);
  box-shadow:0 14px 36px rgba(45,32,11,.05);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.dash-tile::before{
  content:'';position:absolute;left:22px;right:22px;top:0;height:3px;border-radius:0 0 6px 6px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:.35;
  pointer-events:none;
}
.dash-tile:hover{
  transform:translateY(-3px);box-shadow:0 26px 50px rgba(0,63,53,.09);border-color:rgba(200,146,61,.42);
}

.dash-tile--featured{background:linear-gradient(160deg,#fffef9,#fff 55%);box-shadow:0 18px 44px rgba(200,146,61,.08)}

.dash-tile__head{display:flex;gap:14px;align-items:flex-start}
.dash-tile__icon{
  flex-shrink:0;display:grid;place-items:center;width:54px;height:54px;border-radius:16px;
  background:linear-gradient(146deg,#0a4a41,#084035);color:var(--gold);font-size:22px;
  box-shadow:0 12px 24px rgba(0,63,53,.26);
}

.dash-tile__labels{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.dash-tile__labels h4{margin:4px 0 0;font-family:Georgia,serif;font-size:1.28rem;color:var(--green);line-height:1.18;flex:1 1 auto}

.dash-badge{
  display:inline-block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;
  padding:5px 9px;border-radius:999px;background:rgba(200,146,61,.22);color:#6b4f10;
}

.dash-tile__hint{margin:0 0 auto;font-size:.92rem;line-height:1.5;color:var(--muted);flex-grow:1}

.dash-tile__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px;padding-top:8px;border-top:1px solid rgba(231,219,201,.92);width:100%}

.dash-tile-btn{
  display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:14px;
  font-weight:800;font-size:13px;text-decoration:none;transition:opacity .18s ease,background .18s,color .18s,border-color .18s;
}
.dash-tile-btn--primary{
  flex:1;justify-content:center;min-width:140px;color:#322105;
  background:linear-gradient(135deg,var(--gold),#d6a04a);border:1px solid rgba(183,125,40,.52);
}
.dash-tile-btn--primary:hover{color:#261900;opacity:.96;transform:translateY(-1px)}

.dash-tile-btn--ghost{
  border:1px solid var(--line);background:#faf8f5;color:#2c403b;
}
.dash-tile-btn--ghost:hover{border-color:rgba(0,63,53,.38);background:#fff}

@media (prefers-reduced-motion:reduce){
  .dash-orbit-ring,.dash-orbit-ring--delay{animation:none!important}
}

/* Topbar account — pill tab: avatar + name + chevron */
.actions--account{display:flex;align-items:center}
.topbar-dropdown{position:relative}
.topbar-dropdown .topbar-dropdown__toggle{
  width:auto;min-height:48px;height:auto;padding:5px 14px 5px 6px;margin:0;
  border-radius:999px!important;border:1px solid #d0e3dd!important;
  background:linear-gradient(180deg,#fff,#f6faf8)!important;
  box-shadow:0 6px 18px rgba(0,63,53,.08),inset 0 1px 0 rgba(255,255,255,.9);
}
.topbar-dropdown .topbar-dropdown__toggle:hover{
  border-color:rgba(200,146,61,.42)!important;box-shadow:0 10px 24px rgba(0,63,53,.1);
}
.topbar-dropdown .topbar-dropdown__toggle:after{display:none}
.topbar-dropdown .topbar-dropdown__toggle:focus-visible{outline:2px solid rgba(200,146,61,.85);outline-offset:3px}
.topbar-dropdown .topbar-dropdown__toggle.show,.topbar-dropdown .topbar-dropdown__toggle[aria-expanded="true"]{
  border-color:rgba(200,146,61,.55)!important;
  box-shadow:0 8px 22px rgba(200,146,61,.14),inset 0 1px 0 rgba(255,255,255,.92);
}

.topbar-dropdown__inner{display:inline-flex;align-items:center;gap:11px;max-width:min(290px,calc(100vw - 200px))}
.topbar-dropdown__avatar{
  flex-shrink:0;display:grid;place-items:center;width:42px;height:42px;overflow:hidden;
  border-radius:50%!important;border:2px solid #e8f0ed;background:#eef4f2;
}
.topbar-dropdown__avatar img{width:40px;height:40px;border-radius:50%!important;object-fit:cover;display:block}
.topbar-dropdown__name{
  flex:1;min-width:0;font-size:14px;font-weight:800;letter-spacing:.01em;color:var(--green);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2;
}
.topbar-dropdown__caret{
  flex-shrink:0;font-size:11px;color:#5d6e69;opacity:.88;margin-left:2px;transition:transform .2s ease;
}
.topbar-dropdown .topbar-dropdown__toggle[aria-expanded="true"] .topbar-dropdown__caret{transform:rotate(180deg)}

@media (max-width:520px){
  .topbar-dropdown__name{max-width:min(92px,24vw)}
}

.topbar-dropdown__menu{border-radius:16px!important;border:1px solid var(--line);padding:10px;margin-top:10px!important;min-width:13rem}
.topbar-dropdown__menu .dropdown-item{border-radius:10px;padding:11px 14px;font-weight:600;color:var(--text)}
.topbar-dropdown__menu .dropdown-item:hover{background:rgba(200,146,61,.14);color:#0d2f28}
.topbar-dropdown__menu .dropdown-item.text-danger:hover{background:rgba(182,72,72,.09)}

/* Sidebar logout — red-tint accent (leave / exit) */
.sidebar .nav a.sidebar-logout{
  margin-top:18px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  color:#ffefee!important;
  border:1px solid rgba(230,132,132,.52)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,rgba(182,72,72,.52),rgba(110,38,42,.26))!important;
  box-shadow:0 6px 22px rgba(56,12,14,.42), inset 0 1px 0 rgba(255,206,206,.22)!important;
}
.sidebar .nav a.sidebar-logout i{color:#ffb8b8!important;text-shadow:none}
.sidebar .nav a.sidebar-logout:hover,.sidebar .nav a.sidebar-logout:focus-visible{
  border-color:rgba(255,168,168,.82)!important;
  background:linear-gradient(180deg,rgba(200,72,72,.68),rgba(130,42,48,.42))!important;
  color:#fff!important;
}
.sidebar .nav a.sidebar-logout:focus-visible{outline:2px solid rgba(255,170,170,.9);outline-offset:2px}
@media (prefers-reduced-motion:no-preference){
  .sidebar .nav a.sidebar-logout{transition:background .22s ease,border-color .22s ease,transform .18s ease}
  .sidebar .nav a.sidebar-logout:hover{transform:translateY(-2px)}
}

/* Contact query detail — admin */
.query-detail-page .query-detail-alert{display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:16px;font-weight:700;margin-bottom:18px}
.query-detail-page .query-detail-alert--err{background:linear-gradient(135deg,rgba(182,72,72,.14),rgba(182,72,72,.06));border:1px solid rgba(182,72,72,.35);color:#7a2222}
.query-detail-page .query-detail-alert i{font-size:18px}
/* Bootstrap `.card` is flex column — can stretch/center descendants oddly; use block for this layout */
.query-detail-card.card{display:block;width:100%;max-width:100%!important;padding:26px 28px 30px!important}
.query-detail-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.query-detail-kicker{margin:0;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.query-detail-title{font-family:Georgia,serif;color:var(--green);font-size:clamp(26px,3vw,32px);margin:6px 0 0;line-height:1.1}
.query-detail-when{margin:10px 0 0;font-size:13px;color:#4a5956;font-weight:600;display:flex;align-items:center;gap:9px}
.query-detail-when i{opacity:.75;color:var(--gold)}
.query-detail-back{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}
.query-detail-stack{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:14px;width:100%;flex:0 0 auto;min-height:0}
.query-detail-row{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;width:100%
}
.query-detail-block{
  padding:16px 18px 17px;border-radius:16px;background:linear-gradient(165deg,#fffcf8 0%,#f7f3ea 100%);
  border:1px solid rgba(231,219,201,.92);box-shadow:0 6px 20px rgba(45,38,26,.045),inset 0 1px 0 rgba(255,255,255,.72)
}
.query-detail-block--cell{display:flex;flex-direction:column;min-height:100%;min-width:0}
.query-detail-value--grow{flex:1;display:flex;align-items:flex-start;min-width:0}
.query-detail-block.query-detail-block--message{
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex:0 0 auto;align-self:stretch;
  padding:10px 12px 12px;width:100%;min-height:0
}
.query-detail-label{
  display:flex;align-items:center;gap:9px;margin:0 0 11px;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#1a4940;line-height:1.2
}
.query-detail-label i{width:17px;text-align:center;color:var(--gold);font-size:13px;font-weight:400}
.query-detail-value{margin:0;font-size:16px;font-weight:600;color:#1f2e2c;line-height:1.55;word-break:break-word}
.query-detail-value--text{font-size:17px;margin:0;letter-spacing:.01em}
.query-detail-pill{
  display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#0d4a41;text-decoration:none;
  padding:9px 14px;border-radius:999px;background:#fff;border:1px solid rgba(13,74,65,.22);box-shadow:0 2px 8px rgba(0,54,42,.06);
  max-width:100%;flex-wrap:wrap;word-break:break-word;white-space:normal
}
.query-detail-pill:hover{background:#f6fffc;border-color:rgba(13,74,65,.42);color:var(--green2)}
.query-detail-pill i{font-size:11px;opacity:.7;font-weight:600}
.query-detail-empty{color:#6f7f7b;font-weight:600;font-style:italic;font-size:15px;margin:2px 0 0;display:inline-block}
.query-detail-message{
  display:block;flex:none;align-self:stretch;margin:0;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid rgba(219,207,183,.72);
  font-size:15px;line-height:1.6;color:#2a362f;text-align:start;white-space:normal;word-break:break-word;
  width:100%;box-sizing:border-box;min-height:0;max-height:min(50vh,380px);overflow-y:auto;
  box-shadow:none
}
.query-detail-block--message .query-detail-label{margin-bottom:8px}
.query-detail-block--message .query-detail-message{background:#fffefd}
@media(max-width:900px){
  .query-detail-row{grid-template-columns:1fr}
}

/* Contact queries list — message 2-line ellipsis + actions */
.contact-queries-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.contact-queries-actions form{display:inline;margin:0}
.contact-queries-msg-preview{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  word-break:break-word;
  line-height:1.45;
  max-width:100%;
}
.contact-queries-msg-preview--empty{display:inline;-webkit-line-clamp:unset;-webkit-box-orient:inherit;overflow:visible}

/* CMS guest reviews list */
.cms-reviews-table .cms-review-thumb{width:52px;height:52px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.cms-reviews-table .cms-review-text-preview{
  display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin:0;max-width:280px;line-height:1.45;word-break:break-word
}
.cms-review-stars{color:#cf9b3f;font-size:14px;letter-spacing:1px;white-space:nowrap}
.cms-review-stars .is-active{color:#cf9b3f}
.cms-review-stars span:not(.is-active){color:#d9d2c5}
.cms-reviews-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;white-space:nowrap}
.cms-reviews-actions form{display:inline-flex;margin:0;flex:0 0 auto}
.cms-reviews-actions .btn{padding:8px 12px;font-size:13px;line-height:1.2;white-space:nowrap}
.cms-review-toggle-btn{min-width:0}
.cms-review-excerpt-wrap{max-width:280px;min-width:160px}
.cms-review-read-more{
  display:inline-block;margin:4px 0 0;border:0;padding:0;background:transparent;color:var(--green);
  font-size:12px;font-weight:600;cursor:pointer;line-height:1.3
}
.cms-review-read-more[hidden]{display:none!important}
.cms-review-read-more:hover{text-decoration:underline}
.cms-review-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:20px}
.cms-review-modal[hidden]{display:none!important}
.cms-review-modal-backdrop{position:absolute;inset:0;background:rgba(20,30,28,.55)}
.cms-review-modal-dialog{
  position:relative;width:min(560px,100%);max-height:min(80vh,640px);overflow:auto;background:#fff;border-radius:16px;
  padding:24px 24px 20px;box-shadow:0 24px 60px rgba(20,30,28,.25)
}
.cms-review-modal-close{
  position:absolute;top:10px;right:12px;border:0;background:transparent;font-size:28px;line-height:1;color:#667;cursor:pointer
}
.cms-review-modal-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding-right:28px}
.cms-review-modal-title-row h3{margin:0;font-size:18px}
.cms-review-modal-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px}
.cms-review-modal-image{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid var(--line);flex-shrink:0}
.cms-review-modal-author{margin:0 0 4px;font-weight:700;color:#2f403c}
.cms-review-modal-meta{margin:0;color:var(--muted);font-size:13px}
.cms-review-modal-text{margin:0;line-height:1.6;color:#334;white-space:pre-wrap;word-break:break-word}
body.cms-review-modal-open{overflow:hidden}
.gallery-draggable{cursor:grab}
.gallery-draggable.dragging{opacity:.55;transform:scale(.98)}
.gallery-drag-hint{display:block;margin-top:10px;color:#6e7d79;font-size:13px;line-height:1.45}
.gallery-form-footer{display:flex;justify-content:flex-start;padding-top:16px;margin-top:8px;border-top:1px solid var(--line)}
.gallery-upload-errors{margin:10px 0 0;padding:12px 14px;border-radius:10px;background:#fff0f0;border:1px solid #f0c8c8;color:#9b3030;font-size:13px;line-height:1.45}
.gallery-upload-errors ul{margin:8px 0 0;padding-left:18px}
.gallery-upload-errors li{margin:4px 0}

/* Home showcase form */
#home-showcase-form .home-showcase-block{
  border:1px solid var(--line);border-radius:16px;padding:18px 18px 8px;margin-bottom:18px;background:#fffdf8;
  box-shadow:0 10px 24px rgba(29,43,41,.04);
}
#home-showcase-form .home-showcase-block--images-inline{
  margin:16px 0 18px;padding:16px;background:#fbf7ef;border-style:dashed;
}
#home-showcase-form .home-showcase-block__title{
  display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:14px;font-weight:700;color:#2f403c;
}
#home-showcase-form .home-showcase-block__title i{color:var(--gold);font-size:15px}
#home-showcase-form .home-showcase-form-footer{
  display:flex;justify-content:flex-start;padding:14px 0 4px;border-top:1px solid var(--line);margin-top:8px;
}
#home-showcase-form .field-hint{display:block;margin-top:6px;color:var(--muted);font-size:12px;line-height:1.45}

#home-showcase-form .showcase-uploader-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%;
}
@media(max-width:992px){#home-showcase-form .showcase-uploader-grid{grid-template-columns:1fr}}
#home-showcase-form .showcase-uploader{display:flex;flex-direction:column;gap:8px;min-width:0}
#home-showcase-form .showcase-uploader__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
#home-showcase-form .showcase-uploader__title{font-size:13px;font-weight:700;color:#2f403c}
#home-showcase-form .showcase-uploader__badge{
  font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:999px;
  background:#eef2f0;color:#5f6f6a;white-space:nowrap;
}
#home-showcase-form .showcase-uploader.is-filled .showcase-uploader__badge{background:#e8f5ef;color:#1f6b4f}
#home-showcase-form .showcase-uploader.is-pending .showcase-uploader__badge{background:#fff4df;color:#8a5b12}

#home-showcase-form .showcase-uploader__zone{
  position:relative;display:block;width:100%;aspect-ratio:16/10;min-height:168px;max-height:240px;
  border-radius:14px;overflow:hidden;cursor:pointer;
  border:2px dashed #d4c0a2;background:linear-gradient(160deg,#fffdf9 0%,#f4ebdc 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  transition:border-color .2s ease,box-shadow .2s ease,transform .15s ease;
}
#home-showcase-form .showcase-uploader__zone:hover{border-color:#c8923d;box-shadow:0 10px 22px rgba(200,146,61,.12)}
#home-showcase-form .showcase-uploader__zone.is-dragover{
  border-color:var(--gold);box-shadow:0 0 0 4px rgba(200,146,61,.18);transform:translateY(-1px);
}
#home-showcase-form .showcase-uploader.is-filled .showcase-uploader__zone{
  border-style:solid;border-color:#d9c7ad;background:#102824;
}
#home-showcase-form .showcase-uploader__input{
  position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0,0,0,0);pointer-events:none;
}
#home-showcase-form .showcase-uploader__preview{
  position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;
  object-fit:cover;display:block;z-index:1;
}
#home-showcase-form .showcase-uploader__empty{
  position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;padding:18px;text-align:center;color:#6d7d78;pointer-events:none;
}
#home-showcase-form .showcase-uploader__empty strong{font-size:14px;color:#2f403c}
#home-showcase-form .showcase-uploader__empty span{font-size:12px;color:#8a9692}
#home-showcase-form .showcase-uploader__empty-icon{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.75);color:var(--gold);font-size:18px;margin-bottom:4px;
  box-shadow:0 8px 18px rgba(200,146,61,.16);
}
#home-showcase-form .showcase-uploader__hover{
  position:absolute;inset:0;z-index:3;display:grid;place-items:center;
  background:linear-gradient(180deg,rgba(8,22,19,.08) 0%,rgba(8,22,19,.45) 100%);
  opacity:0;transition:opacity .2s ease;pointer-events:none;
}
#home-showcase-form .showcase-uploader.is-filled .showcase-uploader__zone:hover .showcase-uploader__hover{opacity:1}
#home-showcase-form .showcase-uploader__hover-btn{
  display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;
  background:rgba(255,255,255,.94);color:#2f403c;font-size:12px;font-weight:700;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
#home-showcase-form .showcase-uploader__remove{
  position:absolute;top:10px;right:10px;z-index:5;width:36px;height:36px;border:0;border-radius:50%;
  display:grid;place-items:center;background:rgba(214,69,69,.95);color:#fff;cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.25);transition:transform .15s ease,background .15s ease;
  pointer-events:auto;
}
#home-showcase-form .showcase-uploader__remove:hover{transform:scale(1.06);background:#c73b3b}
#home-showcase-form .showcase-uploader__filename{
  margin:0;font-size:12px;font-weight:600;color:#3f514d;word-break:break-all;line-height:1.4;
}
#home-showcase-form .showcase-uploader__hint{margin:0;font-size:12px;line-height:1.45;color:var(--muted)}
@media(max-width:520px){
  #home-showcase-form .showcase-uploader__zone{min-height:150px;aspect-ratio:4/3}
}

.cms-coming-soon{
  padding:56px 24px 64px;text-align:center
}
.cms-coming-soon__icon{
  display:inline-grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;
  border-radius:50%;background:linear-gradient(135deg,#e8f5ef,#fff);color:var(--green);font-size:28px
}
.cms-coming-soon h3{
  margin:0 0 10px;font-family:Georgia,serif;font-size:28px;color:var(--green)
}
.cms-coming-soon p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
