 

:root {
  --primary: #e8281a;       /* strong red */
  --secondary: #f6a623;     /* warm orange */
  --dark: #1a1a1a;
  --green: #2d6a4f;
  --cream: #fff8f0;
  --cream2: #fef0dc;
  --light: #f9f5f0;
  --border: #d9d9d9;        /* neutral grey border */
  --error: #e8281a;         /* solid red for invalid state */
  --error-bg: #ffe5e2;      /* light red background for invalid inputs */
  --success: #2d6a4f;       /* green for valid state */
  --success-bg: #e6f4ea;    /* light green background for valid inputs */
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --text-muted: #6c757d; /* Bootstrap-style muted grey */
  --blue: #1e6bff;        /* primary accent blue */
--blue-soft: #eaf2ff;   /* light background blue */
--blue-dark: #0f4fc2;   /* hover/deeper tone */
}




html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: #444;
  background: #fff;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  color: var(--dark);
}
a {
  text-decoration: none;
  transition: all 0.3s;
}
img {
  max-width: 100%;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* ===================== TOP BAR ===================== */
#topbar {
  background: #111;
  padding: 8px 0;
  font-size: 0.82rem;
}
#topbar span {
  color: #aaa;
  margin-right: 16px;
}
#topbar span i {
  color: var(--secondary);
  margin-right: 5px;
}
#topbar .tsoc a {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.75rem;
  margin-left: 5px;
  transition: 0.3s;
}
#topbar .tsoc a:hover {
  background: var(--primary);
  color: #fff;
}
.ttag {
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ===================== NAVBAR ===================== */

/* ===================== NAVBAR ===================== */
#nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 990;
  /* very subtle shadow */
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  /* crisp bottom border */
  /*border-bottom: 1px solid var(--light);*/
  transition: 0.3s ease;
}

#nav.scrolled {
  /* slightly stronger but still light */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  
}

.blogo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(232, 40, 26, 0.35);
}
.bname {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
}
.bname span {
  color: var(--primary);
}
.bsub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
}
.navbar-nav .nav-link {
  font-size: 0.87rem;
  font-weight: 500;
  color: #333 !important;
  padding: 10px 13px !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  transition: 0.3s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 55%;
}
.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
}
/* FIX 1 â€” Search btn in navbar */
#navSearchBtn {
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: 0.3s;
}
#navSearchBtn:hover {
  background: rgba(232, 40, 26, 0.08);
  color: var(--primary);
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), #c01e12);
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 20px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(232, 40, 26, 0.3);
  margin-left: 6px;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 40, 26, 0.4);
}

/* ===================== SECTION COMMONS ===================== */
section {
  padding: 48px 0;
}
.slbl {
  font-family: "Dancing Script", cursive;
  font-size: 1.35rem;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}
.stitle {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}
.stitle span {
  color: var(--primary);
}
.sline {
  width: 58px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto 12px;
}
.sline.lft {
  margin-left: 0;
}
.sdesc {
  color: #777;
  font-size: 0.93rem;
  line-height: 1.8;
}
.btn-red {
  background: linear-gradient(135deg, var(--primary), #c01e12);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: 0 8px 24px rgba(232, 40, 26, 0.35);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(232, 40, 26, 0.45);
  color: #fff;
}

/* ===================== HERO ===================== */
#hero {
  background: var(--cream);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hbgtxt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22vw;
  font-weight: 900;
  font-family: "Playfair Display", serif;
  color: rgba(0, 0, 0, 0.04);
  pointer-events: none;
  white-space: nowrap;
}
.hs {
  position: absolute;
  border-radius: 50%;
}
.hs1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(232, 40, 26, 0.07), transparent 70%);
  top: -90px;
  right: -80px;
  animation: fsh 8s ease-in-out infinite;
}
.hs2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(246, 166, 35, 0.09),
    transparent 70%
  );
  bottom: -50px;
  left: 8%;
  animation: fsh 10s ease-in-out infinite reverse;
}
@keyframes fsh {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-28px);
  }
}
.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 30px;
  padding: 6px 16px 6px 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 22px;
}
.hbadge .hbi {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
}
.hbadge span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--dark);
}
.htitle {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
}
.htitle .hl {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.htitle .hl::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 7px;
  background: rgba(232, 40, 26, 0.14);
  border-radius: 4px;
  z-index: -1;
}
.hdesc {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  max-width: 470px;
  margin-bottom: 30px;
}
/* FIX 2 â€” Video play button */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 16px;
  transition: 0.3s;
  cursor: pointer;
}
.btn-play .pico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  color: var(--primary);
  font-size: 0.95rem;
  transition: 0.3s;
  flex-shrink: 0;
}
.btn-play:hover .pico {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.btn-play:hover {
  color: var(--primary);
}
.hstats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hstat .snum {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--dark);
  display: block;
  line-height: 1;
}
.hstat .snum em {
  color: var(--primary);
  font-style: normal;
}
.hstat small {
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sdiv {
  width: 1px;
  background: #ddd;
  height: 38px;
  align-self: center;
}
.hcircle {
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff8f0, #ffe5c8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 28px 76px rgba(232, 40, 26, 0.14);
}
.hcircle img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}
.fcard {
  position: absolute;
  background: #fff;
  border-radius: 11px;
  padding: 10px 15px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 9px;
}
.fcard.fc1 {
  top: 55px;
  left: -15px;
  animation: fltc 4s ease-in-out infinite;
}
.fcard.fc2 {
  bottom: 75px;
  right: -25px;
  animation: fltc 4s ease-in-out infinite 1.5s;
}
.fcard.fc3 {
  top: 38%;
  right: -45px;
  animation: fltc 4s ease-in-out infinite 0.8s;
}
@keyframes fltc {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
.fcoi {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.fcoi.r {
  background: rgba(232, 40, 26, 0.11);
  color: var(--primary);
}
.fcoi.y {
  background: rgba(246, 166, 35, 0.14);
  color: var(--secondary);
}
.fcoi.g {
  background: rgba(45, 106, 79, 0.11);
  color: var(--green);
}
.fcnum {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  display: block;
  line-height: 1;
}
.fcsm {
  font-size: 0.66rem;
  color: #999;
}

/* ===================== MARQUEE ===================== */
.mqsec {
  background: var(--primary);
  padding: 13px 0;
  overflow: hidden;
}
.mqtrack {
  display: flex;
  gap: 38px;
  white-space: nowrap;
  animation: mqrun 22s linear infinite;
}
.mqitem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
}
.mqitem i {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.55rem;
}
@keyframes mqrun {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===================== CATEGORY ===================== */
#category {
  background: var(--cream);
}
.catcard {
  background: #fff;
  border-radius: 15px;
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
}
.catcard:hover,
.catcard.active {
  transform: translateY(-7px);
  box-shadow: 0 14px 38px rgba(232, 40, 26, 0.14);
  border-color: var(--primary);
}
.catimg {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  transition: 0.4s;
}
.catcard:hover .catimg {
  transform: scale(1.1) rotate(-4deg);
}
.catnm {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
}
.catct {
  font-size: 0.73rem;
  color: #bbb;
}

/* ===================== ABOUT ===================== */
#about {
  background: #fff;
}
.astack {
  position: relative;
}
.amain {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.amain img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.asm {
  position: absolute;
  bottom: -26px;
  right: -26px;
  width: 170px;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
}
.asm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aexp {
  position: absolute;
  top: 28px;
  left: -16px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(232, 40, 26, 0.4);
}
.aexp .anum {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.aexp small {
  font-size: 0.7rem;
  opacity: 0.9;
}
.fti {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
}
.ftico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: 0.3s;
}
.ftico.r {
  background: rgba(232, 40, 26, 0.1);
  color: var(--primary);
}
.ftico.y {
  background: rgba(246, 166, 35, 0.11);
  color: var(--secondary);
}
.ftico.g {
  background: rgba(45, 106, 79, 0.1);
  color: var(--green);
}
.fti:hover .ftico {
  transform: scale(1.1);
}
.fti h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  font-family: "Poppins", sans-serif;
}
.fti p {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
  line-height: 1.6;
}

