.price{
  font-size: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  /* white-space: nowrap; */
  font-weight: 500;
  margin: -50px 13px 0px 10px;
  position: relative;
  background: #f90;
  color: #000;
  float: right;
}
.price span{
  font-size: 16px;
  font-weight: 700;
}


/* Tour Operator Subscription */
.sg-tier-detail-view{
  text-align: center;
  display: block;
  overflow: hidden;
  width: 260px;
  margin: 30px auto 20px auto;
  color: #07c;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #f5f5f5;
}
.sg-tier-detail-view:hover{
  cursor: pointer;
  background: #ddd;
}
.sg-pricing{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: #0f172a;
  margin: 14px 0px 5px 0px;
}

/* Header */
.sg-pricing-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.sg-pricing-head h2{
  margin:0;
  font-size:16px;
  font-weight:700;
  letter-spacing:.1px;
}
.sg-pricing-sub{
  margin:0;
  color:#475569;
  font-size:12px;
  font-weight:750;
}

/* Mobile plan selector (hidden on desktop) */
.sg-plan-switch{
  display:none;
  gap:8px;
  margin:10px 0 12px;
}
.sg-tab{
  height:36px;
  padding:0 12px;
  border-radius:999px;
  border:0;
  background:#f3f4f6;
  cursor:pointer;
  font-weight:700;
  color:#475569;
  font-size:13px;
}
.sg-tab.active{
  background:#6b6;
  color:#fff;
}

