   <style>
    *, *::before, *::after {
	  box-sizing: border-box;
	  margin: 0;
	  padding: 0;
    }

    body {
		font-family: 'Lora', serif;
		color: #2D2B29;
		margin: 0;
    }

    h1, h2, h3, .cta {
		font-family: 'EB Garamond', serif;
    }
	
	h1 {
		font-size: 2.813rem;
		padding-bottom: 1.25rem;
		line-height: 3.125rem;
		font-weight: 600;
	}
	
	h2 {
		font-size: 2.188rem;
		font-weight: 600;
	}
	
	h3 {
		font-size: 1.25rem;
		font-weight: 600;
	}
	
	h2, h3 {
		padding-bottom: 0.5rem;
	}
	
	p {
		font-size: 1.063rem;
		padding-bottom: 1.25rem;
		line-height: 1.563;
	}

/* ============================
   Shared text styles
   ============================ */

	/* Muted body text – for subtitles, hints, meta lines */
	.text-muted,
	.dashboard-subtitle,
	.tracking-hint,
	.current-status-label,
	.pet-details,
	.timeline-meta {
	  font-size: 0.96rem;
	  color: #6f6459;
	  padding-bottom: 0;
	}

	/* Fine print – for disclaimers / footnotes */
	.text-fine-print,
	.tracking-fine-print {
	  font-size: 0.9rem;
	  color: #8a7f74;
	  margin-top: 0.75rem;
	  padding-bottom: 0;
	}

    section {
		padding: 100px 0;
    }

	section.alt {
		background: #f4f0eb;
	}

    .container {
		width: 90%;
		margin: 0 auto;
    }
	
	@media (min-width: 1440px) {
		.container {
			width: 85%;
		}
	}

	@media (min-width: 2060px) {
		.container {
			width: 65%;
		}
	}

    .row {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
    }

    .col {
		padding-left: 15px;
		padding-right: 15px;
    }

    [class*="col-"] {
		flex: 0 0 auto;
		box-sizing: border-box;
    }

    @media (max-width: 991.98px) {
		.col-md-1 { width: 8.3333%; }
		.col-md-2 { width: 16.6667%; }
		.col-md-3 { width: 25%; }
		.col-md-4 { width: 33.3333%; }
		.col-md-5 { width: 41.6667%; }
		.col-md-6 { width: 50%; }
		.col-md-7 { width: 58.3333%; }
		.col-md-8 { width: 66.6667%; }
		.col-md-9 { width: 75%; }
		.col-md-10 { width: 83.3333%; }
		.col-md-11 { width: 91.6667%; }
		.col-md-12 { width: 100%; }
    }

    @media (max-width: 767.98px) {
		.col-sm-1 { width: 8.3333%; }
		.col-sm-2 { width: 16.6667%; }
		.col-sm-3 { width: 25%; }
		.col-sm-4 { width: 33.3333%; }
		.col-sm-5 { width: 41.6667%; }
		.col-sm-6 { width: 50%; }
		.col-sm-7 { width: 58.3333%; }
		.col-sm-8 { width: 66.6667%; }
		.col-sm-9 { width: 75%; }
		.col-sm-10 { width: 83.3333%; }
		.col-sm-11 { width: 91.6667%; }
		.col-sm-12 { width: 100%; }
    }

    @media (min-width: 992px) {
		.col-lg-1 { width: 8.3333%; }
		.col-lg-2 { width: 16.6667%; }
		.col-lg-3 { width: 25%; }
		.col-lg-4 { width: 33.3333%; }
		.col-lg-5 { width: 41.6667%; }
		.col-lg-6 { width: 50%; }
		.col-lg-7 { width: 58.3333%; }
		.col-lg-8 { width: 66.6667%; }
		.col-lg-9 { width: 75%; }
		.col-lg-10 { width: 83.3333%; }
		.col-lg-11 { width: 91.6667%; }
		.col-lg-12 { width: 100%; }
    }
	
	/* Padding Utilities */
	.u-pt-0 { padding-top: 0rem; }
	.u-pt-1 { padding-top: 1rem; }
	.u-pt-2 { padding-top: 2rem; }
	.u-pt-3 { padding-top: 3rem; }
	.u-pt-4 { padding-top: 4rem; }
	.u-pt-5 { padding-top: 5rem; }
	.u-pt-6 { padding-top: 6rem; }
	.u-pt-7 { padding-top: 7rem; }
	.u-pt-8 { padding-top: 8rem; }

	.u-pb-0 { padding-bottom: 0rem; }
	.u-pb-1 { padding-bottom: 1rem; }
	.u-pb-2 { padding-bottom: 2rem; }
	.u-pb-3 { padding-bottom: 3rem; }
	.u-pb-4 { padding-bottom: 4rem; }
	.u-pb-5 { padding-bottom: 5rem; }
	.u-pb-6 { padding-bottom: 6rem; }
	.u-pb-7 { padding-bottom: 7rem; }
	.u-pb-8 { padding-bottom: 8rem; }

	.u-pl-0 { padding-left: 0rem; }
	.u-pl-1 { padding-left: 1rem; }
	.u-pl-2 { padding-left: 2rem; }
	.u-pl-3 { padding-left: 3rem; }
	.u-pl-4 { padding-left: 4rem; }
	.u-pl-5 { padding-left: 5rem; }
	.u-pl-6 { padding-left: 6rem; }
	.u-pl-7 { padding-left: 7rem; }
	.u-pl-8 { padding-left: 8rem; }

	.u-pr-0 { padding-right: 0rem; }
	.u-pr-1 { padding-right: 1rem; }
	.u-pr-2 { padding-right: 2rem; }
	.u-pr-3 { padding-right: 3rem; }
	.u-pr-4 { padding-right: 4rem; }
	.u-pr-5 { padding-right: 5rem; }
	.u-pr-6 { padding-right: 6rem; }
	.u-pr-7 { padding-right: 7rem; }
	.u-pr-8 { padding-right: 8rem; }

	/* Margin Utilities */
	.u-mt-05 { margin-top: 0.5rem; }
	.u-mt-1 { margin-top: 1rem; }
	.u-mt-2 { margin-top: 2rem; }
	.u-mt-3 { margin-top: 3rem; }
	.u-mt-4 { margin-top: 4rem; }
	.u-mt-5 { margin-top: 5rem; }
	.u-mt-6 { margin-top: 6rem; }
	.u-mt-7 { margin-top: 7rem; }
	.u-mt-8 { margin-top: 8rem; }

	.u-mb-1 { margin-bottom: 1rem; }
	.u-mb-2 { margin-bottom: 2rem; }
	.u-mb-3 { margin-bottom: 3rem; }
	.u-mb-4 { margin-bottom: 4rem; }
	.u-mb-5 { margin-bottom: 5rem; }
	.u-mb-6 { margin-bottom: 6rem; }
	.u-mb-7 { margin-bottom: 7rem; }
	.u-mb-8 { margin-bottom: 8rem; }

	.u-ml-1 { margin-left: 1rem; }
	.u-ml-2 { margin-left: 2rem; }
	.u-ml-3 { margin-left: 3rem; }
	.u-ml-4 { margin-left: 4rem; }
	.u-ml-5 { margin-left: 5rem; }
	.u-ml-6 { margin-left: 6rem; }
	.u-ml-7 { margin-left: 7rem; }
	.u-ml-8 { margin-left: 8rem; }

	.u-mr-1 { margin-right: 1rem; }
	.u-mr-2 { margin-right: 2rem; }
	.u-mr-3 { margin-right: 3rem; }
	.u-mr-4 { margin-right: 4rem; }
	.u-mr-5 { margin-right: 5rem; }
	.u-mr-6 { margin-right: 6rem; }
	.u-mr-7 { margin-right: 7rem; }
	.u-mr-8 { margin-right: 8rem; }
	
	/* Text Alignment */
	.u-text-left     { text-align: left; }
	.u-text-center   { text-align: center; }
	.u-text-right    { text-align: right; }
	.u-text-justify  { text-align: justify; }

	/* Flex Display */
	.u-flex          { display: flex; }
	.u-inline-flex   { display: inline-flex; }

	/* Flex Direction */
	.u-flex-row        { flex-direction: row; }
	.u-flex-row-reverse    { flex-direction: row-reverse; }
	.u-flex-col        { flex-direction: column; }
	.u-flex-col-reverse    { flex-direction: column-reverse; }
	
	/* Flex Wrap */
	.u-flex-wrap 		 { flex-wrap: wrap; }
	.u-flex-nowrap 		 { flex-wrap: nowrap; }
	.u-flex-wrap-reverse { flex-wrap: wrap-reverse; }

	/* Justify Content */
	.u-justify-start    { justify-content: flex-start; }
	.u-justify-center   { justify-content: center; }
	.u-justify-end      { justify-content: flex-end; }
	.u-justify-between  { justify-content: space-between; }
	.u-justify-around   { justify-content: space-around; }
	.u-justify-evenly   { justify-content: space-evenly; }

	/* Align Items */
	.u-items-start     { align-items: flex-start; }
	.u-items-center    { align-items: center; }
	.u-items-end       { align-items: flex-end; }
	.u-items-stretch   { align-items: stretch; }
	.u-items-baseline  { align-items: baseline; }

	/* Align Self */
	.u-self-start     { align-self: flex-start; }
	.u-self-center    { align-self: center; }
	.u-self-end       { align-self: flex-end; }
	.u-self-stretch   { align-self: stretch; }
	.u-self-baseline  { align-self: baseline; }

	/* Display Elements */
	.u-display-none	  { display: none; }

	/* Position Elements */
	.u-position-absolute { position: absolute; }
	.u-position-relative { position: relative; }
	
	/* Gap Utilities (1rem to 8rem) */
	.u-gap-1  { gap: 1rem; }
	.u-gap-2  { gap: 2rem; }
	.u-gap-3  { gap: 3rem; }
	.u-gap-4  { gap: 4rem; }
	.u-gap-5  { gap: 5rem; }
	.u-gap-6  { gap: 6rem; }
	.u-gap-7  { gap: 7rem; }
	.u-gap-8  { gap: 8rem; }

	.u-gap-row-1  { row-gap: 1rem; }
	.u-gap-row-2  { row-gap: 2rem; }
	.u-gap-row-3  { row-gap: 3rem; }
	.u-gap-row-4  { row-gap: 4rem; }
	.u-gap-row-5  { row-gap: 5rem; }
	.u-gap-row-6  { row-gap: 6rem; }
	.u-gap-row-7  { row-gap: 7rem; }
	.u-gap-row-8  { row-gap: 8rem; }

	.u-gap-col-1  { column-gap: 1rem; }
	.u-gap-col-2  { column-gap: 2rem; }
	.u-gap-col-3  { column-gap: 3rem; }
	.u-gap-col-4  { column-gap: 4rem; }
	.u-gap-col-5  { column-gap: 5rem; }
	.u-gap-col-6  { column-gap: 6rem; }
	.u-gap-col-7  { column-gap: 7rem; }
	.u-gap-col-8  { column-gap: 8rem; }

	/* Base (all screen sizes) */
	.order-1  { order: 1; }
	.order-2  { order: 2; }
	.order-3  { order: 3; }
	.order-4  { order: 4; }

	/* Small devices: < 768px (mobiles / small tablets) */
	@media (max-width: 767.98px) {
	  .order-sm-1 { order: 1; }
	  .order-sm-2 { order: 2; }
	  .order-sm-3 { order: 3; }
	  .order-sm-4 { order: 4; }
	}

	/* Medium devices: < 992px (tablets & down) */
	@media (max-width: 991.98px) {
	  .order-md-1 { order: 1; }
	  .order-md-2 { order: 2; }
	  .order-md-3 { order: 3; }
	  .order-md-4 { order: 4; }
	}

	/* Large devices: ≥ 992px (desktops) */
	@media (min-width: 992px) {
	  .order-lg-1 { order: 1; }
	  .order-lg-2 { order: 2; }
	  .order-lg-3 { order: 3; }
	  .order-lg-4 { order: 4; }
	}

	/* Ensure the HTML `hidden` attribute always wins */
	[hidden] {
	  display: none !important;
	}

	/* ============================
	   NAVBAR BASE
	   ============================ */

	.navbar {
	  background: #f4f0eb;
	  height: 100px;
	  position: sticky;
	  top: 0;
	  z-index: 1000;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  box-shadow: 0px 0px 20px -4px #e1c8bc;
	}

	.navbar .container {
	  margin: 0 auto;
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	}

	/* ============================
	   NAV LINKS (DESKTOP/TABLET)
	   ============================ */

	.navbar-nav {
	  position: relative;
	}

	.navbar-nav ul {
	  list-style: none;
	  display: flex;
	  gap: 2.5rem;
	  margin: 0;
	  padding: 0;
	}

	.navbar-nav a {
	  text-decoration: none;
	  font-family: "Cormorant Garamond", serif;
	  font-weight: 500;
	  font-size: 1.25rem;
	  color: #4b3f35;
	  transition: color 0.3s ease, border-bottom 0.3s ease;
	}

	/* Active + hover states */
	.navbar-nav a:hover,
	.navbar-nav a.active {
	  color: #d6a85c;
	  border-bottom: 2px solid #d6a85c;
	  padding-bottom: 2px;
	}

	/* ============================
	   CTA BUTTON
	   ============================ */

	.cta {
	  background: #d6a85c;
	  border-radius: 999px;
	  padding: 0.45rem 1.1rem;
	  font-size: 0.88rem;
	  text-decoration: none;
	  color: black;
	  display: inline-block;
	  transition: background-color 0.3s ease;
	}

	.cta:hover,
	.cta.active {
	  background-color: #e1c8bc;
	}

	/* Desktop: hide mobile CTA inside menu */
	.mobile-cta {
	  display: none;
	}

	/* ============================
	   DROPDOWN (DESKTOP)
	   ============================ */

	.navbar-nav .dropdown {
	  position: relative;
	}

	/* Base dropdown menu (desktop) */
	.navbar-nav .dropdown-menu {
	  display: none;
	  position: absolute;
	  top: 100%;
	  left: 50%; 
	  transform: translateX(-50%);
	  background: #f4f0eb;
	  padding: 0.75rem 0;
	  margin: 0;
	  min-width: 200px;
	  list-style: none;
	  border-radius: 10px;
	  box-shadow: 0px 6px 18px rgba(0,0,0,0.08);
	  z-index: 999;
	}

	/* Show when dropdown is "open" (all devices) */
	.navbar-nav .dropdown.open .dropdown-menu {
	  display: block;
	}

	/* Dropdown links */
	.navbar-nav .dropdown-menu a {
	  display: block;
	  padding: 0.5rem 1rem;
	  font-family: "Cormorant Garamond", serif;
	  font-weight: 500;
	  font-size: 1.15rem;
	  color: #4b3f35;
	  text-decoration: none;
	  border-bottom: none;
	  transition: color 0.3s ease, background 0.3s ease;
	}

	/* Dropdown hover state */
	.navbar-nav .dropdown-menu a:hover,
	.navbar-nav .dropdown-menu a.active {
	  background: rgba(214, 168, 92, 0.08);
	  color: #d6a85c;
	}

	/* Position SVG in link */
	.navbar-nav .dropdown .chevron {
	  margin-left: 0.35rem;
	  display: inline-block;
	  transition: transform 0.3s ease;
	  transform: rotate(0deg);
	}

	/* Rotate when dropdown is open */
	.dropdown.open .chevron {
	  transform: rotate(180deg);
	}

	/* ============================
	   HAMBURGER (BASE)
	   ============================ */

	.hamburger {
	  display: none;
	  flex-direction: column;
	  gap: 6px;
	  background: none;
	  border: none;
	  cursor: pointer;
	}

	.hamburger span {
	  width: 24px;
	  height: 3px;
	  background: #4b3f35;
	  border-radius: 3px;
	}

	/* ============================
	   MOBILE STYLES (≤ 768px)
	   ============================ */

	@media (max-width: 768px) {

	  /* Layout: logo + hamburger only in header */
	  .hamburger {
		display: flex;
	  }

	  .desktop-cta {
		display: none;
	  }

	  /* Mobile nav panel (hidden by default) */
	  .navbar-nav {
		display: none;
		position: fixed;
		top: 100px;
		left: 0;
		right: 0;
		width: 100%;
		background: #f4f0eb;
		border-bottom: 1px solid #e1c8bc;
		box-shadow: 0px 6px 18px rgba(0,0,0,0.08);
	  }

	  .navbar-nav.open {
		display: block;
	  }

	  .navbar-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		padding: 1.5rem;
		width: 100%;
		box-sizing: border-box;
	  }

	  .navbar-nav a {
		border-bottom: none;
		padding-bottom: 0;
	  }

	  .navbar-nav .dropdown {
		width: 100%;
	  }

	  .navbar-nav .dropdown .nav-link {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: flex-start;
	  }

	  /* Submenu (mobile) – animated open/close */
	  .navbar-nav .dropdown-menu {
		position: static;
		left: auto;
		transform: none;
		box-shadow: none;
		border-radius: 0;
		padding: 0 0 0 1.25rem;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		transition:
		  max-height 0.4s ease,
		  opacity 0.3s ease;
		display: block;
	  }

	  .navbar-nav .dropdown.open .dropdown-menu {
		max-height: 400px;
		opacity: 1;
	  }

	  /* CTA inside mobile menu */
	  .mobile-cta {
		display: block;
		width: 100%;
		margin-top: 1rem;
	  }

	  .mobile-cta .cta {
		width: 100%;
		box-sizing: border-box;
		display: block;
		text-align: center;
		padding-bottom: 10px;
	  }
	}

	/* ============================
	   SCROLL LOCK WHEN NAV OPEN
	   ============================ */

	body.nav-open {
	  position: fixed;
	  overflow: hidden;
	  width: 100%;
	  left: 0;
	  right: 0;
	}

	.hero {
		position: relative;
		display: flex;
		align-items: center;
		min-height: 500px;
		background: #f4f0eb;
		padding-top: 4rem;
		padding-bottom: 6rem;
	}
	
	.hero-image {
		position: absolute;
		inset: 0;
		background: url('../img/Stamford-Pet-and-Equine-Crematorium_Homepage-Hero-Amber.png') no-repeat;
		background-size: cover;
		background-position: right 0% top 35%;
		-webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 40%, rgba(0,0,0,1) 80%);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: cover;
		mask-image: linear-gradient(to right, rgba(0,0,0,0) 40%, rgba(0,0,0,1) 80%);
		mask-repeat: no-repeat;
		mask-size: cover;
		min-height: 500px
	}

	.hero .container {
		position: relative;
		z-index: 1;
	}
	
	@media (max-width: 767.98px) {
		.hero-image {
			flex-direction: column;
			min-height: auto;
			background-position: bottom 60% right;
			background-size: cover;
			-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 00%, rgba(0,0,0,1) 80%);
			mask-image: linear-gradient(to top, rgba(0,0,0,0) 00%, rgba(0,0,0,1) 80%);
			margin-bottom: 300px;
		}

		.hero-image::before {
			content: "";
			position: absolute;
			inset: 0;
			background: rgba(244, 240, 235, 0.6);
		}

		.hero .container {
			padding-top: 1rem;
		  }
		  
		.hero .row {
			margin-top: 100px;
		}
	}

	.hero-image-services {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  height: 100%;         
	}

	.hero-services-image {
	  display: block;
	  max-width: 100%;
	  width: 100%;
	  height: auto;
	  border-radius: 10px;
	  margin: 0 auto;
	}

	@media (min-width: 992px) {
	  .hero-services-image {
		max-height: 500px;
		object-fit: cover;
	  }
	}

	/* Tablet: 425px – 767.98px */
	@media (min-width: 425px) and (max-width: 767.98px) {
	  .hero-services-image {
		width: 80%;
	  }
	}

	/* Mobile: <425px */
	@media (max-width: 424.98px) {
	  .hero-services-image {
		width: 100%;
	  }
	}

    .announcement {
		background: #88a5bc;
		padding: 0.5rem 1rem;
		border-radius: 10px;
		display: inline-block;
		margin-bottom: 1rem;
    }
	
	.features {
		text-align: center;
	}
	
	@media (max-width: 767.98px) {
		.features {
			text-align: left;
		}
	}
	
	.features img {
		width: 100%;
		border-radius: 10px;
	}

	@media (max-width: 991.98px) {
		.features img {
			width: 50%;
			margin-bottom: 3rem;
		}
	}

	.core-values .icon-block {
		background: #f4f0eb;
		padding: 40px 20px 20px 30px;
		margin: 0px 20px 0px 0px;
		border-radius: 10px;
		text-align: left;
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		box-sizing: border-box;
		height: 100%;
	}

	.core-values .row [class*="col-"]:last-child .icon-block {
		margin-right: 0px
	}
	
    @media (max-width: 991.98px) {
		.core-values .icon-block {
			margin-bottom: 20px;
			height: auto;
		}
		
		.core-values .row [class*="col-"]:nth-child(2) .icon-block {
			margin-right: 0px
		}
	}
	
    @media (max-width: 767.98px) {
		.core-values .icon-block {
			margin-bottom: 30px;
			margin-right: 0px;
			height: auto;
		}
	}
	
	.icon-core-value {
		background-image: url('../img/Heart-Icon.svg');
		background-repeat: no-repeat;
		background-position: top left;
		background-size: 60px auto;
		padding-right: 1.5rem;
	}
	
    @media (max-width: 991.98px) {
		.icon-core-value {
			white-space: nowrap;
		}
	}
	
    @media (max-width: 767.98px) {
		.icon-core-value {
			white-space: unset;
		}
	}
	
	.services {
		background: #e1c8bc;
		padding-top: 80px;
		padding-bottom: 80px;
	}

    .services [class*="col-"] {
		background-size: cover;
		background-position: center;
		padding: 2rem;
    }

	.services .cta {
		border: solid 2px #d6a85c;	
		background: none;
		transition: color 0.3s ease;
	}