/* ===================== MENU ===================== */
#menu {
  background: var(--light);
}
/* FIX 3 â€” Filter buttons */
.filtbtn {
  border: 2px solid #e5e5e5;
  background: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
  margin: 3px;
  font-family: "Poppins", sans-serif;
}
.filtbtn.active,
.filtbtn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 5px 18px rgba(232, 40, 26, 0.24);
}
.mwrap {
  transition: 0.35s;
}
.mwrap.gone {
  display: none !important;
}
.mcard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
  cursor: pointer;
}
.mcard:hover {
  transform: translateY(-9px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.13);
}
.mimg {
  position: relative;
  overflow: hidden;
  height: 215px;
  background: var(--cream2);
}
.mimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.mcard:hover .mimg img {
  transform: scale(1.09);
}
.mbdg {
  position: absolute;
  top: 13px;
  left: 13px;
  background: var(--primary);
  color: #fff;
  border-radius: 7px;
  padding: 3px 11px;
  font-size: 0.7rem;
  font-weight: 700;
}
.mbdg.new {
  background: var(--green);
}
.mbdg.hot {
  background: var(--secondary);
  color: var(--dark);
}
/* FIX 4 â€” Heart & Plus buttons stop propagation */
.mhrt {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.1);
}
.mhrt:hover {
  color: var(--primary);
  transform: scale(1.18);
}
.mbody {
  padding: 18px;
}
.mcat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.mtit {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: "Playfair Display", serif;
}
.mdesc {
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 13px;
  line-height: 1.5;
}
.mfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mprice {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Playfair Display", serif;
}
.mprice small {
  font-size: 0.72rem;
  font-weight: 400;
  color: #ccc;
  text-decoration: line-through;
  margin-left: 5px;
}
.mstars {
  font-size: 0.73rem;
  color: var(--secondary);
}
/* FIX 4 â€” Plus button opens detail popup */
.madd {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #c01e12);
  border: none;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 11px rgba(232, 40, 26, 0.28);
}
.madd:hover {
  transform: scale(1.15) rotate(90deg);
}

/* ===================== SPECIAL OFFER ===================== */
#special {
  background: linear-gradient(135deg, #1a0000 0%, #2d0000 100%);
  position: relative;
  overflow: hidden;
}
.spbg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background: repeating-linear-gradient(
    45deg,
    #fff 0,
    #fff 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 40px 40px;
}
.sptag {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  border-radius: 6px;
  padding: 4px 15px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.sptitle {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}
.sptitle span {
  color: var(--secondary);
}
.spdesc {
  color: rgba(255, 255, 255, 0.62);
  margin: 18px 0;
  font-size: 0.93rem;
  line-height: 1.8;
}
.cdwrap {
  display: flex;
  gap: 14px;
  margin: 26px 0;
}
.cditem {
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  padding: 13px 18px;
  min-width: 72px;
}
.cdnum {
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1;
}
.cdlbl {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 3px;
  display: block;
}
.spimgw {
  position: relative;
  text-align: center;
}
.spglow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(246, 166, 35, 0.24),
    transparent 70%
  );
}
.spimgw img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 28px 56px rgba(246, 166, 35, 0.28));
  animation: fltimg 5s ease-in-out infinite;
}
@keyframes fltimg {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-17px);
  }
}
.sppbdg {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background: var(--primary);
  color: #fff;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232, 40, 26, 0.5);
  animation: plsbdg 2.5s ease-in-out infinite;
}
@keyframes plsbdg {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 12px 34px rgba(232, 40, 26, 0.7);
  }
}
.sppbdg .old {
  font-size: 0.68rem;
  text-decoration: line-through;
  opacity: 0.7;
}
.sppbdg .np {
  font-size: 1.25rem;
  font-weight: 900;
}

/* ===================== GALLERY ===================== */
#gallery {
  background: var(--light);
}
.ggrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 215px);
  gap: 13px;
}
.gitem {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gitem:first-child {
  grid-row: span 2;
}
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.gitem:hover img {
  transform: scale(1.08);
}
.gover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76), transparent 60%);
  opacity: 0;
  transition: 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.gitem:hover .gover {
  opacity: 1;
}
.gover span {
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}
.gover i {
  color: var(--secondary);
  margin-right: 5px;
}

/* ===================== HISTORY â€” FIX 8 ===================== */
#history {
  background: var(--cream);
}
.timeline {
  position: relative;
  padding: 18px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  top: 0;
  bottom: 0;
}
/* Grid: left-col | dot-col | right-col */
.tli {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  margin-bottom: 50px;
  align-items: start;
}
.tl-left {
  padding-right: 32px;
  text-align: right;
}
.tl-center {
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.tl-right {
  padding-left: 32px;
  text-align: left;
}
/* ODD â†’ show LEFT text, hide RIGHT */
.tli:nth-child(odd) .tl-right {
  visibility: hidden;
}
/* EVEN â†’ hide LEFT, show RIGHT */
.tli:nth-child(even) .tl-left {
  visibility: hidden;
}
.tldot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(232, 40, 26, 0.3);
  flex-shrink: 0;
}
.tlyear {
  font-family: "Dancing Script", cursive;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 3px;
}
.tl-left h5,
.tl-right h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 7px;
  font-family: "Playfair Display", serif;
  color: var(--dark);
}
.tl-left p,
.tl-right p {
  font-size: 0.83rem;
  color: #888;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 767px) {
  .timeline::before {
    left: 16px;
  }
  .tli {
    grid-template-columns: 32px 1fr;
    gap: 0;
  }
  .tl-left {
    display: none;
  }
  .tl-right {
    display: block !important;
    visibility: visible !important;
    padding-left: 18px;
    text-align: left;
  }
  .tl-center {
    padding-top: 5px;
  }
  .tli:nth-child(even) .tl-left {
    display: none;
  }
  .tli:nth-child(odd) .tl-right {
    visibility: visible !important;
  }
}

/* ===================== CHEFS ===================== */
#chefs {
  background: #fff;
}
.chcard {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: 0.4s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}
.chcard:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-lg);
}
.chimg {
  position: relative;
  overflow: hidden;
  height: 268px;
  background: var(--cream2);
}
.chimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: 0.5s;
}
.chcard:hover .chimg img {
  transform: scale(1.05);
}
.chsoc {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  transition: 0.4s;
  padding: 10px 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}
