.step {
  display: flex;
flex-direction: column;
justify-content: center;
gap: 32px;
align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  border-radius: 10px !important;
}

h4.sm-h4{
  font-size:24px;
  font-weight: 700;
  margin:0;
  /* color:#135FA7; */
  font-family: "Zalando Sans", Sans-serif;
}
.italic{
  font-style: italic;
}

.step.activestep {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  position: relative;
}
.step.step-3 {
  background: #ffffff;
}
.sm-centering{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.sm-right{
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 12px;
  /* width: min-content; */
}
.sm-flex-wrap{
  flex-wrap: wrap;
}
.sm-around{
  display: flex;
  align-items: center;
  justify-content: space-around; /* horizontally spaced */
  gap: 12px;
  width: 100%;
  margin: 10px 20px 0;
}

/* .sm-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
} */

.sm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.sm-big{
  font-size: 48px;
  font-weight: 100;
    line-height: 1em;
    margin-bottom: 0 !important;

}
.sm-select{
  width: 50%;
  border-radius: 6px;
}
.space-between{
  justify-content: space-between;
}
.gap-20{
  gap: 20px;
}
.bold{
  font-weight: 700;
}
.blue-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: linear-gradient(90deg,#00BFD9,#268ED9);
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 20px;
}
.px-2{
  padding: 0 20px;
}
.height-300{
  height: 220px;
  background-image: linear-gradient(90deg,#00BFD9,#268ED9);
  color: #ffffff;
  padding: 30px;
  border-radius: 30px;
  padding: 30px 20px;
  text-align: center;
  width: 32%;
}
.counter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  /* padding: 10px 16px; */
  /* border-radius: 10px; */
  margin-top: 8px;
}
.count-value{
  background: #ffffff;
  border-radius: 8px;
  margin: 0 5px;
  width: 100px;
  text-align: center;
  color: #000000;
  padding: 9px 12px;

}
.circle-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  color: #000000;
  padding: 0 0 2px;
  transition: 0.4s ease;
}
.circle-btn:hover, .circle-btn:focus, .circle-btn:active{
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.count-value {
  margin: 0 12px;
  font-size: 18px;
  font-weight: bold;
  min-width: 18px;
}

.text-right{
  text-align: right;
}
.sm-column{
  flex-direction: column;
}
.sm-container {
  background: #EDF7FC;
  border-radius: 10px;
  /* padding: 40px; */
  max-width: 1400px !important;
  min-width: 600px;
  width: 100%;
}
.step3-box{
  background: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
}
.pad-40{
  padding:40px;
  background: #EDF7FC;
  border-radius: 20px !important;
}
.sm-img{
  /* max-width: 240px; */
  max-height: 240px;
  width: 100%;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px !important;
  object-fit: contain;

}
.bg-red{
  background-color: red;
}
.red{
  color:red;
}
.blue{
  color:#135FA7 !important;
  
}
.surface-row, .excluded-row{
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  /* padding-left: 50px; */
}
.mb-3{
  margin-bottom: 30px;
}
.sm-text-xs{
  font-size: 12px;
}
h6.sm-h6{
  margin: 0;
  font-family: "Zalando Sans", Sans-serif;
}
/* .sm-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 14px;
} */

/* .sm-steps span {
  position: relative;
  margin: 0 10px;
}

.sm-steps span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -15px;
  width: 30px;
  height: 2px;
  background: #000;
  transform: translateY(-50%);
}

.sm-steps span:last-child::after {
  display: none;
}

.sm-steps .active {
  font-weight: bold;
} */
/* 
.unit-toggle {
  display: inline-flex;
  border-radius: 20px;
  border: 1px solid #000000;
  overflow: hidden;
  margin: 10px 0 20px;
}

.unit-toggle button {
  padding: 10px 20px;
  border: none;
  background: none;
  color: #000000;
  cursor: pointer;
  min-width: 80px;
  font-family: "Zalando Sans", Sans-serif;
  font-size: 18px;
  font-weight: 500;
} */
.multiply{
  font-size: 32px;
  font-weight: 700;
  line-height: 1em;
  margin-top: -5px;
}
.sm-btn{
  color: #ffffff;
  border-radius: 8px !important;
  /* border: 1px solid #b8b8b8 !important; */
  background: #c62828 !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  font-size: 24px;
  font-weight: 700;
  font-family: "Zalando Sans", Sans-serif;
  font-size: 18px;
  font-weight: 500;
}
.pad-lg{
  padding: 16px 40px !important;
}
.pad-sm{
  padding: 12px !important;
}

.back-sm-btn{
  color: #ffffff;
  padding: 16px 40px !important;
  border-radius: 8px !important;
  /* border: 1px solid #b8b8b8 !important; */
  background: #c62828 !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  opacity: 0.5;
  font-family: "Zalando Sans", Sans-serif;
  font-size: 18px;
  font-weight: 500;
}
.back-sm-btn:hover, .back-sm-btn:active, .back-sm-btn:focus{
  background: #dc2e2e !important;
  color: #ffffff !important;
}
.sm-btn:hover, .sm-btn:active, .sm-btn:focus{
  background: #dc2e2e !important;
  color: #ffffff !important;
}
.add-surface-btn{
  background-color: #c62828;
    border: none;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 10px 7px 7px;
    display: flex;
    align-items:center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
    /* margin: 20px 0; */
    color: #ffffff;
    font-family: "Zalando Sans", Sans-serif;
    font-weight: 500;
}
span.circle-icon {
  vertical-align: sub;
}
.circle-icon-wrapper {
  /* border: 1px solid #000000;
  border-radius: 40px;
  padding: 6px 7px 5px; */
  /* margin-right: 5px; */
}
.add-surface-btn:hover, .add-surface-btn:focus{
  background-color: #dc2e2e;
  color: #ffffff;
}
.flex-end{
  display: flex;
  align-items: center;
  justify-content: end;
}
.unit-toggle .active {
  background: #000;
  border-radius: 20px;
  color: #fff;
}

.dimension-inputs {
  display: flex;
  justify-content: center;
  gap: 4px;
  /* margin-bottom: 10px; */
  flex-direction: column;
}

.dimension-inputs input {
  min-width: 90px;
  max-width: 165px;
  padding: 8px;
  text-align: center;
}

.dimension-inputs span.unit-selected  {
  width: 40px;
  padding: 7px 8px;
  text-align: center;
}
.error {
  color: #c62828;
  font-size: 12px;
}
/* .pdf-only {
  position: absolute;
  left: -9999px; 
  top: 0;
  visibility: hidden; 
} */

h2.sm-h2{
  margin: 0;
  text-align: center;
  font-size:36px;
  color: #1e293e;
  line-height: 1.2em;
  font-weight: 800;
  font-family: "Zalando Sans", Sans-serif;
}
h3.sm-h3{
  font-weight: 800;
  font-size: 20px;
  margin: 0;
  line-height: 1em;
  color: #ffffff;
  font-family: "Zalando Sans", Sans-serif;
}

p.sm-p{
  margin: 0;
  text-align: center;
  line-height: 1em;
  font-size: 16px;
  font-weight: 400;
  font-family: "Zalando Sans", Sans-serif;
}
.btn-group {
  /* margin-top: 20px; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.result-container{
  display: flex;
  gap: 10px;
  align-items: center;
}

/* .buttons button {
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.buttons button:hover {
  background: #000;
  color: #fff;
} */

.remove-btn {
  cursor: pointer;
  background: #c62828;              /* red color */
  color: #ffffff;
  padding: 0;
  transition: 0.3s ease;
  border: 0;
  border-radius: 8px;
  padding: 8px 9px;
}
.remove-btn:hover{
  background-color: #b71c1c;;
}
.rotating{
  transform: rotate(45deg);
}
.remove-btn.invisible {
  visibility: hidden; /* Hides visually but keeps space reserved */
}
/* #sm-result{
  display: none;
} */
.mt-50{
  margin-top: 50px;
}
.input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.input-group-baseline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}
.input-group input{
  border: none;
  border-radius: 8px;
  background: #ffffff;
}
.input-group input:focus{
  border-style: dotted;
  border-color: #046BD2;
    box-shadow: none;
    outline: none;
}
.no-label{
  gap: 0;
}
.dimension-inputs label{
    color: #111827;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}
/* This is applied only temporarily during PDF generation */

#pdf-content.pdf-desktop .sm-around {
  flex-direction: row !important;
}
#pdf-content.pdf-dekstop .height-300{
  width: 32%;
}
#pdf-content.pdf-dekstop .sm-around h3.sm-h3{
  font-weight: 700;
  font-size: 15px;
  margin: 0;
  line-height: 1em;
}
/* CSS - drop into your stylesheet */
.dropdown-wrap{
  position: relative;
  display: inline-block;
  width: 50%;    
  min-width: 240px;             /* adjust total width */
  border-radius: 8px;
  background: #fff;             /* white inside */
  box-sizing: border-box;
  overflow: visible;
  height: 40px;                 /* target height to match screenshot */
  vertical-align: middle;
}