/* Active and hover states*/
	.services .cta:hover,
	.services .cta.active {
  		background-color: #d6a85c;
	}

	.icon-title {
		display: block;
		background-repeat: no-repeat;
		background-position: top right 35%;
		background-size: 200px auto;
		padding-top: 100px;
		margin-bottom: 1rem;
	}
	
	.service-card {
		position: relative;
		overflow: visible;
		background-color: transparent;
	}

	.icon-title.horse {
		background-image: url('../img/Horse.svg');
		background-size: 250px auto;
	}
	.icon-title.dog {
		background-image: url('../img/Dog.svg');
		background-size: 150px auto;
	}
	.icon-title.cat {
		background-image: url('../img/Cat.svg');
		background-size: 130px auto;
	}
	.icon-title.smallpet {
		background-image: url('../img/Small%20Pets.svg');
	}
	
	.who-we-are .image-wrapper {
		display: flex;
		justify-content: center;
	}
	
    .who-we-are .images {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 1rem;
		max-width: 100%;
		align-items: center;
    }

	@media (max-width: 991.98px) {
		.who-we-are .images {
			flex-direction: row;
			flex-wrap: wrap;
		}
		
		.who-we-are .images:first-child {
			margin-bottom: 3rem;
		}
		
		.who-we-are .images:last-child {
			margin-top: 3rem;
		}
		
		.who-we-are img {
			max-width: 100%;
			height: auto;
			display: block;
		}
	}

    .memorial-items {
		background: #88a5bc;
		padding-top: 40px;
		padding-bottom: 40px;
    }

    .memorial-items .content-box {
		background: #f4f0eb;
		border-radius: 10px;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		position: relative;
		min-height: 300px;
    }
	
	.memorial-items .content-box-text {
		padding: 3rem 3rem 3rem 6rem;
	}

	.memorial-image {
		max-width: 100%;
		height: 500px;
		width: 100%;
		object-fit: cover;
		display: block;
		-webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40%);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: cover;
		mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40%);
		mask-repeat: no-repeat;
		mask-size: cover;
		border-radius: 10px;
	}
	
	@media (max-width: 991.98px) {
	  .memorial-image {
		flex-direction: column;
		min-height: auto;
		background-position: top center;
		background-size: cover;
		-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 00%, rgba(0,0,0,1) 80%);
		mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 00%, rgba(0,0,0,1) 80%);
	  }
	  
	.memorial-items .content-box-text {
		padding: 3rem;
	  }

	.memorial-image::before {
		  content: "";
		  position: absolute;
		  inset: 0;
		  background: rgba(244, 240, 235, 0.6);
		}
	}

    .faq [class*="col-"]:first-child {
		padding: 1rem 2rem 1rem 1rem;
    }

    .faq [class*="col-"]:last-child {
		padding: 1rem 1rem 1rem 2rem;
    }
	
	@media (max-width: 767.98px) {
		.faq [class*="col-"]:first-child {
			padding-bottom: 0rem;
			padding-right: 0rem;
		}
		  
		.faq .row [class*="col-"]:not(:first-child) {
			padding-top: 0rem;
			padding-left: 1rem;
		}
	}

    .footer {
		background: #f4f0eb;
		padding: 4rem 0;
    }
	
	.footer ul {
		list-style-type: none;
		padding-inline-start: 0px;
	}
	
	.footer li {
		margin-bottom: 10px;
	}
	
	@media (max-width: 767.98px) {
		.footer [class*="col-"] {
			padding-bottom: 2rem;
		}
	}

    .footer .row:last-child {
		border-top: 1px solid #ccc;
		padding-top: 1rem;
		margin-top: 1rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
    }

	@media (max-width: 424.98px) {
		.footer .row:last-child {
			flex-direction: column;
		}
		
		.footer .row img:last-child {
			margin-bottom: 1rem;
		}
	}