.chcard:hover .chsoc {
  bottom: 0;
}
.chsoc a {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  transition: 0.3s;
}
.chsoc a:hover {
  background: var(--primary);
}
.chbody {
  padding: 18px;
  text-align: center;
}
.chnm {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.chrole {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.chexp {
  font-size: 0.76rem;
  color: #bbb;
  margin-top: 5px;
}

/* ===================== HOURS ===================== */
#hours {
  background: linear-gradient(135deg, var(--green), #1a4a35);
  position: relative;
  overflow: hidden;
}
.hrsbg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background: repeating-linear-gradient(
    45deg,
    #fff 0,
    #fff 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 28px 28px;
}
.hrscard {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 28px;
}
.hrsrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.hrsrow:last-child {
  border: none;
}
.hrsday {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
}
.hrstime {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.hdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.hdot.on {
  background: #4ade80;
  box-shadow: 0 0 7px #4ade80;
}
.hdot.off {
  background: #ff6b6b;
}
.hrscta {
  background: var(--primary);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(232, 40, 26, 0.4);
}
.hrscta h4 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
}
.hrscta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  margin: 9px 0 18px;
}
.btnw {
  background: #fff;
  color: var(--primary);
  border-radius: 50px;
  padding: 11px 28px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-block;
  transition: 0.3s;
}
.btnw:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  color: var(--primary);
}

/* ===================== TESTIMONIALS ===================== */
#testimonials {
  background: #fff;
}
.tescard {
  background: var(--cream);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}
.tescard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.tesq {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 4.5rem;
  color: rgba(232, 40, 26, 0.07);
  font-family: "Playfair Display", serif;
  line-height: 1;
}
.tess {
  color: var(--secondary);
  font-size: 0.83rem;
  margin-bottom: 12px;
}
.testxt {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 18px;
}
.tesauth {
  display: flex;
  align-items: center;
  gap: 11px;
}
.tesauth img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.tesnm {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 1px;
  font-family: "Poppins", sans-serif;
}
.tesrl {
  font-size: 0.73rem;
  color: #aaa;
}

/* ===================== RESERVATION â€” FIX 5 ===================== */
#reservation {
  background: var(--light);
}
.resico {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: rgba(232, 40, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.flbl {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
  display: block;
}
.fctrl {
  width: 100%;
  border: 2px solid #eee;
  border-radius: 9px;
  padding: 11px 15px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: 0.3s;
  color: var(--dark);
  background: #fff;
  appearance: auto;
}
.fctrl:focus {
  border-color: var(--primary);
}
.fcard {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}
.sucmsg {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(45, 106, 79, 0.07);
  border-radius: 11px;
  margin-top: 14px;
}
.sucmsg i {
  color: var(--green);
  font-size: 1.7rem;
  display: block;
  margin-bottom: 7px;
}
.sucmsg p {
  color: var(--green);
  font-weight: 600;
  margin: 0;
  font-size: 0.88rem;
}

/* ===================== BLOG ===================== */
#blog {
  background: var(--light);
}
.blcard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
.blcard:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.blimg {
  position: relative;
  height: 195px;
  overflow: hidden;
}
.blimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.blcard:hover .blimg img {
  transform: scale(1.06);
}
.bldatebdg {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 9px;
  padding: 5px 11px;
  text-align: center;
  line-height: 1.2;
}
.bldatebdg .bd {
  font-size: 1.15rem;
  font-weight: 800;
  display: block;
}
.bldatebdg .bm {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.blbody {
  padding: 20px;
}
.bltag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 7px;
}
.bltit {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 9px;
  line-height: 1.4;
}
.bltit a {
  color: var(--dark);
}
.bltit a:hover {
  color: var(--primary);
}
.blmeta {
  display: flex;
  gap: 14px;
  font-size: 0.76rem;
  color: #bbb;
  margin-bottom: 13px;
}
.blmeta i {
  color: var(--primary);
  margin-right: 3px;
}
.blmore {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blmore i {
  transition: 0.3s;
}
.blmore:hover {
  color: var(--dark);
}
.blmore:hover i {
  transform: translateX(5px);
}

/* ===================== NEWSLETTER ===================== */
#newsletter {
  background: linear-gradient(135deg, var(--primary), #8b0000);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.nlbg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='white' stroke-width='.4' opacity='.1'/%3E%3C/svg%3E");
  background-size: 75px;
}
.nlw {
  position: relative;
  z-index: 2;
}
.nlw h2 {
  color: #fff;
  font-size: 2.1rem;
}
/* Newsletter form â€” fixed layout */
.nl-form-wrap {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  align-items: center;
}
.nlinput {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 0.9rem;
  outline: none;
  font-family: "Poppins", sans-serif;
  color: #333;
}
.nlbtn {
  flex-shrink: 0;
  background: var(--secondary);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
}
.nlbtn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
@media (max-width: 540px) {
  .nl-form-wrap {
    flex-direction: column;
    padding: 0 10px;
  }
  .nlinput {
    width: 100%;
    border-radius: 12px;
  }
  .nlbtn {
    width: 100%;
    border-radius: 12px;
  }
}

/* ===================== CONTACT â€” FIX 6 ===================== */
#contact-section {
  background: #fff;
}
.ctdark {
  background: var(--dark);
  border-radius: 18px;
  padding: 38px;
  height: 100%;
}
.ctdark h4 {
  color: #fff;
  margin-bottom: 7px;
}
.ctdark .ctsub {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  margin-bottom: 26px;
}
.ctitem {
  display: flex;
  gap: 13px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.cticon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(232, 40, 26, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ctinfo strong {
  display: block;
  color: #aaa;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1px;
  font-family: "Poppins", sans-serif;
}
.ctinfo span {
  color: #fff;
  font-size: 0.87rem;
}
.ctsocrow {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.ctsocrow a {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  transition: 0.3s;
}
.ctsocrow a:hover {
  background: var(--primary);
  color: #fff;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--dark);
  padding: 68px 0 0;
}
.fnm {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
}
.fnm span {
  color: var(--primary);
}
.fdesc {
  color: #777;
  font-size: 0.86rem;
  line-height: 1.8;
  margin-top: 9px;
}
.fsoc {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.fsoc a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 0.88rem;
  transition: 0.3s;
}
.fsoc a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.ftit {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  font-family: "Poppins", sans-serif;
}
.flinks li {
  list-style: none;
  margin-bottom: 9px;
}
.flinks a {
  color: #777;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: 0.3s;
}
.flinks a:hover {
  color: var(--secondary);
  padding-left: 5px;
}
.flinks a i {
  color: var(--primary);
  font-size: 0.68rem;
}
.fci {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 14px;
}
.fciico {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(232, 40, 26, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.82rem;
  flex-shrink: 0;
}
.fciinfo {
  color: #777;
  font-size: 0.83rem;
  line-height: 1.6;
}
.fciinfo strong {
  color: #bbb;
  display: block;
  font-size: 0.77rem;
}
.fbot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  margin-top: 46px;
}
.fbot p {
  color: #555;
  font-size: 0.8rem;
  margin: 0;
}
.fbot span {
  color: var(--primary);
}
.fbot a {
  color: #555;
  font-size: 0.8rem;
  margin-left: 18px;
}
.fbot a:hover {
  color: var(--secondary);
}

/* ===================== UTILITIES ===================== */
#btt {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #c01e12);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(232, 40, 26, 0.38);
  opacity: 0;
  transform: translateY(18px);
  transition: 0.4s;
}
#btt.show {
  opacity: 1;
  transform: translateY(0);
}
#btt:hover {
  transform: translateY(-4px) !important;
}
.cartfl {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9990;
  background: var(--secondary);
  border-radius: 50px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 7px 22px rgba(246, 166, 35, 0.38);
  cursor: pointer;
  transition: 0.3s;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.88rem;
}
.cartfl:hover {
  transform: translateY(-4px);
}
.cartfl .ccount {
  background: var(--primary);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
}

/* ====================================================
   ALL POPUP / MODAL STYLES
==================================================== */

/* --- FIX 1: SEARCH POPUP --- */
#searchOv {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 5, 5, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 78px;
}
#searchOv.open {
  display: flex;
  animation: fadeov 0.28s ease;
}
@keyframes fadeov {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#searchOv .sovclose {
  position: absolute;
  top: 22px;
  right: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: 0.3s;
}
#searchOv .sovclose:hover {
  background: var(--primary);
}
.sovbox {
  width: 100%;
  max-width: 680px;
  padding: 0 18px;
}
.sovbox h4 {
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 26px;
  font-family: "Playfair Display", serif;
}
.sovinput {
  display: flex;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 60px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.sovinput input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 17px 24px;
  color: #fff;
  font-size: 1.05rem;
  font-family: "Poppins", sans-serif;
  outline: none;
}
.sovinput input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
.sovinput button {
  background: var(--primary);
  border: none;
  padding: 0 26px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}
