.stagway-wrap,.stagway-results,.stagway-room-grid{font-family:inherit;color:#252525}
.stagway-search{background:#fff;border:1px solid #e8e8e8;border-radius:12px;padding:20px;margin:18px 0}
.stagway-search-form{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;gap:12px;align-items:end}
.stagway-search-form label,.stagway-book-form label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.stagway-search-form input,.stagway-book-form input,.stagway-book-form textarea{width:100%;box-sizing:border-box;border:1px solid #d7d7d7;border-radius:6px;padding:10px;background:#fff;color:#222}
.stagway-search-form button,.stagway-book-form button{background:#c8102e;color:#fff;border:0;border-radius:6px;padding:12px 18px;font-weight:600;cursor:pointer}
.stagway-search-form button:hover,.stagway-book-form button:hover{background:#a90d26;color:#fff}
.stagway-room-card{display:flex;gap:24px;justify-content:space-between;align-items:flex-start;border:1px solid #e6e6e6;border-radius:12px;padding:20px;margin:14px 0;background:#fff}
.stagway-room-info{flex:1;min-width:0}.stagway-room-info h4,.stagway-room-card h3{margin:0 0 8px}.stagway-category{display:inline-block;background:#fff0f2;color:#b20e29;border-radius:20px;padding:4px 10px;font-size:12px}
.stagway-book-form{width:300px;max-width:42%;display:grid;gap:9px}.stagway-book-form small{font-size:11px;color:#666}.stagway-room-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.stagway-room-grid .stagway-room-card{display:block;margin:0}.stagway-notice{padding:14px;border-left:4px solid #c8102e;background:#fff5f6}
@media(max-width:800px){.stagway-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.stagway-room-card{display:block}.stagway-book-form{width:100%;max-width:none;margin-top:18px}}
@media(max-width:480px){.stagway-search-form{grid-template-columns:1fr}}

.stagway-room-gallery{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.stagway-room-photo{display:block}.stagway-room-photo.is-primary{flex:1 1 100%}.stagway-room-photo.is-primary img{width:100%;max-height:260px;object-fit:cover;border-radius:8px}.stagway-room-photo:not(.is-primary) img{width:76px;height:64px;object-fit:cover;border-radius:6px}.stagway-room-photo img{display:block}.stagway-room-card{overflow:hidden}


/* v1.2.1: keep room gallery and room details together; booking form stays in its own column. */
.stagway-results .stagway-room-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:24px;align-items:start;overflow:hidden;}
.stagway-results .stagway-room-main{display:flex;flex-direction:column;gap:14px;min-width:0;width:100%;writing-mode:horizontal-tb;}
.stagway-results .stagway-room-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;min-width:0;margin:0;}
.stagway-results .stagway-room-photo{display:block;min-width:0;width:100%;}
.stagway-results .stagway-room-photo.is-primary{grid-column:1/-1;width:100%;}
.stagway-results .stagway-room-photo.is-primary img{display:block;width:100%;height:380px;max-height:42vw;min-height:220px;object-fit:cover;border-radius:8px;}
.stagway-results .stagway-room-photo:not(.is-primary) img{display:block;width:100%;height:88px;object-fit:cover;border-radius:6px;}
.stagway-results .stagway-room-info{display:block!important;width:100%;min-width:0;max-width:100%;writing-mode:horizontal-tb;overflow-wrap:break-word;word-break:normal;}
.stagway-results .stagway-room-info h4,.stagway-room-grid .stagway-room-info h3{display:block;width:100%;margin:0 0 8px;font-size:24px;line-height:1.3;white-space:normal;writing-mode:horizontal-tb;}
.stagway-results .stagway-book-form{width:100%;max-width:none;min-width:0;box-sizing:border-box;}
.stagway-room-grid .stagway-room-card{display:block!important;}
.stagway-room-grid .stagway-room-main{display:block;width:100%;min-width:0;}
.stagway-room-grid .stagway-room-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;}
.stagway-room-grid .stagway-room-photo.is-primary{grid-column:1/-1;}
.stagway-room-grid .stagway-room-photo.is-primary img{height:240px;max-height:none;}
.stagway-room-grid .stagway-room-info{display:block;width:100%;min-width:0;writing-mode:horizontal-tb;}
@media(max-width:900px){.stagway-results .stagway-room-card{grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:16px;}}
@media(max-width:700px){.stagway-results .stagway-room-card{display:flex!important;flex-direction:column;gap:16px;}.stagway-results .stagway-room-main,.stagway-results .stagway-book-form{width:100%;max-width:none;}.stagway-results .stagway-room-photo.is-primary img{height:260px;max-height:none;}.stagway-results .stagway-room-photo:not(.is-primary) img{height:68px;}}


/* Stagway Hotel Core 1.3.1 – booking results visual refinement */
.stagway-search,
.stagway-results,
.stagway-room-grid,
.stagway-search + .stagway-results {
    color: #202124;
    font-family: Poppins, Arial, sans-serif;
}
.stagway-results {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    margin: 18px 0 28px;
}
.stagway-results > h3 {
    color: #202124;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 18px;
}
.stagway-results .stagway-room-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr) !important;
    gap: 26px !important;
    align-items: start !important;
    width: 100%;
    box-sizing: border-box;
    padding: 20px !important;
    margin: 0 0 18px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 5px 22px rgba(20, 20, 20, .055);
}
.stagway-results .stagway-room-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    min-width: 0 !important;
    width: 100% !important;
}
.stagway-results .stagway-room-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
}
.stagway-results .stagway-room-photo {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
    border-radius: 8px;
}
.stagway-results .stagway-room-photo.is-primary {
    grid-column: 1 / -1 !important;
}
.stagway-results .stagway-room-photo.is-primary img {
    display: block !important;
    width: 100% !important;
    height: 330px !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
}
.stagway-results .stagway-room-photo:not(.is-primary) img {
    display: block !important;
    width: 100% !important;
    height: 78px !important;
    object-fit: cover !important;
}
.stagway-results .stagway-room-info {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    writing-mode: horizontal-tb !important;
}
.stagway-results .stagway-room-info h4 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #202124 !important;
    margin: 0 0 8px !important;
}
.stagway-results .stagway-room-info p {
    line-height: 1.65;
    margin: 10px 0;
}
.stagway-results .stagway-book-form {
    display: grid !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-content: start;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box;
    padding: 18px !important;
    margin: 0 !important;
    border: 1px solid #ededed;
    border-radius: 12px;
    background: #fafafa;
}
.stagway-results .stagway-book-form label {
    display: block;
    margin: 0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
}
.stagway-results .stagway-book-form input,
.stagway-results .stagway-book-form textarea {
    display: block;
    width: 100% !important;
    margin-top: 5px;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid #d9dce1;
    border-radius: 7px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
}
.stagway-results .stagway-book-form textarea { min-height: 76px; }
.stagway-results .stagway-book-form button {
    width: 100%;
    min-height: 46px;
    background: #c8102e;
    border-radius: 8px;
    font-weight: 600;
}
.stagway-results .stagway-book-form small {
    color: #777;
    line-height: 1.45;
}
.stagway-search-form {
    background: #fff;
}
.stagway-search-form button,
.stagway-book-form button {
    background: #c8102e;
}
.stagway-room-grid .stagway-room-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(20,20,20,.05);
}
@media (max-width: 900px) {
    .stagway-results .stagway-room-card {
        grid-template-columns: minmax(0, 1fr) minmax(250px, .9fr) !important;
        gap: 16px !important;
        padding: 16px !important;
    }
    .stagway-results .stagway-room-photo.is-primary img { height: 270px !important; }
}
@media (max-width: 700px) {
    .stagway-results { padding: 12px; }
    .stagway-results .stagway-room-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 12px !important;
    }
    .stagway-results .stagway-room-main,
    .stagway-results .stagway-book-form {
        width: 100% !important;
        max-width: 100% !important;
    }
    .stagway-results .stagway-book-form {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .stagway-results .stagway-room-photo.is-primary img { height: 230px !important; }
    .stagway-results .stagway-room-photo:not(.is-primary) img { height: 64px !important; }
}