/* Additional styles for Services page */
	.hero-services {
	  position: relative;
	  background-color: #f4f0eb;
	  overflow: hidden;
	}

	.hero-services .hero-content {
	  position: relative;
	  z-index: 2;
	  padding: 3rem 1rem;
	}

	.hero-services .hero-visual {
	  position: relative;
	  min-height: 400px;
	}

	.hero-rectangle {
	  position: absolute;
	  top: 0;
	  right: 0;
	  width: 80%;
	  height: 100%;
	  background: linear-gradient(to top, var(--accent-color, #d9c7b3) 60%, transparent 100%);
	  border-radius: 0 0 0 100px;
	  z-index: 1;
	}

	.service-highlights {
	  background: #fff;
	}

	.highlight-icon {
	  width: 60px;
	  height: 60px;
	  margin-bottom: 1rem;
	  opacity: 0.8;
	}

	.service-section {
	  background: #fff;
	}

	.service-section.alt {
	  background: #f4f0eb;
	}

	/* Base shape container */
	.service-shape {
	  position: relative;
	  width: 100%;
	  height: 320px;
	  border-radius: 10px;
	  overflow: hidden;
	}

	/* Image fills the shape */
	.service-shape img {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  object-position: center;
	  display: block;
	}

	/* Right corner fade (image → transparent in top-right) */
	.service-shape.right {
	  -webkit-mask-image: linear-gradient(
		to top right,
		rgba(0,0,0,1) 70%,   /* fully visible image */
		rgba(0,0,0,0) 100%   /* fade to transparent in corner */
	  );
	  mask-image: linear-gradient(
		to top right,
		rgba(0,0,0,1) 70%,
		rgba(0,0,0,0) 100%
	  );
	  -webkit-mask-repeat: no-repeat;
	  mask-repeat: no-repeat;
	  -webkit-mask-size: cover;
	  mask-size: cover;
	}

	/* Left corner fade (image → transparent in top-left) */
	.service-shape.left {
	  -webkit-mask-image: linear-gradient(
		to top left,
		rgba(0,0,0,1) 70%,
		rgba(0,0,0,0) 100%
	  );
	  mask-image: linear-gradient(
		to top left,
		rgba(0,0,0,1) 70%,
		rgba(0,0,0,0) 100%
	  );
	  -webkit-mask-repeat: no-repeat;
	  mask-repeat: no-repeat;
	  -webkit-mask-size: cover;
	  mask-size: cover;
	}

	/* Mobile / small tablet */
	@media (max-width: 768px) {
	  .service-shape {
		height: 200px;
		margin-bottom: 2rem;
	  }
	}

	/* Responsive Adjustments */
	@media (max-width: 768px) {
	  .service-section .row {
		  flex-direction: column-reverse;
	  }

	  .service-shape {
		height: 200px;
		margin-bottom: 2rem;
	  }

	  .hero-services {
		flex-direction: column;
		padding-top: 0px;
	  }

	  .hero-rectangle {
		width: 100%;
		height: 200px;
		border-radius: 0;
	  }

	}

	/* Additional styles for Contact page */
	.contact-form {
	  background: #fff;
	  padding: 2rem;
	  border-radius: 12px;
	  box-shadow: 0 0 20px 2px rgba(0,0,0,0.1);
	  /* position: sticky;
	  top: 164px; */
	}

	.contact-form h2 {
	  margin-bottom: 1rem;
	  margin-top: 0rem;
	}

	.contact-form .form-group {
	  margin-bottom: 1rem;
	}

	.contact-form label {
	  display: block;
	  font-weight: 500;
	  margin-bottom: 0.5rem;
	}

	.contact-form input,
	.contact-form textarea {
	  width: 100%;
	  padding: 0.75rem;
	  border: 1px solid #ddd;
	  border-radius: 8px;
	  font-size: 1rem;
	  font-family: inherit;
	  box-sizing: border-box;
	}

	.contact-form input:focus,
	.contact-form textarea:focus {
	  border-color: #a67c52;
	  outline: none;
	}

	.contact-form button.cta {
	  margin-top: 1rem;
	  width: 100%;
	  border: none;
	  cursor: pointer;
	}

  .hp-field-wrapper {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
  }

	/* Map container */
	.map iframe {
	  border-radius: 8px;
	}

	/* Responsive tweaks */
	@media (max-width: 768px) {
	  .contact-form {
		margin-top: 2rem;
	  }
	}

/* Additional styles for pet crematorium pages */
	.price-table {
	  width: 100%;
	  border-collapse: separate;
	  border-spacing: 0;
	  font-family: 'Lora', serif;
      border: 0;
	  border-radius: 0;
	  border: 1px solid #D7D2CB;
	  overflow: visible;
	}

	.table-responsive {
	  border-radius: 12px;
	  overflow: hidden;
	  background: #fff;
	}

	/* Desktop column widths */
	@media (min-width: 769px) {

	  .price-table th:nth-child(1),
	  .price-table td:nth-child(1) {
		width: 40%;
	  }

	  .price-table th:nth-child(2),
	  .price-table th:nth-child(3),
	  .price-table th:nth-child(4),
	  .price-table td:nth-child(2),
	  .price-table td:nth-child(3),
	  .price-table td:nth-child(4) {
		width: 20%;
	  }
	}

	/* Table Heading Row */
	.price-table thead th {
	  font-family: 'EB Garamond', serif;
	  font-size: 1.25rem;
	  font-weight: 600;
	  color: #2D2B29;
	  background: #ffffff;
	  padding: 1rem;
	  border-bottom: 1px solid #D7D2CB;
	  text-align: left;
	}

	/* Body Cells */
	.price-table tbody td {
	  padding: 1rem;
	  font-size: 1.25rem;
	  color: #2D2B29;
	  border-bottom: 1px solid #E6E2DC;
	}

	/* Last row removes border */
	.price-table tbody tr:last-child td {
	  border-bottom: none;
	}

	/* Alternating row shading (very subtle Ivory) */
	.price-table tbody tr:nth-child(even) {
	  background: #F4F0EB;
	}

	/* Round corners for the overall table */
	.price-table {
	  border-radius: 12px;
	}

	/* Round corner fix for overflow */
	.price-table thead th:first-child {
	  border-top-left-radius: 12px;
	}

	.price-table thead th:last-child {
	  border-top-right-radius: 12px;
	}

	/* Responsive stacking on mobile */
	@media (max-width: 768px) {
	  .price-table {
		  border: 0px;
	  }
		
	  .price-table thead {
		display: none;
	  }
		
	  .price-table tbody td {
		display: block;
		text-align: right;
		border-bottom: 1px solid #E6E2DC;
	  }
		
	  .price-table tbody td::before {
		content: attr(data-label);
		float: left;
		font-weight: 600;
		font-family: 'EB Garamond', serif;
		color: #2D2B29;
	  }
		
	  .price-table tbody tr {
		margin-bottom: 1rem;
		display: block;
		background: #fff;
		border-radius: 12px;
		padding: 1rem;
		border: 1px solid #E6E2DC;
	  }
	}

	/* Notes under pricing table */
	.price-notes {
	  display: flex;
	  justify-content: space-between;
	  align-items: flex-start;
	  gap: 3rem;
	  font-size: 1rem;
	}

	.price-notes p {
	  margin: 0;
	}

	.price-notes p:last-child {
	  text-align: right;
	}

	/* Stack on mobile */
	@media (max-width: 768px) {
	  .price-notes {
		flex-direction: column;
		align-items: flex-start;
		gap: 0rem;
	  }

	  .price-notes p:last-child {
		text-align: left;
	  }
	}

	.price-notes-alt {
		padding: 15px;
		background: #f4f0eb;
		border-radius: 10px;
	}

/* --------------------------------
   Tooltips (pricing tables)
-------------------------------- */

	/* The tooltip that JS renders into <body> */
	.floating-tooltip {
	  position: absolute;
	  max-width: 220px;
	  padding: 0.6rem 0.75rem;
	  background: #2D2B29;
	  color: #ffffff;
	  font-family: 'Lora', serif;
	  font-size: 1rem;
	  line-height: 1.4;
	  border-radius: 6px;
	  text-align: center;
	  z-index: 9999;
	  pointer-events: none;
	  box-sizing: border-box;
	}

	/* Keep the wrapper visible (icon lives inside it) */
	.price-table .tooltip {
	  position: relative;
	  display: inline-block;
	}

	/* The inline info icon */
	.price-table .tooltip-icon {
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	  height: 18px;
	  border-radius: 50%;
	  color: #2D2B29;
	  font-size: 0.75rem;
	  font-weight: 600;
	  cursor: help;
	  outline: none;
	}

	/* Keyboard focus ring */
	.price-table .tooltip-icon:focus {
	  box-shadow: 0 0 0 2px rgba(217, 199, 179, 0.6);
	}

	/* Hide inline tooltip text (JS reads it and renders floating tooltip) */
	.price-table .tooltip-content {
	  display: none;
	}

/* Base (desktop + general) – image behaves normally in its column */
	.service-image {
	  width: 100%;
	  height: auto;
	  display: block;
	}

	/* Mobile + Tablet: image first (stacked above text) */
	@media (max-width: 767.98px) {
	  .service-row {
		display: flex;
		flex-direction: column-reverse;
		margin-bottom: 2rem;
	  }
	}

	/* Tablet: 425px–767.98px – image 80% width, centred */
	@media (min-width: 425px) and (max-width: 767.98px) {
	  .service-image {
		width: 80%;
		margin: 0 auto;
		margin-bottom: 2rem;
	  }
	}

	/* Mobile: <425px – image full width */
	@media (max-width: 424px) {
	  .service-image {
		width: 100%;
		margin-bottom: 2rem;
	  }
	}

	.memorial-image-gallery {
		width: 100%;
		border-radius: 10px;
	}

/* Additional styles for memorial items pages */
	.memorial-intro {
	  max-width: 52rem;
	  margin: 0 auto;
	  text-align: center;
	}

	.memorial-section {
	  border-top: 1px solid #E6E2DC;
	  padding-top: 3rem;
	  margin-top: 3rem;
	}

	.memorial-section:first-of-type {
	  border-top: none;
	  padding-top: 0;
	  margin-top: 0;
	}

	.memorial-gallery {
	  display: flex;
	  flex-direction: column;  
	  align-items: center;   
	  gap: 2rem;  
	}

	.memorial-gallery-item {
	  width: 100%;
	  max-width: 240px;
	}

	.memorial-gallery-item p {
	  font-size: 0.95rem;
	  padding-bottom: 0;
	  margin-top: 0.35rem;
	  text-align: center;
	}

	.memorial-price-notes {
		padding: 3rem;
		background: #f4f0eb;
		border-radius: 10px;
	}

	/* Brochure callout*/
	.brochure-preview {
	  display: flex;
	  justify-content: center;
	  margin: auto;
	}

	.brochure-preview img {
	  width: 100%;
	  height: auto;
	  display: block;
	  border-radius: 10px;
	}

	.brochure-link {
	  display: inline-flex;
	  align-items: center;
	  gap: 0.5rem;
	  font-family: 'EB Garamond', serif;
	  font-weight: 600;
	  font-size: 1.125rem;
	  color: #2D2B29;
	  text-decoration: none;
	  border-bottom: 2px solid rgba(214, 168, 92, 0.6);
	  padding-bottom: 2px;
	}

	.brochure-link:hover {
	  border-bottom-color: #d6a85c;
	}

/* ============================
   Dashboard layout
   ============================ */
.navbar-dashboard {
	background: #f4f0eb;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 0rem 0rem 0rem;
}

.dashboard-shell {
  background: #f4f0eb;
  padding: 1rem 0rem 3rem 0rem;
  min-height: 100vh;
}

.dashboard-wrapper {
  background: #f9f5ef;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e6e2dc;
  position: relative;
}

/* Sidebar */

.dashboard-sidebar {
  background: #f6f1ea;
  border-right: 1px solid #e6e2dc;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.dashboard-sidebar-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.dashboard-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.dashboard-menu-item {
  display: flex;
  align-items: center;
}

.dashboard-menu-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  color: #4b3f35;
  width: 100%;
  transition: background 0.2s ease, color 0.2s ease;
}

.dashboard-menu-link span.icon {
  font-size: 1.05rem;
  opacity: 0.7;
}

.dashboard-menu-link.is-active {
  background: #e1c8bc;
  color: #2d2b29;
  font-weight: 600;
}

.dashboard-menu-link:hover {
  background: #e6ded4;
}

/* Main area */

.dashboard-main {
  padding: 1rem 2.5rem 2rem 2.5rem;
}

.dashboard-main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dashboard-main-header h1 {
  padding-bottom: 0;
  margin-bottom: 0.25rem;
}

/* Stat cards */

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0rem;
}