.sovinput button:hover {
  background: #c01e12;
}
.sovcats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 28px;
}
.sovcat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50px;
  padding: 7px 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.83rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Poppins", sans-serif;
}
.sovcat img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.sovcat:hover,
.sovcat.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.sovtrend {
  text-align: center;
  margin-top: 26px;
}
.sovtrend p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  margin-bottom: 9px;
}
.sovtrend .ttag {
  display: inline-block;
  margin: 3px;
  background: rgba(246, 166, 35, 0.13);
  border: 1px solid rgba(246, 166, 35, 0.28);
  color: var(--secondary);
  border-radius: 20px;
  padding: 3px 13px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: 0.3s;
}
.sovtrend .ttag:hover {
  background: var(--secondary);
  color: var(--dark);
}

/* --- FIX 4: MENU DETAIL POPUP --- */
#menuPop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 18px;
}
#menuPop.open {
  display: flex;
  animation: fadeov 0.28s ease;
}
.mpbox {
  background: #fff;
  border-radius: 22px;
  max-width: 800px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.mpbox::-webkit-scrollbar {
  width: 3px;
}
.mpbox::-webkit-scrollbar-thumb {
  background: var(--primary);
}
.mpbox .mpimg {
  width: 44%;
  background: var(--cream2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px 0 0 22px;
  overflow: hidden;
  min-height: 400px;
}
.mpbox .mpimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mpbox .mpbody {
  width: 56%;
  padding: 34px 30px;
}
.mpclose {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f2f2f2;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  z-index: 2;
}
.mpclose:hover {
  background: var(--primary);
  color: #fff;
}
#mpCat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 7px;
}
#mpTitle {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 9px;
  font-family: "Playfair Display", serif;
  color: var(--dark);
}
#mpStars {
  color: var(--secondary);
  font-size: 0.88rem;
  margin-bottom: 14px;
}
#mpDesc {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.8;
  margin-bottom: 18px;
}
#mpPrice {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 14px;
  font-family: "Playfair Display", serif;
}
#mpPrice small {
  font-size: 0.95rem;
  color: #ccc;
  text-decoration: line-through;
  margin-left: 7px;
}
.mpmeta {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.mpm {
  text-align: center;
  background: var(--light);
  border-radius: 9px;
  padding: 9px 14px;
}
.mpmv {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
}
.mpml {
  font-size: 0.68rem;
  color: #bbb;
}
.mpqty {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}
.mpqbtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-weight: 700;
}
.mpqbtn:hover {
  background: var(--primary);
  color: #fff;
}
.mpqnum {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 30px;
  text-align: center;
}
.mptags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
}
.mptag {
  background: rgba(246, 166, 35, 0.11);
  color: var(--dark);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 0.73rem;
  font-weight: 600;
}
.mpaddcart {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #c01e12);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.mpaddcart:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(232, 40, 26, 0.38);
}

/* --- FIX 7: GALLERY POPUP --- */
#galPop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.96);
  align-items: center;
  justify-content: center;
  padding: 18px;
}
#galPop.open {
  display: flex;
  animation: fadeov 0.28s ease;
}
.gpbox {
  max-width: 880px;
  width: 100%;
  position: relative;
  text-align: center;
}
.gpbox img {
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 14px;
}
.gpclose {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.gpclose:hover {
  background: var(--primary);
}
.gpcap {
  color: #fff;
  margin-top: 18px;
}
.gpcap h5 {
  font-size: 1.25rem;
  margin-bottom: 5px;
  color: #fff;
}
.gpcap p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}
.gpnav {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 14px;
}
.gpnav button {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 50px;
  padding: 7px 20px;
  cursor: pointer;
  font-size: 0.83rem;
  font-family: "Poppins", sans-serif;
  transition: 0.3s;
}
.gpnav button:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Magnific video override */
.mfp-bg {
  background: #000 !important;
  opacity: 0.93 !important;
}
.mfp-close {
  color: #fff !important;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .hcircle {
    width: 320px;
    height: 320px;
  }
  .fc1,
  .fc2,
  .fc3 {
    transform: scale(0.82);
    transform-origin: center;
  }
  .ggrid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gitem:first-child {
    grid-row: span 1;
  }
  .asm {
    display: none;
  }
  .mpbox .mpimg,
  .mpbox .mpbody {
    width: 100%;
  }
  .mpbox .mpimg {
    border-radius: 22px 22px 0 0;
    min-height: 240px;
  }
  .mpbox .mpbody {
    padding: 22px 18px;
  }
  /* Timeline mobile: collapse to single column */
  .timeline::before {
    left: 16px;
  }
  .tli {
    grid-template-columns: 32px 1fr !important;
  }
  .tl-left {
    display: none !important;
  }
  .tl-right {
    display: block !important;
    visibility: visible !important;
    padding-left: 18px !important;
    text-align: left !important;
  }
  .tl-center {
    padding-top: 5px;
  }
  .tli:nth-child(odd) .tl-right,
  .tli:nth-child(even) .tl-right {
    visibility: visible !important;
    display: block !important;
  }
}
@media (max-width: 767px) {
  section {
    padding: 55px 0;
  }
  #topbar .top-contact span:last-child {
    display: none;
  }
  .hcircle {
    width: 260px;
    height: 260px;
  }
  /* Hide only hero floating cards, NOT form cards */
  .fcard.fc1,
  .fcard.fc2,
  .fcard.fc3 {
    display: none !important;
  }
  .hstats {
    display: none !important;
  }
  .ggrid {
    grid-template-columns: 1fr 1fr;
  }
  .cdwrap {
    gap: 8px;
  }
  .cditem {
    min-width: 56px;
    padding: 9px;
  }
  .nl-form-wrap {
    flex-direction: column;
    padding: 0 8px;
  }
  .nlinput,
  .nlbtn {
    width: 100%;
    border-radius: 12px;
  }
  .fcard {
    padding: 22px 18px;
  }
}
@media (max-width: 480px) {
  .hcircle {
    width: 220px;
    height: 220px;
  }
  .htitle {
    font-size: 2.4rem;
  }
  .stitle {
    font-size: 1.8rem;
  }
}




