
.gwr-root{font-family:inherit;max-width:1100px;width:100%;margin:0 auto;box-sizing:border-box;overflow-x:clip}
.gwr-root *, .gwr-root *:before, .gwr-root *:after{box-sizing:border-box;max-width:100%}
.gwr-top{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
@media(max-width:820px){.gwr-top{grid-template-columns:1fr}}
.gwr-summary,.gwr-form-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:14px;box-shadow:0 6px 18px rgba(0,0,0,.04);min-width:0}
.gwr-avg{display:grid;gap:6px}
.gwr-avg-num{font-size:38px;font-weight:700;line-height:1}
.gwr-avg-total{color:rgba(0,0,0,.6);font-size:13px}
.gwr-stars{display:inline-flex;gap:2px}
.gwr-star-full,.gwr-star-half{color:#ffb300}
.gwr-star-empty{color:rgba(0,0,0,.18)}
.gwr-star-half{position:relative}
.gwr-histo{margin-top:8px;display:grid;gap:8px}
.gwr-bar-row{display:grid;grid-template-columns:16px 14px 1fr 30px;gap:8px;align-items:center}
.gwr-bar-label{font-size:12px;color:rgba(0,0,0,.7);text-align:right}
.gwr-bar-star{color:#ffb300;font-size:12px}
.gwr-bar-track{height:10px;border-radius:999px;background:rgba(0,0,0,.08);overflow:hidden}
.gwr-bar-fill{display:block;height:100%;background:#ffb300;border-radius:999px}
.gwr-bar-count{font-size:12px;color:rgba(0,0,0,.65);text-align:right}

.gwr-form-header{display:flex;justify-content:space-between;gap:10px;align-items:flex-end;margin-bottom:10px}
.gwr-form-title{font-weight:700}
.gwr-form-sub{font-size:12px;color:rgba(0,0,0,.6)}
.gwr-link{background:none;border:none;color:#1967d2;cursor:pointer;padding:0;font:inherit}
.gwr-login-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.gwr-hint{font-size:12px;color:rgba(0,0,0,.55)}
.gwr-login-msg{margin-top:8px;font-size:12px;color:rgba(0,0,0,.7)}

.gwr-review-form textarea{width:100%;border:1px solid rgba(0,0,0,.14);border-radius:12px;padding:10px;resize:vertical}
.gwr-stars-input{display:flex;gap:6px;margin-bottom:10px;justify-content:center;align-items:center;width:100%}
.gwr-stars-input .gwr-star{flex:0 0 auto;border:none;background:rgba(0,0,0,.06);border-radius:10px;width:34px;height:34px;cursor:pointer;font-size:16px;line-height:34px}
.gwr-stars-input .gwr-star.is-on{background:#ffb300;color:#fff}
.gwr-upload{display:flex;gap:10px;align-items:center;margin:10px 0;flex-wrap:wrap}
.gwr-upload-btn{display:inline-flex;gap:8px;align-items:center;border:1px dashed rgba(0,0,0,.2);padding:8px 10px;border-radius:12px;cursor:pointer}
.gwr-upload-btn input{display:none}

.gwr-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.gwr-btn{border:none;background:#111;color:#fff;border-radius:12px;padding:10px 12px;cursor:pointer;font-weight:600}
.gwr-btn:hover{filter:brightness(1.05)}
.gwr-btn.gwr-danger{background:#b91c1c}

/* Theme overrides (Astra/others) sometimes wipe button colors.
   Force readable Delete button text/background. */
.gwr-root .gwr-actions .gwr-btn{
  background:#111 !important;
  color:#fff !important;
}
.gwr-root .gwr-actions .gwr-btn.gwr-danger{
  background:#b91c1c !important;
  color:#fff !important;
}
.gwr-btn.gwr-mini{padding:7px 10px;border-radius:10px;font-size:12px}
.gwr-form-msg{font-size:12px;color:rgba(0,0,0,.7)}
.gwr-review-form.is-sending{opacity:.8;pointer-events:none}

.gwr-list{margin-top:16px;display:grid;gap:12px}
.gwr-item{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:12px;max-width:100%;overflow:hidden}
.gwr-item-head{display:flex;gap:10px;align-items:center}
.gwr-avatar{width:40px;height:40px;border-radius:999px;object-fit:cover;background:rgba(0,0,0,.06)}
.gwr-meta{flex:1;min-width:0}
.gwr-name{font-weight:700}
.gwr-submeta{display:flex;gap:10px;align-items:center;color:rgba(0,0,0,.6);font-size:12px;flex-wrap:wrap;min-width:0}
.gwr-stars-sm .gwr-stars{transform:translateY(1px)}
.gwr-content{margin-top:10px}
.gwr-text{font-size:14px;line-height:1.45;color:rgba(0,0,0,.85)}
/* Photo scroller */
.gwr-photos-wrap{position:relative;margin-top:10px;width:100%;max-width:100%;overflow:hidden}
.gwr-photos-track{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding-bottom:6px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;min-width:0}
.gwr-photos-track::-webkit-scrollbar{height:8px}
.gwr-photos-track::-webkit-scrollbar-thumb{background:rgba(0,0,0,.18);border-radius:999px}
.gwr-photo{scroll-snap-align:start;flex:0 0 auto}

.gwr-photos-nav{position:absolute;top:50%;transform:translateY(-50%);border:none;background:transparent;border-radius:999px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none;color:#fff;font-size:26px;line-height:1;opacity:.75;text-shadow:0 3px 14px rgba(0,0,0,.65)}
.gwr-photos-prev{left:6px}
.gwr-photos-next{right:6px}
.gwr-photos-wrap[data-count="0"] .gwr-photos-nav,
.gwr-photos-wrap[data-count="1"] .gwr-photos-nav{position:absolute;top:50%;transform:translateY(-50%);border:none;background:transparent;border-radius:999px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none;color:#fff;font-size:26px;line-height:1;opacity:.75;text-shadow:0 3px 14px rgba(0,0,0,.65)}

/* Existing photos (editable) */
.gwr-existing-photos{margin-top:10px;max-width:100%;overflow:hidden}
.gwr-existing-title{font-size:12px;color:rgba(0,0,0,.65);margin-bottom:8px}
.gwr-existing-track{display:flex;gap:10px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:2px 2px 10px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;width:100%;max-width:100%}
.gwr-existing-photo{width:100%;border:1px solid rgba(0,0,0,.10);border-radius:14px;padding:8px;background:#fff;min-width:0;flex:0 0 165px;scroll-snap-align:start}



.gwr-existing-thumb img{width:100%;height:86px;object-fit:cover;border-radius:12px;display:block}
.gwr-existing-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  margin-top:8px
}

/* Mini buttons (Remove/Replace) inside "Your photos" */
.gwr-mini-btn{
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  color:#111;
  border-radius:10px;
  padding:7px 8px;
  font-size:12px;
  cursor:pointer;
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.1
}

/* Make the two actions visually distinct */
.gwr-mini-btn.gwr-photo-remove{border-color:rgba(185,28,28,.45);color:#b91c1c}
.gwr-mini-btn.gwr-photo-remove:hover{background:#b91c1c;color:#fff}
.gwr-mini-btn.gwr-photo-replace{border-color:rgba(17,17,17,.25)}
.gwr-mini-btn.gwr-photo-replace:hover{background:rgba(0,0,0,.06)}

/* Make Replace label behave like a button */
.gwr-photo-replace{user-select:none}
.gwr-photo-replace input{display:none}
.gwr-existing-photo.is-replaced{outline:2px solid rgba(17,17,17,.25)}

.gwr-photo{width:140px}
.gwr-photo img{height:86px;width:140px;max-width:140px;object-fit:cover;border-radius:12px;display:block}

.gwr-actions-row{display:flex;gap:10px;align-items:center;margin-top:10px}
.gwr-like{display:inline-flex;gap:8px;align-items:center;border:1px solid rgba(0,0,0,.12);background:#fff;border-radius:999px;padding:8px 10px;cursor:pointer}
.gwr-like.is-liked{border-color:#111}
.gwr-like-count{font-weight:700}
.gwr-like-label{font-size:12px;color:rgba(0,0,0,.7)}
.gwr-like.is-bounce{transform:scale(1.02)}
.gwr-loadmore-wrap{margin:14px 0;text-align:center}
.gwr-loadmore{background:#111;color:#fff}
.gwr-root.is-loading .gwr-loadmore{opacity:.7;pointer-events:none}

.gwr-replies{margin-top:10px;display:grid;gap:10px}
.gwr-reply{display:flex;gap:10px;background:rgba(0,0,0,.04);border-radius:14px;padding:10px}
.gwr-reply-badge{font-size:11px;font-weight:700;background:#111;color:#fff;border-radius:999px;padding:5px 8px;height:fit-content}
.gwr-reply-name{font-weight:700;font-size:13px;margin-bottom:4px}
.gwr-reply-text{font-size:13px;color:rgba(0,0,0,.85)}
.gwr-owner-reply-form textarea{width:100%;border:1px solid rgba(0,0,0,.14);border-radius:12px;padding:10px;margin-top:10px}
.gwr-owner-reply-actions{display:flex;gap:10px;align-items:center;margin-top:8px}

.gwr-inline-rating{display:inline-flex;gap:8px;align-items:center}
.gwr-inline-count{color:rgba(0,0,0,.65);font-size:12px}
.gwr-inline-avg{font-weight:700}



.gwr-google-btn{min-height:44px}
.gwr-google-login-fallback{display:inline-flex;gap:10px;align-items:center;justify-content:center;background:#fff;color:#111;border:1px solid rgba(0,0,0,.14)}
.gwr-gsvg{display:inline-flex;align-items:center}

/* ===== Rebuilt Google modal button layout ===== */
.gwr-google-login-wrap,
.gwr-google-login-woo{
  display:flex;
  flex-direction:column;
  gap:8px;
  width:100%;
  max-width:100%;
  align-items:stretch;
}

.gwr-google-login-trigger,
.gwr-google-login-fallback{
  width:100%;
  min-height:46px;
  border-radius:12px;
}

.gwr-google-login-wrap .gwr-login-msg,
.gwr-google-modal .gwr-login-msg{
  width:100%;
  text-align:center;
}

.gwr-google-modal{position:fixed;inset:0;z-index:999999;display:none}
.gwr-google-modal.is-open{display:block}
.gwr-google-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58)}
.gwr-google-modal__dialog{
  position:relative;
  width:min(92vw,420px);
  margin:clamp(24px,8vh,72px) auto 0;
  background:#fff;
  border-radius:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.28);
  padding:24px 22px 22px;
  overflow:visible;
}
.gwr-google-modal__content{width:100%;text-align:center;overflow:visible}
.gwr-google-modal__eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin-bottom:10px}
.gwr-google-modal__title{margin:0 0 8px;font-size:28px;line-height:1.15;color:#0f172a}
.gwr-google-modal__text{margin:0 0 18px;font-size:14px;line-height:1.6;color:#475569}
.gwr-google-modal__button-stage{
  width:100%;
  max-width:360px;
  margin:0 auto 12px;
  overflow:hidden;
}
#gwr-google-modal .gwr-google-modal__button,
#gwr-google-modal .gwr-google-modal__button *,
#gwr-google-modal .gwr-google-modal__button-stage,
#gwr-google-modal .gwr-google-modal__button-stage *{
  box-sizing:border-box;
}
#gwr-google-modal .gwr-google-modal__button{
  display:block;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:46px;
  margin:0;
  padding:0;
  overflow:hidden !important;
  border-radius:12px;
}
#gwr-google-modal .gwr-google-modal__button > div,
#gwr-google-modal .gwr-google-modal__button .g_id_signin,
#gwr-google-modal .gwr-google-modal__button .S9gUrf-YoZ4jf{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}
#gwr-google-modal .gwr-google-modal__button iframe,
#gwr-google-modal iframe[src*="accounts.google.com"]{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  border:0 !important;
}
.gwr-google-modal__fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:46px;
  margin:0;
}
.gwr-google-modal__msg{margin-top:10px;min-height:20px;font-size:13px;color:#475569}
.gwr-google-modal__close{position:absolute;top:12px;right:12px;width:40px;height:40px;border:0;border-radius:999px;background:#f8fafc;color:#0f172a;font-size:26px;line-height:40px;text-align:center;cursor:pointer;padding:0}
.gwr-google-login-trigger{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.gwr-google-modal-open{overflow:hidden}

@media (max-width: 767px){
  .gwr-google-modal__dialog{width:min(94vw,380px);padding:20px 16px 16px;margin-top:max(16px,10vh)}
  .gwr-google-modal__title{font-size:24px}
  .gwr-google-modal__close{top:10px;right:10px}
}



/* ===== Hard fix: custom visible Google button in modal, GIS layer hidden on top ===== */
.gwr-google-modal__button-stage{position:relative;max-width:100%;overflow:visible;padding:0;margin:0 auto 12px;}
#gwr-google-modal .gwr-google-modal__button-ui{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:48px;padding:0 16px;border:1px solid #dadce0;border-radius:12px;background:#fff;color:#202124;font-size:16px;font-weight:500;line-height:1.2;text-align:left;box-shadow:none;pointer-events:none;}
#gwr-google-modal .gwr-google-modal__button-ui .gwr-gsvg{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;}
#gwr-google-modal .gwr-google-modal__button-ui span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#gwr-google-modal .gwr-google-modal__button{position:absolute;inset:0;z-index:2;opacity:.01;display:block;width:100% !important;max-width:100% !important;min-width:0 !important;min-height:48px;height:48px;margin:0;padding:0;overflow:visible !important;border-radius:12px;}
#gwr-google-modal .gwr-google-modal__button > div, #gwr-google-modal .gwr-google-modal__button .g_id_signin, #gwr-google-modal .gwr-google-modal__button .S9gUrf-YoZ4jf, #gwr-google-modal .gwr-google-modal__button iframe, #gwr-google-modal iframe[src*="accounts.google.com"]{display:block !important;width:100% !important;max-width:100% !important;min-width:0 !important;height:48px !important;min-height:48px !important;margin:0 !important;border:0 !important;opacity:.01 !important;overflow:visible !important;}
#gwr-google-modal .gwr-google-modal__fallback{display:none !important;}
@media (max-width: 767px){#gwr-google-modal .gwr-google-modal__button-ui{font-size:15px;padding:0 14px;}}