.stat-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e6e2dc;
}

.stat-card-number {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stat-card-label {
  font-size: 0.96rem;
  color: #6f6459;
}

/* Filters + search */

.dashboard-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0rem 0rem 2rem 0rem;
}

.filter-pill {
  border-radius: 999px;
  border: 1px solid #e0d7cd;
  background: #ffffff;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  cursor: pointer;
  font-family:'Lora', serif;
}

.filter-pill.gold {
	background-color: #d6a85c;
	color: #4b3f35;
}

.filter-pill.is-active {
  background: #4b3f35;
  color: #ffffff;
  border-color: #4b3f35;
}

.dashboard-search {
  margin-left: auto;
  max-width: 260px;
  flex: 1 1 200px;
}

.dashboard-search input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #ddd3c7;
  font-family: inherit;
  font-size: 0.9rem;
}

@media (min-width: 992px) {
  .dashboard-shell .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .dashboard-shell .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .dashboard-shell .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Cases table */

.cases-table-wrapper {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #d7d2cb;
  overflow: hidden;
  overflow-x: auto;
  padding: 0rem;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.cases-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cases-table thead th {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid #e6e2dc;
  background: #ffffff;
}

.cases-table tbody td {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid #f0ebe4;
}

.cases-table tbody tr:last-child td {
  border-bottom: none;
}

.cases-table tbody tr:nth-child(even) {
  background: #faf6f0;
}

/* -------------------------------
   Admin Cases: filters + bulk bar
-------------------------------- */

.cases-quick-pills--hidden {
  display: none;
}

/* chip containers */
.cases-filters-grid {
  width: 100%;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.cases-filter-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.cases-filter-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  margin: 0;
}

.cases-filter-clear,
.cases-filter-clearall,
.cases-bulkbar__link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #4b3f35;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
}

.cases-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(75, 63, 53, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  background: #fff;
  cursor: pointer;
  user-select: none;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
}

.case-chip.is-active {
  border-color: rgba(75, 63, 53, 0.55);
}

.case-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* If the icon has no content (not selected), hide it entirely so there’s no left gap */
.case-chip__icon:empty {
  display: none;
}

/* Selected filters strip */
.cases-selected-filters {
  margin: 0.6rem 0 0.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(75, 63, 53, 0.15);
  border-radius: 10px;
  background: rgba(245, 240, 233, 0.35);
}

.cases-selected-filters__title {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Bulk bar */
.cases-bulkbar {
  margin: 0.9rem 0;
  padding: 0.75rem;
  border: 1px solid rgba(75, 63, 53, 0.15);
  border-radius: 10px;
  background: rgba(245, 240, 233, 0.35);
}

.cases-bulkbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cases-bulkbar__right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cases-bulkbar__confirm {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cases-bulkbar__result {
  margin-top: 0.75rem;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
}

.cases-bulkbar__spinner {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
}

/* Accordion filter groups */
.cases-filter-acc {
  border: 1px solid rgba(75, 63, 53, 0.15);
  border-radius: 10px;
  background: rgba(245, 240, 233, 0.25);
  padding: 0.4rem 0.6rem;
}

.cases-filter-acc__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.2rem;
}

.cases-fitler-acc__summary .cases-filter-clear {
  margin-left: auto;
}

/* Remove default marker */
.cases-filter-acc__summary::-webkit-details-marker {
  display: none;
}

.cases-filter-acc__body {
  padding: 0.2rem 0.2rem 0.6rem;
}

.cases-filter-acc__body .cases-filter-clear {
  margin-bottom: 0.45rem;
}

/* ============================
   Shared status chips (dashboard + tracking)
   ============================ */

/* Base chip style */
.status-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  background: #f4f0eb;
  color: #4b3f35;
  white-space: nowrap;
}

/* Variants */

/* “In our care” / “Safely with us” */
.status-badge--in-care,
.status-pill--with-us {
  background: #d9c7b3;
  border-color: #cdb49a;
}

/* “In cremation” / queue */
.status-badge--in-cremation {
  background: #e0ded7;
}

/* “Ashes ready” */
.status-badge--ashes-ready {
  background: #d6a85c;
  color: #2d2b29;
}

/* --------------------------------
   Urgent action badges
   -------------------------------- */

/* Base urgent style (shared) */
.status-badge--urgent {
  color: #ffffff;
  border-color: transparent; /* set per hue below */
}

/* Option 1: Deep red (high urgency) */
.status-badge--urgent-red {
  background: #8f2a2a;
  border-color: #7a2323;
}

/* Option 2: Deep teal (still urgent, less “alarm”) */
.status-badge--urgent-teal {
  background: #0f5c5c;
  border-color: #0b4a4a;
}

/* Option 3: Deep purple (distinct, still strong) */
.status-badge--urgent-purple {
  background: #4b2f73;
  border-color: #3f285f;
}

/* Secondary section title under table */

.dashboard-section-title {
  font-size: 1.5rem;
  margin-top: 2rem;
}

/* Responsive */

@media (max-width: 767.98px) {
  .dashboard-sidebar {
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid #e6e2dc;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .dashboard-menu {
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .dashboard-main {
    padding: 1.75rem 1.5rem 2.5rem;
  }

  .dashboard-main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-search {
    margin-left: 0;
    max-width: 100%;
  }

  .cases-table-wrapper {
    overflow-x: auto;
  }

  .cases-table {
    min-width: 600px;
  }
}

@media (max-width: 575.98px) {
  .dashboard-sidebar-title {
    font-size: 1.3rem;
  }

  .dashboard-menu-link {
    padding: 0.35rem 0.75rem;
    font-size: 0.86rem;
  }
}

/* --------------------------------
   Case detail: sticky right column
---------------------------------- */
@media (min-width: 992px) {
  .case-detail-side {
    position: sticky;
    top: 23px;
    align-self: flex-start;
    height: fit-content;
	padding-left: 2rem;
  }
}

@media (min-width: 992px) {
  .case-detail-row {
    column-gap: 0; 
    row-gap: 2rem; 
  }
}

.case-section-wrapper {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #d7d2cb;
  overflow: hidden;
  padding: 0rem;
}

.case-section-wrapper--padded {
	padding: 1.25rem;
}

/* --------------------------------
   Case detail: Lock pricing sections after invoice
---------------------------------- */

	.lock-pill {
	  display:inline-flex;
	  align-items:center;
	  gap:.35rem;
	  padding: 0.45rem 1.1rem;
	  border:1px solid #e6e0d7;
	  border-radius:999px;
	  font-family:'Lora', serif;
	  font-size:.88rem;
	  line-height:1;
	  background:#f7f3ee;
	  color:#2D2B29;
	  opacity:.95;
	}

	.lock-pill::before {
	  content:"🔒";
	  font-size:1rem;
	  line-height:1;
	}

/* ============================
   Tracking page
   ============================ */

body.tracking-body {
  background: #f7f3ee;
}

/* Page shell */

.tracking-page {
  padding: 4rem 0 6rem;
}

.tracking-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Header */

.tracking-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tracking-header h1 {
  padding-bottom: 0.75rem;
}

.tracking-header p {
  max-width: 36rem;
  margin: 0 auto;
  padding-bottom: 0;
  font-size: 1.05rem;
}

.tracking-hint {
	margin-top: 0rem;
}

/* Shared card styling */

.tracking-card,
.tracking-result-card,
.tracking-support-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #e6e2dc;
  padding: 2rem 2.25rem;
  margin-bottom: 1.75rem;
}

/* Tracking form */

	.tracking-form-group {
	  margin-bottom: 1.25rem;
	}

	.tracking-form-label {
	  display: block;
	  font-weight: 600;
	  font-family: 'EB Garamond', serif;
	  margin-bottom: 0.5rem;
	  font-size: 1.1rem;
	}

	.tracking-input {
	  width: 100%;
	  padding: 0.75rem 0.9rem;
	  border-radius: 10px;
	  border: 1px solid #d7d2cb;
	  font-family: inherit;
	  font-size: 1rem;
	  box-sizing: border-box;
	}

	.tracking-input::placeholder {
	  color: #b0a69a;
	}

	.tracking-input:focus {
	  outline: none;
	  border-color: #c0a387;
	}

	/* Buttons */

	.btn,
	.link-button {
	  font-family: inherit;
	  font-size: 1rem;
	  cursor: pointer;
	}

	.btn-primary-track {
	  display: block;
	  width: 100%;
	  padding: 0.85rem 1.25rem;
	  border-radius: 12px;
	  border: none;
	  background: #d9c7b3;
	  color: #2d2b29;
	  font-family: 'EB Garamond', serif;
	  font-size: 1.15rem;
	  font-weight: 600;
	  text-align: center;
	  margin-bottom: 0.75rem;
	  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
	}

	.btn-primary-track:hover {
	  background: #e1d2c0;
	}

	.btn-primary-track:active {
	  transform: translateY(1px);
	  box-shadow: 0 2px 6px rgba(0,0,0,0.1) inset;
	}

	@media (min-width: 768px) {
	  /* Payment success action buttons: split evenly */
	  .tracking-result-card .u-flex > .btn-primary-track {
		flex: 1 1 0;
		width: auto !important;
	  }
	}

	/* Small link-style button */

	.link-button {
	  border: none;
	  background: none;
	  padding: 0;
	  color: #7c6a59;
	  text-decoration: underline;
	  text-underline-offset: 3px;
	  margin-bottom: 0.75rem;
	}

	/* Status summary */

	.tracking-result-card h2 {
	  margin-top: 0;
	  padding-bottom: 0.25rem;
	}

	.status-header {
	  display: flex;
	  justify-content: space-between;
	  align-items: flex-start;
	  gap: 1rem;
	  margin-bottom: 0.75rem;
	}

	.pet-name {
	  font-family: 'EB Garamond', serif;
	  font-size: 2rem;
	  font-weight: 600;
	  padding-bottom: 0rem;
	  margin-bottom: 0rem;
	}

	/* Status description paragraph */
	.status-description {
	  font-size: 1rem;
	  padding-bottom: 1.25rem;
	}

	/* Progress steps */

	.status-steps {
	  list-style: none;
	  margin: 0;
	  padding: 0;
	  border-left: 2px solid #e6e0d7;
	}

	.status-steps li {
	  position: relative;
	  padding-left: 1.5rem;
	  padding-bottom: 0.55rem;
	  font-size: 0.98rem;
	  color: #6f6459;
	}

	.status-steps li::before {
	  content: "";
	  position: absolute;
	  left: -6px;
	  top: 0.35rem;
	  width: 10px;
	  height: 10px;
	  border-radius: 50%;
	  background: #e6e0d7;
	}

	.status-steps li.completed {
	  color: #bababa;
	}

	.status-steps li.completed::before {
	  background: #c6ad92;
	}

	.status-steps li.current {
	  color: #2d2b29;
	  font-weight: 600;
	}

	.status-steps li.current::before {
	  background: #d9c7b3;
	}

	/* Timeline */

	.status-timeline h3 {
	  padding-top: 1.25rem;
	}

	.timeline-list {
	  list-style: none;
	  margin: 0;
	  padding: 0;
	  border-left: 2px solid #e6e0d7;
	}

	.timeline-item {
	  position: relative;
	  padding-left: 1.5rem;
	  margin-bottom: 1rem;
	}

	.timeline-dot {
	  position: absolute;
	  left: -6px;
	  top: 0.45rem;
	  width: 10px;
	  height: 10px;
	  border-radius: 50%;
	  background: #c6ad92;
	}

	.timeline-label {
	  font-size: 1rem;
	  padding-bottom: 0.2rem;
	}

	/* Payment success line items: force dot alignment */
	#line-items.timeline-list .timeline-item {
	  display: flex;
	  align-items: center;
	  gap: 0.9rem;
	  padding-left: 0 !important; /* overrides timeline padding */
	  margin-bottom: 0;
	  height: 30px;
	}

	#line-items.timeline-list .timeline-dot {
	  position: relative !important; /* overrides absolute */
	  left: -6px !important;         /* stays on the vertical line */
	  flex: 0 0 auto;
	  top: 0;
	}

	#line-items.timeline-list .timeline-item > div {
	  flex: 1;
	}

	@media (max-width: 767.98px) {

	  #line-items.timeline-list {
		border-left: none !important;
		padding-left: 0;
	  }

	  #line-items.timeline-list .timeline-item {
		display: block;
		padding-left: 0 !important;
		margin-bottom: 0.6rem;
		height: auto;
	  }
		
	  #line-items.timeline-list .timeline-label {
	    margin-bottom: 0;
	  }

	  #line-items.timeline-list .timeline-dot {
		display: none !important;
	  }

	  #line-items.timeline-list .timeline-item > div {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.15rem;
	  }

	  #line-items.timeline-list .timeline-meta {
		font-size: 0.95rem;
		margin: 0;
	  }
	}

	/* What happens next / support */

	.tracking-support-card {
	  margin-top: 0.5rem;
	}

	.tracking-support-grid {
	  display: flex;
	  flex-direction: column;
	  gap: 1.5rem;
	}

	.support-next {
	  flex: 1;
	}

	.support-contact {
	  flex: 1;
	  padding: 1.25rem 1.5rem;
	  border-radius: 12px;
	  background: #f7f3ee;
	  border: 1px solid #e1d7cc;
	}

	.support-contact h3 {
	  padding-bottom: 0.5rem;
	}

	.support-contact p {
	  padding-bottom: 0.35rem;
	}

	.support-contact a {
	  color: #4b3f35;
	  text-decoration: none;
	  border-bottom: 1px solid rgba(75, 63, 53, 0.3);
	  padding-bottom: 1px;
	}

	.support-contact a:hover {
	  border-bottom-color: #4b3f35;
	}

	/* Responsive tweaks */

	@media (min-width: 768px) {
	  .tracking-page {
		padding: 5rem 0 7rem;
	  }

	  .tracking-support-grid {
		flex-direction: column;
		gap: 0rem;
	  }
	}

