/* =========================================================
   shower-regrouting.css
   Page-specific styles for the Shower Regrouting page.
   Load AFTER tilegrount.css:
   <link rel="stylesheet" href="/assets/css/shower-regrouting.css">
   ========================================================= */

/* ---------- PRICING SECTION ---------- */
#tile-grout-page .sr-price {
  --sr-navy: #0a2a5e;
  --sr-navy-2: #0b3a7a;
  --sr-navy-3: #0a2554;
  --sr-sky: #4fc3f7;
  --sr-blue: #1e9be0;
  --sr-pale: #eaf5fc;
  --sr-text: #4a5d7a;
}

/* top wave divider
   Change --sr-wave to any colour (it should match the section ABOVE this one) */
#tile-grout-page .sr-price {
  --sr-wave: #fff;
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}
#tile-grout-page .sr-price::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 80px;
  background: var(--sr-wave);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V50C1320 80 1200 80 1080 50C960 20 840 20 720 50C600 80 480 80 360 50C240 20 120 20 0 50Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V50C1320 80 1200 80 1080 50C960 20 840 20 720 50C600 80 480 80 360 50C240 20 120 20 0 50Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

/* two-column layout */
#tile-grout-page .sr-price .sr-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
  align-items: stretch;
}

/* left: price card */
#tile-grout-page .sr-price .sr-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--sr-navy-2) 0%, var(--sr-navy-3) 100%);
  box-shadow: 0 24px 50px rgba(10, 42, 94, .28);
}
#tile-grout-page .sr-price .sr-card::before,
#tile-grout-page .sr-price .sr-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#tile-grout-page .sr-price .sr-card::before {
  width: 240px;
  height: 240px;
  top: -90px;
  right: -80px;
  background: radial-gradient(circle, rgba(79, 195, 247, .35), transparent 70%);
}
#tile-grout-page .sr-price .sr-card::after {
  width: 200px;
  height: 200px;
  bottom: -90px;
  left: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
}
#tile-grout-page .sr-price .sr-card > * {
  position: relative;
  z-index: 1;
}
#tile-grout-page .sr-price .sr-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}
#tile-grout-page .sr-price .sr-amt {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -1px;
  color: #fff;
}
#tile-grout-page .sr-price .sr-amt em {
  font-style: normal;
  color: var(--sr-sky);
}

/* right: info items */
#tile-grout-page .sr-price .sr-info {
  display: grid;
  gap: 16px;
  align-content: center;
}
#tile-grout-page .sr-price .sr-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border-radius: 20px;
  border-left: 4px solid var(--sr-sky);
  box-shadow: 0 8px 26px rgba(10, 42, 94, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
#tile-grout-page .sr-price .sr-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 42, 94, .14);
}
#tile-grout-page .sr-price .sr-item .sr-ic {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sr-pale);
  color: var(--sr-blue);
  font-size: 22px;
}
#tile-grout-page .sr-price .sr-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sr-text);
}

/* responsive */
@media (max-width: 991px) {
  #tile-grout-page .sr-price .sr-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  #tile-grout-page .sr-price .sr-card {
    padding: 30px 24px;
    border-radius: 22px;
  }
  #tile-grout-page .sr-price .sr-item {
    padding: 18px;
    gap: 12px;
  }
  #tile-grout-page .sr-price .sr-item .sr-ic {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 19px;
  }
}

/* ---------- PROCESS SECTION (vertical tabs) ----------
   Uses the existing .tg-tabs / .tg-tab / .tg-panel / .tg-pcard
   styles from tilegrount.css. Only small page-level tweaks here. */
#tile-grout-page #process .tg-pcard p {
  margin-bottom: 18px;
}