/* v1.3.2 – corrected room results layout and India-friendly date input locale */
.stagway-results {
  background: #fff !important;
  color: #202124;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 20px;
  margin: 18px 0 28px;
  font-family: Poppins, Arial, sans-serif;
}
.stagway-results > h3 {
  margin: 0 0 16px;
  color: #202124;
  font-size: 24px;
  font-weight: 600;
}
.stagway-results .stagway-room-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100%;
  box-sizing: border-box;
  margin: 14px 0 !important;
  padding: 18px !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.045);
}
.stagway-results .stagway-room-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-width: 0 !important;
  width: 100% !important;
}
.stagway-results .stagway-room-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}
.stagway-results .stagway-room-photo {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden;
  border-radius: 8px;
}
.stagway-results .stagway-room-photo.is-primary {
  grid-column: 1 / -1 !important;
}
.stagway-results .stagway-room-photo.is-primary img {
  display: block !important;
  width: 100% !important;
  height: 300px !important;
  max-height: none !important;
  object-fit: cover !important;
}
.stagway-results .stagway-room-photo:not(.is-primary) img {
  display: block !important;
  width: 100% !important;
  height: 76px !important;
  object-fit: cover !important;
}
.stagway-results .stagway-room-info {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  writing-mode: horizontal-tb !important;
}
.stagway-results .stagway-room-info h4 {
  margin: 0 0 8px !important;
  color: #202124 !important;
  font-size: 23px !important;
  line-height: 1.3 !important;
}
.stagway-results .stagway-book-form {
  display: grid !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-content: start;
  gap: 11px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid #ededed;
  border-radius: 12px;
  background: #fafafa;
}
.stagway-results .stagway-book-form label {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.stagway-results .stagway-book-form input,
.stagway-results .stagway-book-form textarea {
  display: block;
  width: 100% !important;
  box-sizing: border-box;
  margin-top: 5px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d9dce1;
  border-radius: 7px;
  background: #fff;
}
.stagway-results .stagway-book-form button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #c8102e;
  color: #fff;
  font-weight: 600;
}
.stagway-results .stagway-book-form small {
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}
.stagway-search-form input[type="date"] {
  min-height: 42px;
  font-family: inherit;
}
@media (max-width: 900px) {
  .stagway-results .stagway-room-card {
    grid-template-columns: minmax(0,1fr) minmax(250px, 320px) !important;
    gap: 16px !important;
  }
  .stagway-results .stagway-room-photo.is-primary img { height: 250px !important; }
}
@media (max-width: 700px) {
  .stagway-results { padding: 12px !important; }
  .stagway-results .stagway-room-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 12px !important;
  }
  .stagway-results .stagway-room-main,
  .stagway-results .stagway-book-form {
    width: 100% !important;
    max-width: 100% !important;
  }
  .stagway-results .stagway-book-form {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .stagway-results .stagway-room-photo.is-primary img { height: 220px !important; }
  .stagway-results .stagway-room-photo:not(.is-primary) img { height: 62px !important; }
}