/* ============================
   Shared admin/vet create form
   ============================ */

	.form-stack {
	  display: flex;
	  flex-direction: column;
	  gap: 1rem;
	}

	.form-group {
	  display: flex;
	  flex-direction: column;
	  gap: 0.35rem;
	}

	.form-group label {
	  font-family: 'Lora', serif;
	  font-size: 0.96rem;
	  margin-bottom: 0.5rem;
	  opacity: 0.85;
	}

	.form-control {
	  width: 100%;
	  max-width: 100%;
	  padding: .65rem .75rem;
	  border-radius: 10px;
	  border: 1px solid #ddd3c7;
	  font-family: inherit;
	  font-size: 1rem;
	  box-sizing: border-box;
	}

	.form-control.inline {
	  width: 70%;
	  padding .4rem .75rem;
	}

	.form-control:focus {
	  outline: none;
	  border-color: #c0a387;
	}

	.form-control[readonly] {
	  background: #faf6f0;
	}

	.form-help {
	  margin-top: .1rem;
	}

	.radio-row {
	  display: flex;
	  gap: 1rem;
	  align-items: center;
	  flex-wrap: wrap;
	  margin-top: .25rem;
	}

	.checkbox-row {
	  display: flex;
	  gap: .5rem;
	  align-items: center;
	  flex-wrap: wrap;
	}

	.fieldset-card {
	  border: 1px solid #eee4d9;
	  border-radius: 12px;
	  padding: 1rem;
	  background: #ffffff;
	}

	.fieldset-card legend {
	  font-family: 'EB Garamond', serif;
	  font-weight: 600;
	  padding: 0 .35rem;
	}