/* Select itself */
.dropdown-wrap .nice-select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 100%;
  padding: 0 50px 0 14px;       /* leave right space for chevron box */
  border: none;
  background: transparent;
  font-size: 15px;
  color: #8a8a8a;               /* grey option text */
  text-align: center;           /* center the visible option text */
  line-height: 34px;            /* center vertically */
  outline: none;
  cursor: pointer;
  font-family: "Zalando Sans", Sans-serif;
}
.text-center{
  text-align: center;
}
.w-100{
  width: 100%;
}
.gap-10{
  gap: 10px;
}
/* Remove focus outline but keep an accessible focus style if you want:
.dropdown-wrap .nice-select:focus { box-shadow: 0 0 0 3px rgba(47,152,230,0.18); } */

/* Right red chevron box */
.dropdown-wrap .chevron{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 38px;                      /* width of red mini-box */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c62828;              /* red color */
  color: #fff;
  font-size: 28px;
  border-radius: 0 8px 8px 0;     /* rounded right edge */
  pointer-events: none;             /* let clicks fall through to the select */
}
.flex-direction{
  flex-direction: row;
}

/* optional: slightly darker red on hover */
.dropdown-wrap:hover .chevron{ background: #b71c1c; }

/* responsive tweak */
@media screen and (max-width:992px) {
  .sm-btn, .back-sm-btn{
    font-size: 16px;
  }
  h3.sm-h3{
    font-size:16px;
  }
}

@media screen and (max-width:767px) {
  .sm-container{
    min-width: 300px;
    width: 100%;
    /* padding: 20px; */
  }
  .sm-around{
    flex-direction: column;
  }
  .height-300{
    width: 100%;
  }
  .sm-btn, .back-sm-btn{
    font-size: 15px;
  }
  h3.sm-h3{
    font-size:15px;
  }
} 
@media screen and (max-width:850px) {
  .blue-container{
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }
}
@media screen and (max-width:593px) {
  .surface-row{
    gap: 10px;
    flex-direction: column;
    justify-content: center;
  }
  .dimension-inputs {
    gap: 20px;
  }
  .dimension-inputs input{
    width: 110px;
  }
  .d-none{
    display: none;
  }
}
@media screen and (max-width:479px) {
  .result-container{
    flex-direction: column;
  }

  .flex-direction{
    flex-direction: column-reverse;
  }
} 
@media (max-width: 420px){
  .dropdown-wrap{ min-width: 160px; height: 32px; border-radius: 10px; }
  .dropdown-wrap .nice-select{ font-size: 14px; line-height: 32px; padding-right: 46px; }
  .dropdown-wrap .chevron{ width: 34px; font-size: 14px; border-radius: 0 8px 8px 0; }
}