/* Base wrapper */
.container-loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px; /* default for full loader */
  position: relative;
  font-family: Arial, sans-serif;
  color: #333;
}
/* Reset min-height for small loaders */ 
.container-loader-wrapper.small { 
  min-height: auto; 
}
/* Reset min-height for small loaders */
.container-loader-wrapper.small {
  min-height: auto;
}

/* Loader card style */
.container-loader-card {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  min-width: 200px;
  z-index: 10000;
}

/* Centered loader layout */
.container-loader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Default spinner */
.container-loader-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0,0,0,0.1);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: container-spin 1s linear infinite;
  margin-bottom: 10px;
  border-bottom-width: 4px !important;
}

/* Small inline loader layout */
.container-loader-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between spinner and text */
}

/* Small spinner variant */
.container-loader-spinner.small {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,0.1);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: container-spin 0.8s linear infinite;
  margin: 0; /* inline alignment */
  border-bottom-width: 2px !important;
}

/* Inline loader text */
.container-loader-inline .loader-text,
.container-loader-center p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.2;
  background: inherit !important;
}

/* Overlay wrapper */
.container-loader-wrapper.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  z-index: 9999;
}

/* Spinner animation */
@keyframes container-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


    
    /* ===================== CALCULATORS ===================== */
.calculators .page-main{
  padding-top: 1rem;
}

/* Detail view */
.calculators .calc-detail {
  margin-bottom: 2rem;
}
.calculators .calc-title {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 900;
  font-family: "Playfair Display", serif;
  color: var(--dark);
  margin-bottom: 1rem;
}
.calculators .calc-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1rem;
}
.calculators .calc-meta a {
  color: var(--primary);
  font-weight: 600;
}
.calculators .calc-meta a:hover {
  text-decoration: underline;
}
.calculators .calc-share a {
  margin-right: 0.5rem;
  color: #666;
  font-size: 1.1rem;
  transition: 0.3s;
}
.calculators .calc-share a:hover {
  color: var(--primary);
}

/* Listing cards */
.calculators .calc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s;
  border: 1px solid var(--light);
}
.calculators .calc-card:hover {
  box-shadow: 0 6px 18px rgba(232,40,26,0.12);
}
.calculators .calc-img {
  height: 150px;
  background-size: cover;
  background-position: center;
}
/*.calculators .calc-body {
  padding: 1rem;
}*/
.calculators .calc-cat {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.calculators .calc-desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 0;
}
.calculators .calc-meta {
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calculators .calc-meta a {
  color: var(--primary);
  font-weight: 600;
}
.calculators .calc-meta a:hover {
  color: var(--secondary);
}

/* Anchor links inside cards */
.calculators .calc-body h5 a {
  color: #444;
  font-weight: 700;
  transition: color 0.3s;
}
.calculators .calc-body h5 a:hover {
  color: var(--primary);
}

/* Pagination */
.calculators .calc-pagination {
  margin-top: 2rem;
  text-align: center;
}
.calculators .calc-pagination a {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 12px;
  border: 1px solid var(--light);
  border-radius: 50px;
  background: #fff;
  color: #555;
  font-size: 0.85rem;
  transition: 0.3s;
}
.calculators .calc-pagination a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.calculators .calc-pagination a:hover {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}

/* Sidebar */
 
.calculators .calc-sidebar {
    background: #f6f3f33b;
    border-radius: 12px;
    border: solid 1px #f6f3f3;
    /* box-shadow: var(--shadow); */
    padding: 1.5rem;
}
.calculators .calc-widget {
  margin-bottom: 2rem;
}
.calculators .calc-widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.calculators .calc-search-box {
  display: flex;
}
.calculators .calc-search-box input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--light);
  border-radius: 6px 0 0 6px;
}
.calculators .calc-search-box button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 1rem;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: 0.3s;
}
.calculators .calc-search-box button:hover {
  background: var(--secondary);
  color: var(--dark);
}

.calculators .calc-cta-card {
  background: var(--cream2);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}
.calculators .calc-btn-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary), #c01e12);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}
.calculators .calc-btn-cta:hover {
  background: var(--secondary);
  color: var(--dark);
}

.calculators .calc-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.calculators .calc-cat-list li {
  margin-bottom: 0.5rem;
}
.calculators .calc-cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  color: #444;
  transition: background 0.3s, color 0.3s;
}
.calculators .calc-cat-list a:hover {
  background: var(--light);
  color: var(--primary);
}

.calculators .calc-recent {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.calculators .calc-rp-img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  margin-right: 0.8rem;
  background-size: cover;
  background-position: center;
}

/* Newsletter */
.calculators .calc-newsletter-section {
  background: var(--cream2);
  padding: 2rem 0;
  margin-top: 3rem;
}
.calculators .calc-newsletter-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.calculators .calc-nl-left {
  display: flex;
  align-items: center;
}
.calculators .calc-nl-left i {
  font-size: 2rem;
  color: var(--primary);
  margin-right: 1rem;
}
.calculators .calc-nl-left h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}
.calculators .calc-nl-left p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}
.calculators .calc-nl-right {
  margin-top: 1rem;
}
.calculators .calc-nl-form {
  display: flex;
}
.calculators .calc-nl-form input {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid var(--light);
  border-radius: 6px 0 0 6px;
}
.calculators .calc-nl-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 1.2rem;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: 0.3s;
}
.calculators .calc-nl-form button:hover {
  background: var(--secondary);
  color: var(--dark);
}


.calc-single .single-calc-card {
  background: #fff;
  border: 4px solid rgba(232, 40, 26, 0.25); /* lighter version of primary */
  border-radius: 14px;
  margin-bottom: 2rem;
  overflow: hidden;
  box-sizing: border-box;
}

.calc-single .single-calc-card-inner {
  display: flex;
  flex-wrap: wrap;
}

.calc-single .single-calc-inputs,
.calc-single .single-calc-results {
  flex: 1 1 100%;
  padding: 1.5rem;
}

@media (min-width: 992px) {
  .calc-single .single-calc-inputs,
  .calc-single .single-calc-results {
    flex: 1 1 50%;
  }
}