/* ===== Add cremation form helpers ===== */

	.cases-table-wrapper--padded {
	  padding: 1.25rem;
	}

	.admin-form__divider {
	  border: none;
	  border-top: 1px solid #eee4d9;
	  margin: 1.25rem 0;
	}

	.admin-form__actions {
	  display: flex;
	  justify-content: flex-start;
	  gap: 0.5rem;
	  flex-wrap: wrap;
	}

	.admin-form__submit {
	  margin-top: 1.5rem;
	  font-size: 1.2rem;
	  border: none;
	}

	/* Make fields 50% width on desktop (>= 992px) */
	@media (min-width: 992px) {
	  .admin-form--half .form-group,
	  .admin-form--half .fieldset-card {
		width: 50%;
	  }

	  /* Keep stacks vertically aligned */
	  .admin-form--half .form-stack {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	  }

	  /* Ensure control fill the 50% container */
	  .admin-form--half .form-control {
		width: 100%;
	  }
		
	    /* Keep fieldset itself 50%, but make the fields inside it full width */
	  .admin-form--half .fieldset-card .form-group {
		width: 100%;
	  }

	  .admin-form--half .fieldset-card .checkbox-row {
		width: 100%;
	  }
	}

	/* ===== Top bar layout ===== */
	.navbar-dashboard--topbar {
	  padding: 0.75rem 0;
	}

	.navbar-dashboard__inner {
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	}

	.dashboard-menu-item--cta .cta {
	  padding: 0.55rem 1.1rem;
	  display: inline-flex;
	  align-items: center;
	  white-space: nowrap;
	}

	.dashboard-sidebar {
	  justify-content: flex-end;
	}
	.dashboard-menu {
	  margin-left: auto;
	  justify-content: flex-end;
	}

	.dashboard-main-header {
	  flex-wrap: wrap;
	  gap: 1rem;
	  margin-bottom: 1rem;
	}
	@media (max-width: 767.98px) {
	  .dashboard-main-header a.filter-pill {
		margin-top: 0.5rem;
	  }
	}

