.fixedOnScroll {
    position: sticky !important;
    top: 100px;
}

@media(max-width:1199px) {
    .fixedOnScroll {
        position: static;
        z-index: 999;
    }
}

/*---------------------*/
.btnnew {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 6px;
  transition: all 300ms ease-in-out 0s;
  position: relative;
  font-weight: 600;
  margin-top: auto;
}

.makeOwnCard {
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  height: 100%;
}
.makeOwnImgCol {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.makeOwnImg {
    width: 100%;
    aspect-ratio: 500/384;
    object-fit: cover;
}
.editBtn {
  top: 10px;
  right: 10px;
  font-size: 14px;
  background-color: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 8px;
  font-size: 1rem;
  z-index: 2;
  transition: opacity 300ms ease-in-out 0s;
}
.editBtn:hover {
  color: white;
  background-color: var(--primary);
  opacity: 0.8;
}
.makeOwnCard .card-title {
	font-weight: 600;
	font-size: 18px;
}
.makeOwnCard .card-text {
	font-size: 14px;
	line-height: 1.4;
}
.makeOwnCard .card-body, .makeOwnCard .card-footer {
  padding: 14px 10px;
}
.chooseProMainCol {
  padding-top: 15px;
  padding-bottom: 100px;
}
.priceText {
  font-size: 20px;
  font-weight: 700;
}
.floatingCart {
  background-color: var(--white);
  padding: 15px;
  box-shadow: 0 -6px 10px rgba(0,0,0,0.04);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.floatingCart .btn_primary {
  padding: 10px 20px;
}
.card.accordionCard {
	border: none;
	box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.cHalf1 {
    background-color: #e2e2e2;
    border-radius: 10px;
    padding: 6px;
    height: 100%;
      display: flex;
      justify-content: center;
      flex-direction: column;
}
.halfPShape {
	/* padding: 40px 15px; */
	text-align: center;
	height: calc(100% - 50px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.halfPShape > img {
	aspect-ratio: 1/1;
	width: 100%;
	object-fit: contain;
	padding: 30px 8px;
  max-height: 300px;
}
.chooseHalfSection {
	padding: 6px;
	background-color: white;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border-radius: 10px;
	display: flex;
	gap: 6px;
}
.chooseHalfCol {
	flex: 1 1 0;
}
.chooseHalfImg {
  position: relative;
  margin-bottom: 10px;
}
.chooseHalfImg img {
    object-fit: cover;
    display: block;
    width: 100%;
    border-radius: 10px;
    height: 200px;
}
.halfPrimaryCirle {
	color: var(--primary);
	position: absolute;
	right: 10px;
	bottom: 10px;
	border: 2px solid var(--primary);
	border-radius: 50%;
}
.active2nd #cHalf2 .halfPrimaryCirle {
	color: var(--white);
}
.active2nd #cHalf2 .halfPrimaryCirle path {
	fill: var(--primary);
}
.resetLink {
    position: absolute;
    right: auto;
    top: 60px;
    z-index: 2;
    background-color: var(--white);
    color: var(--textDark);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
}
.activeProDetail .resetLink {
    opacity: 1;
    visibility: visible;
}
.chooseHalfName {
    font-weight: 700;
    font-size: 16px;
    padding: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 56px;
}
.selectedProDetail p.text-muted {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    min-height: 21px;
}
.bmHeader {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    gap: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.bmHeader .cancelPortionModalTrigger svg {
	display: block;
}
.bmTitle {
	font-size: 16px;
	font-weight: 600;
}
.portionList {
	padding: 5px 12px;
	max-height: calc(100vh - 150px);
	overflow-y: auto;
}
.listGroup {
	padding: 0;
	margin: 0;
  list-style-type: none;
}
.listGroup > li > a {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.selectPortionCol, .customisePortionCol {
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	position: fixed;
	bottom: 0;
	background-color: #fff;
	left: 0;
	right: 0;
	transform: translateY(100%);
  transition: transform 400ms ease-in-out 0s;
  z-index: 999;
}
.activePortionModal .selectPortionCol {
  transform: translateY(0);
}
/* Only the specific customise modal with .active should show */
.customisePortionCol { transform: translateY(100%); }
.customisePortionCol.active { transform: translateY(0); }
.accordionCard > .card-body {
	padding: 15px;
}
.accordionCard > div > .card-body {
	padding: 5px 15px 10px;
}
.cHalf2 > p {
  font-size: 14px;
}
.active2nd .cHalf1, .cHalf2 {
  display: none;
}
.active2nd .cHalf2 {
  display: block;
}
.customiseList {
  padding: 5px 12px 10px;
}
.customisePortionCol {
	max-height: 90vh;
	overflow-y: auto;
}
.qtyCol {
	display: flex;
	width: 90px;
  align-items: center;
}
.btn.qtyBtn {
	padding: 2px;
	background-color: var(--primary);
	color: white;
}
.btn.qtyBtn svg {
	width: 16px;
	height: auto;
	display: block;
}
.form-control.qtyInput {
	padding: 0;
	height: auto;
	border: none;
  font-size: inherit;
  font-weight: 500;
	background-color: transparent;
}
ul.customiseListGroup {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
ul.customiseListGroup > li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid rgba(0,0,0,0.08);
	font-size: 14px;
}
.modalBackdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.4);
  pointer-events: none;
  opacity: 0;
  z-index: 5;
}
.activeCustomiseModal .modalBackdrop,
.activePortionModal .modalBackdrop {
  opacity: 1;
  pointer-events: inherit;
}
.selectedProDetail {
  padding-bottom: 10px;
  display: none;
}
.activeProDetail .selectedProDetail {
  display: block;
}
.radioStyle input[type=radio] {
  position: absolute;
  opacity: 0;
}
.radioStyle input[type=radio] + .form-check-label:before {
  content: "";
  background: #ffffff;
  border-radius: 100%;
  border: 1px solid #655656;
  width: 16px;
  height: 16px;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
  display: block;
  position: absolute;
  left: 0;
  top: 4px;
}
.radioStyle input[type=radio]:checked + .form-check-label:before {
  background-color: #655656;
  box-shadow: inset 0 0 0 3px #f4f4f4;
}
.form-check.radioStyle {
  padding-left: 25px;
  font-size: 14px;
  color: #655656;
  font-weight: 500;
}
.descriptionText {
  padding: 15px 0;
}
.customiseListGroup .qtyCol {
    display: flex;
    align-items: center;
    width: calc(40px + 22px *2);
}
button.btn.qtyBtn {
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 4px;
    min-width: auto;
}
.customiseListGroup .form-control.qtyInput {
    width: 40px;
}
.card.accordionCard .form-check.radioStyle {
    /*padding-left: 0;*/
}
.card.accordionCard .form-check.radioStyle label.form-check-label::after {
    display: none;
}
.halfCloseBar {
    padding: 10px 15px 0;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}

@media (max-width:1199px) {
    .resetLink {
        top: 120px;
    }
    .floatingCart#addtocart_div {
	position: relative;
	padding: 0;
	box-shadow: none;
	pointer-events: none;
    }
    .chooseProMainCol {
        padding-bottom: 30px;
    }
}
@media (max-width:767px) {
  .chooseHalfImg img {
        height: 140px;
    }
  .chooseHalfName {
        font-size: 14px;
        -webkit-line-clamp: 1;
        min-height: auto;
    }
    .chooseHalfCol .btn.btnnew {
        padding: 8px 14px;
        font-size: 14px;
    }
    .chooseProMainCol {
        padding-top: 0;
    }
}
@media (max-width:575px) {
.cHalf2 > p {
	font-size: 12px;
}
.chooseHalfImg img {
	min-height: 140px;
}
.selectedProDetail p.text-muted {
    font-size: 14px;
}
.chooseHalfImg img {
        height: 100px;
    }
    .chooseHalfCol .btn.btnnew {
	margin-bottom: 0;
}
button.btn.qtyBtn {
	margin-bottom: 0;
}
.btnCart .btn.btnnew {
	margin-bottom: 0;
}
}
@media (max-width:475px) {
    .resetLink {
        top: 60px;
    }
    .chooseHalfImg img {
        height: 80px;
    }
}

 