/* Section titles */
.calc-single .single-calc-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Inputs */
.calc-single .single-calc-field {
  margin-bottom: 1rem;
}
.calc-single .single-calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.calc-single .single-calc-field input[type="number"],
.calc-single .single-calc-field input[type="text"],
.calc-single .single-calc-field input[type="email"],
.calc-single .single-calc-field input[type="date"],
.calc-single .single-calc-field input[type="time"],
.calc-single .single-calc-field select {
  width: 100%;
  padding: 0.45rem 0.7rem; /* slightly smaller */
  border: 2px solid var(--light);
  border-radius: 8px;
  font-size: 0.85rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.calc-single .single-calc-field input[type="number"]:focus,
.calc-single .single-calc-field input[type="text"]:focus,
.calc-single .single-calc-field input[type="email"]:focus,
.calc-single .single-calc-field input[type="date"]:focus,
.calc-single .single-calc-field input[type="time"]:focus,
.calc-single .single-calc-field select:focus {
  border-color: var(--primary);
  outline: none;
}

 


 
/* =============================================
   Input Group — number + unit select
   (extends the base .single-calc-field styles)
============================================= */

.calc-single .input-group {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--light);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.calc-single .input-group:focus-within {
  border-color: var(--primary);
}

.calc-single .input-group input[type="number"] {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  min-width: 0;
  box-sizing: border-box;
}

.calc-single .input-group input[type="number"]:focus {
  border-color: transparent;
  outline: none;
}

.calc-single .input-group select.unit-select {
  flex-shrink: 0;
  width: auto;
  border: none;
  border-left: 2px solid var(--light);
  border-radius: 0;
  background: var(--light);
  padding: 0.45rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  appearance: auto;
  box-sizing: border-box;
}

.calc-single .input-group select.unit-select:focus {
  border-color: var(--primary);
  outline: none;
}

.calc-single .input-group .unit-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  background: var(--light);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  flex-shrink: 0;
}
 
.calc-single .calc-control {
  width: 100%;
  padding: 0.45rem 0.7rem;
  border: 2px solid var(--light);
  border-radius: 8px;
  font-size: 0.85rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.calc-single .calc-control:focus {
  border-color: var(--primary);
  outline: none;
}


/* =========================
   Calculator Range Slider
========================= */

.calc-single .form-range {
  width: 100%;
  height: 6px;
  background: var(--light);
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin: 0.5rem 0;
}

/* Chrome / Edge / Safari */
.calc-single .form-range::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--light);
  border-radius: 999px;
}

.calc-single .form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: transform .2s ease;
}

.calc-single .form-range:hover::-webkit-slider-thumb {
  transform: scale(1.1);
}

/* Firefox */
.calc-single .form-range::-moz-range-track {
  height: 6px;
  background: var(--light);
  border-radius: 999px;
}

.calc-single .form-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  cursor: pointer;
}

/* Remove Firefox focus outline */
.calc-single .form-range::-moz-focus-outer {
  border: 0;
}


.calc-single .slider-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}
/* Action button */
.calc-single .calc-action {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .calc-single .calc-action {
    
  }
}

.calc-single .calc-btn {
  padding: 0.55rem 1.2rem; /* smaller size */
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  width: 100%; /* full width on small screens */
}

@media (min-width: 992px) {
  .calc-single .calc-btn {
    width: auto; /* auto width on large screens */
  }
}

.calc-single .calc-btn:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-2px);
}

.calc-single .calc-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 40, 26, 0.25);
}

/* Results */
.calc-single .single-calc-results {
  background: var(--cream2);
  /*border-left: 4px solid rgba(246, 166, 35, 0.4);*/
  display: flex;
  flex-direction: column;
  /*border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;*/
}

 

/* Small screens: simplify results card */
@media (max-width: 991px) {
  .calc-single .single-calc-results {
    border-left: none;              /* remove accent border */
    border-radius: 0;               /* remove right-side radius */
   /* border-top: 3px solid rgba(246, 166, 35, 0.4); *//* optional top border accent */
    margin-top: 1rem;               /* spacing from calculator above */
  }
}


.calc-single .result-block {
  margin-bottom: 1.5rem;
}

.calc-single .result-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.calc-single .result-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.calc-single .result-value .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.calc-single .result-value .unit {
  font-size: 0.9rem;
  color: var(--secondary);
}

.calc-single .result-breakdown {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.calc-single .result-breakdown .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}
.calc-single .result-breakdown .unit {
  font-size: 0.9rem;
  color: var(--secondary);
}

/* Reset footer pinned to bottom */
.calc-single .result-footer {
  border-top: 2px solid var(--light);
  padding-top: 1rem;
  margin-top:  1rem;

  display: flex;
  flex-direction: column; /* default: stacked */
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .calc-single .result-footer {
    flex-direction: row;       /* horizontal on large screens */
    justify-content: space-between; /* push buttons to each end */
    align-items: center;
  }
}

/* Reset button */
.calc-single .reset-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s;
}
.calc-single .reset-btn:hover {
  color: var(--secondary);
}

/* Share button */
.calc-single .share-btn {
  background: var(--secondary);
  border: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.calc-single .share-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Notes under buttons */
.calc-single .reset-note,
.calc-single .share-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-style: italic;
}

/* Inputs - text, number, and select only (excludes range) */
.calc-single .single-calc-field input[type="text"],
.calc-single .single-calc-field input[type="number"],
.calc-single .single-calc-field input[type="email"],
.calc-single .single-calc-field input[type="tel"],
.calc-single .single-calc-field input[type="url"],
.calc-single .single-calc-field input[type="password"],
.calc-single .single-calc-field input[type="search"],
.calc-single .single-calc-field select {
  width: 100%;
  padding: 0.45rem 0.7rem;
  border: 2px solid #d9d9d9;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  /*background: #fdfdfd;*/
}

/* Focus state: darker grey with subtle reddish glow */
.calc-single .single-calc-field input[type="text"]:focus,
.calc-single .single-calc-field input[type="number"]:focus,
.calc-single .single-calc-field input[type="email"]:focus,
.calc-single .single-calc-field input[type="tel"]:focus,
.calc-single .single-calc-field input[type="url"]:focus,
.calc-single .single-calc-field input[type="password"]:focus,
.calc-single .single-calc-field input[type="search"]:focus,
.calc-single .single-calc-field select:focus {
  border-color: #666;
  box-shadow: 0 0 0 3px rgba(232, 40, 26, 0.12);
  outline: none;
}

/* Invalid state: solid red border */
.calc-single .single-calc-field input[type="text"].is-invalid,
.calc-single .single-calc-field input[type="number"].is-invalid,
.calc-single .single-calc-field input[type="email"].is-invalid,
.calc-single .single-calc-field input[type="tel"].is-invalid,
.calc-single .single-calc-field input[type="url"].is-invalid,
.calc-single .single-calc-field input[type="password"].is-invalid,
.calc-single .single-calc-field input[type="search"].is-invalid,
.calc-single .single-calc-field select.is-invalid {
  border-color: var(--error);
  background: var(--error-bg);
}

.calc-single .single-calc-field input[type="text"].is-invalid:focus,
.calc-single .single-calc-field input[type="number"].is-invalid:focus,
.calc-single .single-calc-field input[type="email"].is-invalid:focus,
.calc-single .single-calc-field input[type="tel"].is-invalid:focus,
.calc-single .single-calc-field input[type="url"].is-invalid:focus,
.calc-single .single-calc-field input[type="password"].is-invalid:focus,
.calc-single .single-calc-field input[type="search"].is-invalid:focus,
.calc-single .single-calc-field select.is-invalid:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(232, 40, 26, 0.35);
}