/* Plan cards */
.sg-plans{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin: 12px 0;
}
.sg-plan{
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(2,6,23,.08);
  padding:14px;
  display:flex;
  flex-direction:column;
  min-height:210px;
}
.sg-plan--recommended{
  box-shadow:0 14px 32px rgba(37,99,235,.14);
}
.sg-plan-top h3{
  margin:8px 0 6px;
  font-size:14px;
  font-weight:700;
}
.sg-badge{
  display:inline-flex;
  align-items:center;
  height:24px;
  padding:0 10px;
  border-radius:999px;
  font-weight:700;
  font-size:11px;
  background:#f3f4f6;
  color:#0f172a;
}
.sg-badge--blue{ background:#eaf1ff; color:#1d4ed8; }
.sg-badge--amber{ background:#fff4e5; color:#b45309; }

.sg-price{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-top:6px;
}
.sg-price-was{
  color:#c00;
  font-weight:700;
  text-decoration:line-through;
  font-size:18px;
}
.sg-price-now{
  font-size:22px;
  font-weight:700;
  letter-spacing:.2px;
  color: #080;
}
.sg-price-unit{
  color:#475569;
  font-weight:850;
  font-size:12px;
}
.sg-note{
  color:#64748b;
  font-size:12px;
  font-weight:750;
  margin-top:4px;
}

.sg-plan-bullets{
  margin:10px 0 0;
  padding:0 0 0 16px;
  color:#475569;
  font-size:12px;
  font-weight:750;
  line-height:1.5;
}
.sg-plan-cta{
  margin-top:auto;
  padding-top:12px;
  display:flex;
  gap:8px;
}


.sg-btn{
  /* height: 38px; */
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  background: #f3f4f6;
  color: #0f172a;
}
.sg-btn-primary{
  background: #090;
  color: #fff;
  font-size: 17px;
  padding: 10px 20px;
  text-align: center;
  margin: auto;
}
.sg-btn-ghost{
  color: #0f172a;
  padding: 10px 30px;
  border: 1px rgba(240, 140, 140, 0.6) solid;
  display: block;
  margin: 20px auto;
  background: rgba(240, 140, 140, 0.4);
}


/* Buttons */
.sg-btn{
  /* height: 38px; */
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  background: #f3f4f6;
  color: #0f172a;
}
.sg-btn-primary{
  background: #090;
  color: #fff;
  font-size: 17px;
  padding: 10px 20px;
  text-align: center;
  margin: auto;
}
.sg-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
  padding: 10px 20px;
}

/* Comparison */
.sg-compare{
  display: none;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(2,6,23,.08);
  overflow:hidden;
}
.sg-compare-head{
  padding:12px 14px;
  background:linear-gradient(180deg, #f6f7fb, #ffffff);
}
.sg-compare-left b{
  font-weight:700;
  font-size:13px;
}
.sg-muted{
  margin-left:8px;
  color:#64748b;
  font-size:12px;
  font-weight:750;
}

/* Categories and rows use shading instead of borders */
.sg-cat{ padding:10px 14px 14px; }
.sg-cat-title{
  font-size:12px;
  font-weight:700;
  color:#334155;
  letter-spacing:.2px;
  text-transform:uppercase;
  margin:8px 0 10px;
}

.sg-row{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 14px;
  background: #f6f7fb;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05);
  margin-bottom: 6px;
}
.sg-fname{
  font-weight:500;
  color:#0f172a;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sg-fv{
  display:flex;
  justify-content:flex-start;
}

.sg-yes{
  display:inline-flex;
  align-items:center;
  height:26px;
  padding:0 10px;
  border-radius:999px;
  background:#e9f7ef;
  color:#166534;
  font-weight:700;
  font-size:12px;
}
.sg-no{
  display:inline-flex;
  align-items:center;
  height:26px;
  padding:0 16px;
  border-radius:999px;
  background:#ffffff;
  color:#94a3b8;
  font-weight:700;
  font-size:12px;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
}
.sg-pill{
  display:inline-flex;
  align-items:center;
  height:26px;
  padding:0 10px;
  border-radius:999px;
  background:#ffffff;
  color:#0f172a;
  font-weight:700;
  font-size:12px;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
}

.sg-compare-foot{
  padding:12px 14px 14px;
  background:linear-gradient(180deg, #ffffff, #f6f7fb);
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

/* Responsive: cards stack, table becomes plan-filtered */
@media (max-width: 540px){
  .sg-plans{ grid-template-columns: 1fr; }
}

@media (max-width: 540px){
  .sg-plan-switch{ display:flex; }
  .sg-pricing-sub{ display:none; }

  /* Hide the plan cards on mobile if you want the comparison to be primary:
     Keep them visible by commenting this out */
  /*.sg-plans{ display:none; }*/

  /* Table: show only selected plan column */
  .sg-row{
    grid-template-columns: 1.35fr 1fr;
  }
  .sg-row .sg-fv[data-plan="silver"],
  .sg-row .sg-fv[data-plan="gold"]{
    display:none;
  }
  /* Default selected plan is Starter; JS will toggle */
}

/* Current TO Subscription */
.sg-membership{
  margin:14px 0 2px 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:#0f172a;
}

.sg-mem-card{
  background:#fff;
  /*border-radius:16px;*/
  box-shadow:0 10px 24px rgba(2,6,23,.08);
  /*padding:14px;*/
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Current membership */
.sg-mem-current{
  background: #f6f7fb;
  /* border-radius: 14px; */
  padding: 14px;
  /* box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05); */
  border-top: 1px #eee solid;
}

.sg-mem-header{
  /*display:flex;*/
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:20px;
  overflow: hidden;
}

.sg-tag{
  display: block;
  /* align-items: center; */
  /* height: 24px; */
  /* padding: 10px 20px; */
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  background: #f3f4f6;
  color: #666;
  margin: 9px 10px 9px 0px;
  display: inline-block;
}
.sg-tag-current{ background:#e9f7ef; color:#166534; }
.sg-tag-silver{
  background: rgb(154 217 255 / 30%);
  color: #444;
  max-width: 190px;
  text-align: center;
  padding: 10px 20px;
  display: inline-block;
  border:1px solid rgb(154 217 255 / 55%);
}
.sg-tag-gold{ background:#fff4e5; color:#b45309; }

.sg-mem-current h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.1px;
}

.sg-mem-lead{
  margin:0 0 12px;
  font-size:13px;
  font-weight:750;
  color:#475569;
  line-height:1.45;
}

.sg-mem-meta{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}

.sg-mem-item{
  background:#fff;
  border-radius:12px;
  padding:10px;
  box-shadow:0 1px 0 rgba(15,23,42,.05);
}

.sg-mem-k{
  display:block;
  font-size:12px;
  color:#64748b;
  font-weight:700;
  margin-bottom:4px;
}

.sg-mem-v{
  display:block;
  font-size:13px;
  font-weight:700;
  color:#0f172a;
}

.sg-mem-ok{
  display:inline-flex;
  width:max-content;
  padding:4px 10px;
  border-radius:999px;
  background:#e9f7ef;
  color:#166534;
  font-size:12px;
}

.sg-mem-hint{
  margin-top:10px;
  font-size:12px;
  color:#475569;
  font-weight:750;
}

/* Gold upgrade */
.sg-mem-upg{
  background:linear-gradient(180deg, #fffaf0, #ffffff);
  border-radius:14px;
  padding:14px;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
}

.sg-mem-upg-top h4{
  margin:6px 0 6px;
  font-size:15px;
  font-weight:700;
}

.sg-mem-sub{
  margin:0 0 10px;
  font-size:13px;
  color:#475569;
  font-weight:750;
  line-height:1.45;
}

.sg-mem-benefits{
  margin:0 0 12px;
  padding-left:16px;
  font-size:13px;
  color:#475569;
  font-weight:750;
  line-height:1.5;
}

.sg-mem-upg-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:6px;
}

.sg-btn{
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:0;
  text-decoration:none;
  cursor:pointer;
  font-weight:700;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f3f4f6;
  color:#0f172a;
}

.sg-btn-primary{
  background:#fff4e5;
  color:#b45309;
}

.sg-sub-btn{
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:0;
  text-decoration:none;
  cursor:pointer;
  font-weight:700;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f3f4f6;
  color:#0f172a;
  margin: auto;
}

.sg-sub-btn-primary{
  background:#fff4e5;
  color:#b00;
}

.sg-sub-btn-primary:hover{
  color: #d00;
  border: 1px rgb(180, 83, 9, .7) solid;
}

.sg-btn-ghost{
  background:#f3f4f6;
  color:#0f172a;
}

.sg-mem-small{
  font-size:12px;
  color:#64748b;
  font-weight:750;
}

@media (max-width: 760px){
  .sg-mem-meta{
    /*grid-template-columns: 1fr;*/
  }
}


/* Tour promote button */
.tour-promote-btn{
  position: relative;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,160,0,0.5);   /* neutral dark */
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  z-index: 3;
  margin-bottom: -30px;
  display: inline-block;
}

.tour-promote-btn:hover{
  background: rgba(0,0,0,0.5);
}

.view-all-wrap{
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.view-all-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #F1F3F6;
  color: #0F172A;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  margin: 20px 0px;
}

.view-all-btn:hover{
  cursor: pointer;
  background: #ddd;
}