/* --------------------------------
   Modal overlay
-------------------------------- */

	.modal-overlay {
	  position: fixed;
	  inset: 0;
	  z-index: 10000;
	  background: rgba(0, 0, 0, 0.45);
	  display: flex;
	  align-items: flex-start;
	  justify-content: center;
	  padding: 2.5rem 1rem;
	  overflow: auto;
	}

	.modal-overlay[hidden] {
	  display: none !important;
	}

	body.modal-open {
	  overflow: hidden;
	}

/* --------------------------------
   Admin modal (Add timeline note)
---------------------------------- */
	.admin-modal {
	  position: fixed;
	  inset: 0;
	  z-index: 10000;
	}

	.admin-modal__backdrop {
	  position: absolute;
	  inset: 0;
	  background: rgba(45, 43, 41, 0.55);
	}

	.admin-modal__dialog {
	  position: relative;
	  width: min(720px, calc(100% - 2rem));
	  margin: 6vh auto;
	  background: #f9f5ef;
	  border: 1px solid #e6e2dc;
	  border-radius: 18px;
	  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	  padding: 1.25rem;
	}

	.admin-modal__header {
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  gap: .75rem;
	  margin-bottom: .5rem;
	}

	/* Prevent background scroll when modal open */
	body.modal-open {
	  overflow: hidden;
	}

	.admin-modal[hidden] {
	  display: none !important;
	}

  </style>