/* Valid state: green border */
.calc-single .single-calc-field input[type="text"].is-valid,
.calc-single .single-calc-field input[type="number"].is-valid,
.calc-single .single-calc-field input[type="email"].is-valid,
.calc-single .single-calc-field input[type="tel"].is-valid,
.calc-single .single-calc-field input[type="url"].is-valid,
.calc-single .single-calc-field input[type="password"].is-valid,
.calc-single .single-calc-field input[type="search"].is-valid,
.calc-single .single-calc-field select.is-valid {
  border-color: var(--success);
  background: var(--success-bg);
}

.calc-single .single-calc-field input[type="text"].is-valid:focus,
.calc-single .single-calc-field input[type="number"].is-valid:focus,
.calc-single .single-calc-field input[type="email"].is-valid:focus,
.calc-single .single-calc-field input[type="tel"].is-valid:focus,
.calc-single .single-calc-field input[type="url"].is-valid:focus,
.calc-single .single-calc-field input[type="password"].is-valid:focus,
.calc-single .single-calc-field input[type="search"].is-valid:focus,
.calc-single .single-calc-field select.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.25);
}







/* ==========================================
   STACKED CALCULATOR LAYOUT
   Inputs on top
   Results below
========================================== */

.calc-single .calc-layout-stacked .single-calc-card-inner {
    display: block;
}

.calc-single .calc-layout-stacked .single-calc-inputs,
.calc-single .calc-layout-stacked .single-calc-results {
    width: 100%;
}

.calc-single .calc-layout-stacked .single-calc-results {
    border-top: 2px solid var(--light);
    margin-top: 0;
}


/* ==========================================
   2 INPUTS PER ROW (DESKTOP ONLY)
========================================== */

@media (min-width: 992px) {

    .calc-single .calc-form-2col .calc-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.25rem;
    }

    /* title spans full width */
    .calc-single .calc-form-2col .single-calc-title {
        grid-column: 1 / -1;
        margin-bottom: 1rem;
    }

    /* calculate button spans full width */
    .calc-single .calc-form-2col .calc-action {
        grid-column: 1 / -1;
        margin-top: 0.5rem;
    }

    /* allow specific fields to span both columns */
    .calc-single .calc-form-2col .field-full {
        grid-column: 1 / -1;
    }
}





.calc-content {
    margin-top: 3rem;
}

.calc-content h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.calc-content h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin: 1.5rem 0 .75rem;
}

.calc-content p,
.calc-content li {
    color: #4b5563;
    line-height: 1.8;
}

.content-section {
    margin-bottom: 2rem;
    background: inherit;
    
}







.benefit-card h3 {
    margin-top: 0;
}

.autolyse-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.autolyse-table th {
    background: var(--primary);
    color: #fff;
    padding: 12px;
    text-align: left;
}

.autolyse-table td {
    padding: 12px;
    border: 1px solid var(--border);
}

.autolyse-table tr:nth-child(even) {
    background: var(--cream);
}

.faq-section h3 {
    color: var(--primary);
}

@media (max-width: 768px) {

    .content-section,
    .content-intro {
        padding: 1.25rem;
    }

    .calc-content h2 {
        font-size: 1.6rem;
    }
}

/* FAQ Section */
.content-section.faq-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f9fafb; /* soft background */
  border-radius: 10px;
  border: 1px solid var(--light);
}

.content-section.faq-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  color: var(--dark);
}

/* FAQ Item */
.faq-item {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-item h4:hover {
  color: var(--secondary);
}

.faq-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}


/* Breadcrumb */
.breadcrumb {
  background: none;          /* remove default background */
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;               /* muted grey for text */
}

.breadcrumb-item a {
  color: #888;               /* muted grey for links */
  text-decoration: none;
  transition: color 0.25s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary);     /* near primary red on hover */
}

.breadcrumb-item.active {
  color: #555;               /* slightly darker muted for active */
  font-weight: 600;
}

/* =====================================================
   MOBILE ADJUSTMENTS
===================================================== */

@media (max-width: 768px) {

  /* Breadcrumb */

  .breadcrumb {
    margin-bottom: 0.75rem;
  }

  .breadcrumb-item {
    font-size: 0.78rem;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    font-size: 0.75rem;
  }

  /* Calculator Card */

  .calc-single .single-calc-card {
    border-width: 2px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

}


.calc-feedback-section {
  background: var(--cream2);
  border-top: 2px solid rgba(246, 166, 35, 0.25); /* orange accent */
  padding: 2.5rem 0;
  margin-top: 3rem;
}

.calc-feedback-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.calc-fb-left {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.calc-fb-left i {
  font-size: 2rem;
  color: var(--primary);
  margin-right: 1rem;
}

.calc-fb-left h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

.calc-fb-left p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.calc-fb-right {
  margin-top: 1rem;
}

.calc-feedback-section .btn {
  border-radius: 0.75rem;
  transition: all 0.25s ease;
}

/* Outlined button */
.calc-feedback-section .btn-outline-secondary {
  border-color: var(--secondary);
  color: var(--secondary);
}
.calc-feedback-section .btn-outline-secondary:hover {
  background: rgba(246, 166, 35, 0.08);
  color: var(--primary);
}

/* Solid primary button */
.calc-feedback-section .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.calc-feedback-section .btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--dark);
}



/* ===== Example Section (Scoped) ===== */
.calculators .calc-content .example-section {
  background: var(--light);
  padding: 2rem;
  border-radius: 16px;
}

.calculators .calc-content .example-section h2 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.calculators .calc-content .example-section p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ===== Grid ===== */
.calculators .calc-content .example-grid {
  margin-top: 1rem;
}

/* ===== Card Link ===== */
.calculators .calc-content .example-card-link {
  text-decoration: none;
  color: #222;
  display: block;
  height: 100%;
}