.stagway-book-form fieldset.stagway-addon-list{border:1px solid #ddd;border-radius:8px;padding:12px;margin:12px 0}.stagway-addon-option{display:block;margin:8px 0}.stagway-book-form select,.stagway-book-form input[type=text]{width:100%;max-width:100%}

/* v1.6.0 – refined add-on selector and coupon field */
.stagway-results .stagway-addon-list{display:block;min-width:0;margin:2px 0 0;padding:14px;border:1px solid #eadde0;border-radius:12px;background:#fff;}
.stagway-results .stagway-addon-list legend{display:block;float:none;width:100%;padding:0 0 10px;margin:0;color:#202124;font-size:14px;font-weight:700;}
.stagway-addon-title{display:block;font-size:14px;font-weight:700;color:#202124;}
.stagway-addon-subtitle{display:block;margin-top:3px;font-size:11px;font-weight:400;color:#777;}
.stagway-addon-grid{display:grid;grid-template-columns:1fr;gap:8px;}
.stagway-results .stagway-addon-option{display:flex!important;align-items:center;gap:10px;min-height:54px;padding:9px 10px!important;margin:0!important;border:1px solid #e8e8e8;border-radius:9px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s;}
.stagway-results .stagway-addon-option:hover{border-color:#c8102e;background:#fff9fa;}
.stagway-results .stagway-addon-option:has(input:checked){border-color:#c8102e;background:#fff3f5;box-shadow:0 0 0 1px rgba(200,16,46,.08);}
.stagway-results .stagway-addon-option input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 17px;width:17px!important;height:17px!important;min-height:17px!important;margin:0!important;accent-color:#c8102e;}
.stagway-addon-icon{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#fff0f2;font-size:17px;}
.stagway-addon-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;}
.stagway-addon-copy strong{font-size:12px;line-height:1.3;color:#252525;font-weight:600;}
.stagway-addon-copy small{font-size:10px;line-height:1.3;color:#777;font-weight:400;}
.stagway-addon-price{flex:0 0 auto;color:#c8102e;font-size:12px;font-weight:700;white-space:nowrap;}
.stagway-results .stagway-coupon-box{display:grid;grid-template-columns:1fr;gap:6px;padding:12px;border:1px dashed #d9a1ac;border-radius:10px;background:#fff8f9;}
.stagway-results .stagway-coupon-box label{font-size:12px;font-weight:700;color:#252525;}
.stagway-results .stagway-coupon-box input{margin:0!important;text-transform:uppercase;}
.stagway-results .stagway-coupon-box small{font-size:10px;color:#777;line-height:1.4;}
@media(max-width:700px){.stagway-results .stagway-addon-list{padding:11px}.stagway-results .stagway-addon-option{min-height:50px;padding:8px!important}}

/* v1.6.0 – refined add-on selector and coupon field */
.stagway-results .stagway-addon-list{display:block;min-width:0;margin:2px 0 0;padding:14px;border:1px solid #eadde0;border-radius:12px;background:#fff;}
.stagway-results .stagway-addon-list legend{display:block;float:none;width:100%;padding:0 0 10px;margin:0;color:#202124;font-size:14px;font-weight:700;}
.stagway-addon-title{display:block;font-size:14px;font-weight:700;color:#202124;}
.stagway-addon-subtitle{display:block;margin-top:3px;font-size:11px;font-weight:400;color:#777;}
.stagway-addon-grid{display:grid;grid-template-columns:1fr;gap:8px;}
.stagway-results .stagway-addon-option{display:flex!important;align-items:center;gap:10px;min-height:54px;padding:9px 10px!important;margin:0!important;border:1px solid #e8e8e8;border-radius:9px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s;}
.stagway-results .stagway-addon-option:hover{border-color:#c8102e;background:#fff9fa;}
.stagway-results .stagway-addon-option:has(input:checked){border-color:#c8102e;background:#fff3f5;box-shadow:0 0 0 1px rgba(200,16,46,.08);}
.stagway-results .stagway-addon-option input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 17px;width:17px!important;height:17px!important;min-height:17px!important;margin:0!important;accent-color:#c8102e;}
.stagway-addon-icon{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#fff0f2;font-size:17px;}
.stagway-addon-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;}
.stagway-addon-copy strong{font-size:12px;line-height:1.3;color:#252525;font-weight:600;}
.stagway-addon-copy small{font-size:10px;line-height:1.3;color:#777;font-weight:400;}
.stagway-addon-price{flex:0 0 auto;color:#c8102e;font-size:12px;font-weight:700;white-space:nowrap;}
.stagway-results .stagway-coupon-box{display:grid;grid-template-columns:1fr;gap:6px;padding:12px;border:1px dashed #d9a1ac;border-radius:10px;background:#fff8f9;}
.stagway-results .stagway-coupon-box label{font-size:12px;font-weight:700;color:#252525;}
.stagway-results .stagway-coupon-box input{margin:0!important;text-transform:uppercase;}
.stagway-results .stagway-coupon-box small{font-size:10px;color:#777;line-height:1.4;}
@media(max-width:700px){.stagway-results .stagway-addon-list{padding:11px}.stagway-results .stagway-addon-option{min-height:50px;padding:8px!important}}

/* v1.6.1: configurable search widget and expanded guest search fields */
.stagway-search{color:var(--stagway-text,#252525)}
.stagway-search-form{grid-template-columns:repeat(5,minmax(120px,1fr)) auto;gap:12px}
.stagway-search-form label{color:var(--stagway-text,#252525);font-weight:600}
.stagway-search-form input{min-height:48px;border-radius:var(--stagway-radius,8px);font:inherit}
.stagway-search-form button{background:var(--stagway-primary,#c8102e);border-radius:var(--stagway-radius,8px);min-height:48px;white-space:nowrap}
.stagway-search-form button:hover{filter:brightness(.9)}
@media(max-width:900px){.stagway-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.stagway-search-form button{grid-column:1/-1}}
@media(max-width:520px){.stagway-search-form{grid-template-columns:1fr}.stagway-search-form button{grid-column:auto}}