/* ===== Card ===== */
.calculators .calc-content .example-card {
  background: linear-gradient(145deg, #ffffff, var(--cream));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  box-shadow: var(--shadow);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* Hover */
.calculators .calc-content .example-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* ===== Title ===== */
.calculators .calc-content .example-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* ===== Values ===== */
.calculators .calc-content .example-values {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.calculators .calc-content .example-values li {
  font-size: 0.9rem;
  display: flex;
  gap: 0.25rem;
  padding: 0.15rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  justify-content: space-between;
  flex-direction: row;
}

.calculators .calc-content .example-values .label {
 
  color: var(--primary);
  font-weight: 600;
}

.calculators .calc-content .example-values .value {
   color: var(--dark);
  font-weight: 400;
}

.calculators .calc-content .example-values .unit {
  color: var(--text-muted);
}

/* ===== Result ===== */
.calculators .calc-content .example-result {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

.calculators .calc-content .example-result .value {
  font-weight: 700;
  color: var(--secondary);
}

.calculators .calc-content .example-result .unit {
  color: var(--text-muted);
  margin-left: 0.25rem;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .calculators .calc-content .example-card {
    padding: 1rem;
  }

  .calculators .calc-content .example-title {
    font-size: 1rem;
  }
}

 

/* =========================
   Ratio Input Block (Base)
========================= */

.type-ratio {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s ease;
    height: 100%;
}

/* Hover (desktop only) */
@media (hover: hover) {
    .type-ratio:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }
}

/* Label */
.type-ratio .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Input */
.type-ratio input.form-control {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    background: #f9fafb;
    text-align: center;
    transition: all 0.2s ease;
}

/* Focus */
.type-ratio input.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Remove number arrows */
.type-ratio input[type="number"]::-webkit-outer-spin-button,
.type-ratio input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.type-ratio input[type="number"] {
    -moz-appearance: textfield;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 768px) {

    .ratio-inputs-wrapper {
        gap: 10px !important;
    }

    .type-ratio {
        padding: 10px;
        border-radius: 10px;
    }

    .type-ratio .form-label {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .type-ratio input.form-control {
        font-size: 16px; /* better tap usability */
        padding: 12px;
        border-radius: 10px;
    }
}

/* Extra small screens (phones) */
@media (max-width: 480px) {

    .type-ratio {
        padding: 10px;
    }

    .type-ratio .form-label {
        font-size: 10px;
        letter-spacing: 0.3px;
    }

    .type-ratio input.form-control {
        font-size: 16px;
        padding: 12px;
    }
}


/* =====================================================
   CALCULATOR ARTICLE CONTENT
===================================================== */

.calculators .calc-content {
  margin-top: 2rem;
}

/* =====================================================
   SECTIONS
===================================================== */

.calculators .calc-content .content-section {
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.calculators .calc-content .content-overview {
  background: linear-gradient(
    180deg,
    var(--cream2) 0%,
    #fff 100%
  );
}

/* =====================================================
   HEADINGS
===================================================== */

.calculators .calc-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 1rem;
}


.calculators .calc-content h2:not(.accordion-header)::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 999px;
  margin-top: .75rem;
}

.calculators .calc-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 1.75rem;
  margin-bottom: .75rem;
}

.calculators .calc-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
}

/* =====================================================
   PARAGRAPHS
===================================================== */

.calculators .calc-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}

.calculators .calc-content p:last-child {
  margin-bottom: 0;
}

.calculators .calc-content strong {
  color: var(--dark);
  font-weight: 700;
}

/* =====================================================
   LINKS
===================================================== */

.calculators .calc-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.calculators .calc-content a:hover {
  color: var(--secondary);
}

/* =====================================================
   LISTS
===================================================== */

.calculators .calc-content ul,
.calculators .calc-content ol {
  margin: 1rem 0;
  padding-left: 1.4rem;
}

.calculators .calc-content li {
  margin-bottom: .65rem;
  line-height: 1.7;
  color: #555;
}

.calculators .calc-content ul li::marker {
  color: var(--secondary);
}

.calculators .calc-content ol li::marker {
  color: var(--primary);
  font-weight: 700;
}

/* =====================================================
   TABLES
===================================================== */

.calculators .calc-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

.calculators .calc-content th {
  background: var(--primary);
  color: #fff;
  padding: .9rem 1rem;
  text-align: left;
  font-size: .9rem;
  font-weight: 700;
}

.calculators .calc-content td {
  padding: .85rem 1rem;
  border: 1px solid var(--border);
}

.calculators .calc-content tbody tr:nth-child(even) {
  background: var(--light);
}

.calculators .calc-content tbody tr:hover {
  background: var(--cream2);
}

/* =====================================================
   FEATURE CARDS
===================================================== */

.calculators .calc-content .feature-grid {
  margin-top: 1.5rem;
}

.calculators .calc-content .feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--secondary);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all .25s ease;
}

.calculators .calc-content .feature-card:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.calculators .calc-content .feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .75rem;
}

.calculators .calc-content .feature-text {
  margin: 0;
  color: #666;
  font-size: .92rem;
  line-height: 1.7;
}

/* =====================================================
   CALLOUT BOXES
===================================================== */

.calculators .calc-content .content-note,
.calculators .calc-content .content-tip,
.calculators .calc-content .content-warning {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin: 1.5rem 0;
}

.calculators .calc-content .content-note {
  background: var(--cream2);
  border-left: 4px solid var(--secondary);
}

.calculators .calc-content .content-tip {
  background: var(--success-bg);
  border-left: 4px solid var(--success);
}

.calculators .calc-content .content-warning {
  background: var(--error-bg);
  border-left: 4px solid var(--error);
}

/* =====================================================
   FAQ
===================================================== */

.calculators .calc-content .faq-section h3 {
  border-bottom: 1px solid var(--border);
  padding-bottom: .5rem;
}

/* =====================================================
   BLOCKQUOTE
===================================================== */

.calculators .calc-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-left: 4px solid var(--secondary);
  color: #555;
  font-style: italic;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

  .calculators .calc-content .content-section {
    padding: 1.25rem;
  }

  .calculators .calc-content h2 {
    font-size: 1.5rem;
  }

  .calculators .calc-content h3 {
    font-size: 1.1rem;
  }

  .calculators .calc-content p,
  .calculators .calc-content li {
    font-size: .95rem;
  }
}

/* =====================================================
   FEATURE CARDS
===================================================== */

.calculators .calc-content .feature-grid {
  margin: 1.5rem 0;
}

.calculators .calc-content .feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--secondary);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.25s ease;
}

.calculators .calc-content .feature-card:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.calculators .calc-content .feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.calculators .calc-content .feature-text {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.7;
}
.calculators .calc-content .feature-card:hover {
  border-color: var(--secondary);
  background: var(--cream);
  transform: translateY(-2px);
}


/* =====================================================
   CALCULATOR PAGE TITLE
===================================================== */

.calc-single .calc-title {
  position: relative;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}




/* ===== Baking Schedule Timeline (Scoped) ===== */
.single-calc-results .schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  padding: 1rem 0 1rem 2rem;
}

/* vertical line */
.single-calc-results .schedule-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary);
  opacity: 0.4;
}

/* each item */
.single-calc-results .timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* dot */
.single-calc-results .timeline-item .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
  position: absolute;
  left: -28px;
  top: 26px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(246,166,35,0.25);
}
.single-calc-results #share_btn{
    cursor: pointer;
}

/* content box */
.single-calc-results .timeline-item .content {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-calc-results .timeline-item .content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* headings */
.single-calc-results .timeline-item .content h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

/* times */
.single-calc-results .timeline-item .content span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* bake highlight */
.single-calc-results .timeline-item .content .highlight {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* note box */
.single-calc-results .schedule-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--light);
  /*border-left: 4px solid var(--secondary);*/
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .single-calc-results .schedule-timeline {
    padding-left: 1.5rem;
  }
  .single-calc-results .timeline-item .content {
    font-size: 0.9rem;
  }

  /* dot */
.single-calc-results .timeline-item .dot {
  width: 10px;
  height: 10px;
   
  left: -18px;
  top: 6px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(246,166,35,0.25);
}

}

 


 /* ── Table of contents ──────────────────────────────────────── */
  .calc-content .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
  }
   .calc-content .toc-list li {
    counter-increment: toc;
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding: .45rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: .92rem;
  }
   .calc-content .toc-list li::before {
    content: counter(toc, decimal-leading-zero);
    font-size: .72rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    width: 1.6rem;
  }
   .calc-content .toc-list a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
  }
   .calc-content .toc-list a:hover { color: var(--primary); text-decoration: none; }
