.packTitle {
    color: var(--main-bg-color) !important;
}

.subscription-card {
    background: #fff;
    border-radius: 16px;
    padding: 0 15px;
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.05); */
    max-width: 420px;
    margin: 20px auto;
}
.frequency-option-modern input[type="radio"],
.frequency-option-modern input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--main-bg-color);
  border-radius: 50%; /* radio */
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  margin-right: 10px;
  background: #fff;
  transition: all 0.2s ease;
}
.frequency-option-modern input[type="radio"]::before,
.frequency-option-modern input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  background: var(--main-bg-color);
  transition: transform 0.2s ease;
}
.frequency-option-modern input[type="radio"]:checked::before,
.frequency-option-modern input[type="checkbox"]:checked::before {
  transform: scale(1);
}



.subscription-card .badge {

    font-size: 12px;
    padding: 5px 15px;
    border-radius: 12px;
    line-height: 1.3;
}
.pack-title{
    line-height: 1.3;
}
.subscription-card .badge-active {
    background-color: #28a745;
    color: #fff;
}

.subscription-card .badge-paused {
    background-color: #ffc107;
    color: #212529;
}

.subscription-card .badge-fullyredeemed {
    background-color: #6c757d;
    color: #fff;
}

.subscription-card .badge-expired {
    background-color: #dc3545;
    color: #fff;
}

.remaining-box {
    background: #f4f7f4;
    border-radius: 12px;
    padding: 12px 16px;
}

.remaining-count {
    color: #2ecc71;
    font-weight: 600;
}

.info-label {
    font-size: 12px;
    color: #677e73;
}

.info-value {
    font-weight: 4 00;
}

.startend-date {
    color: #677e73;
}

.date-highlight {
    color: #e74c3c;
    display: inline-block;
    font-weight: 500;
}

.day-pill {
    background: #e8f6ef;
    color: #2ecc71;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-right: 6px;
}

.btn-pause {
    background: #f5b51b;
    color: #000;
    border-radius: 25px;
    font-weight: 500;
}

.btn-history {
    border-radius: 25px;
    font-weight: 500;
}

.common-space {
    padding: 30px 0px;
}

.promo-banner img {
    border-radius: 10px;
    width: 100%;
}

.subscription-order {
    background-color: #fff;
    border-radius: 10px;
    min-height: 186px;
}

.packsIntroduction .col-md-3 {
    -ms-flex: 0 0 33%;
    flex: 0 0 33%;
    max-width: 33%;
}

.packsIntroduction .col-md-9 {
    -ms-flex: 0 0 67%;
    flex: 0 0 67%;
    max-width: 67%;
}

.subscription-top {
    padding: 10px 15px;
    border-bottom: 1px solid #E6E6E6;
}

.subscription-top h3 {
    font-size: 15px;
    width: 100%;
    max-width: 240px;
    font-weight: 700;
}

.subscription-order img {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 100%;
    max-width: 135px;
}

.inner-saved {
    padding: 15px 15px;
}

.inner-card {
    border: 1px solid #E6E6E6;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}

.inner-top {
    background-color: #F2FFE9;
    padding: 10px 10px;
}

.inner-top p {
    color: #4BAD50;
    font-weight: 500;
}

.inner-bottom {
    padding: 15px 15px;
}

.inner-bottom .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-left: 0px;
    margin-right: 0px;
}

.quantity-span {
    background-color: var(--main-bg-color);
    display: none;
    padding: 3px 13px;
    color: var(--secondary-bg-color);
    border-radius: 50px;
    margin-bottom: 12px;
    font-size: 14px;
}

.pricing-p {
    font-weight: 600;
    font-size: 16px;
}

.pricing-p del {
    font-weight: 400;
}

.edit-anker {
    background-color: var(--main-bg-color);
    display: inline-flex;
    color: var(--secondary-bg-color);
    padding: 2px 10px;
    border-radius: 50px !important;
}

.edit-anker svg {
    width: 100%;
    max-width: 13px;
    margin-left: 8px;
}

.inner-saved .inner-card:last-child {
    margin-bottom: 0px;
}

.inner-saved h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.inner-saved p {
    color: #656565;
    width: 100%;
    max-width: 250px;
    line-height: normal;
    margin: 0 auto;
    margin-left: 5px;
    margin-right: 5px;
}

.tabRight .nav-tabs .nav-item {
    width: 33.33%;
}

.tabRight .nav-tabs .nav-item .nav-link {
    width: 100%;
    border-radius: 50px !important;
    border: none;
    font-weight: 300;
    color: #7a7a7a;
    padding: 10px 5px;
    font-size: 13px;
    line-height: normal;
}

.tabRight .nav-tabs {
    background-color: #F9F9F9;
    border: none;
    border-radius: 50px !important;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 10%);
}

.tabRight .nav-tabs .nav-item .nav-link.active {
    font-weight: 700;
    border: 1px solid var(--main-bg-color);
    color: #000;
}

.milk-card {
    border-radius: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
    overflow: hidden;
    background-color: #fff;
    height: 100%;
    cursor: pointer;
    justify-content: space-between;
}


.price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.subscribe-btn {
    box-sizing: border-box;
    position: absolute;
    background: #FFFFFF;
    border: 0.994995px solid #333333;
    border-radius: 7.95996px;
    bottom: -10px;
    width: auto;
    font-weight: 500;
    padding: 6px 23px;
    transition: 0.3s;
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    min-width: 72.5px;
    text-align: center;
}

.cowmilk-info {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: stretch;
    margin-top: 5px;
}

.pack-info {
    color: #333333;
    border-radius: 10px;
    padding: 1px 8px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    width: fit-content;
    position: relative;
}

.pack-info:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;

    background-color: var(--main-bg-color);
    opacity: 0.2;
    border-radius: 10px;
}

.milk-card .save-info {
    color: #3dbb4c;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Enhanced Savings Badge - More Prominent */
.save-info-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4BAD50 0%, #45a049 100%);
    color: #fff !important;
    font-size: 14px !important;
    padding: 5px 16px !important;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(75, 173, 80, 0.3);
    text-transform: none;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.card_subscription {
    background: linear-gradient(135deg, #F2FFE9 0%, #e8f5e0 100%) !important;
    padding: 10px 15px !important;
    border-top: 1px solid rgba(75, 173, 80, 0.2);
}

/* Improved Pack Card Layout - Less Clustered */
.milk-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    justify-content: space-between;
}

.milk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
}

.milk-card-start {
    padding: 16px 16px !important;
}

.milk-card-start h4 {
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.4;
}

.milk-card--price .price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--main-bg-color, #000) !important;
}

.milk-card--price .old-price {
    font-size: 14px !important;
    color: #999 !important;
    margin-left: 8px;
}

.pack-info {
    font-size: 12px !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
}

.milk-card_imageBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.milk-card_imageBtn img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 12px;
}

/* .subscribe-btn {
    bottom: 8px !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    min-width: 90px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.2s ease;
} */

.subscribe-btn:hover {
    background: var(--main-bg-color, #000) !important;
    color: #fff !important;
    border-color: var(--main-bg-color, #000) !important;
    transform: scale(1.05);
}

.tabRight .row-gap-4 {
    row-gap: 2rem !important;
    margin-bottom: 1rem;
}

/* Mobile improvements */
@media only screen and (max-width: 767px) {
    .milk-card-start {
        padding: 14px 14px !important;
    }

    .milk-card-start h4 {
        font-size: 15px !important;
        margin-bottom: 8px;
    }

    .milk-card--price .price {
        font-size: 16px !important;
    }

    .save-info-badge {
        font-size: 13px !important;
        padding: 7px 14px !important;
    }
}

.milk-card_imageBtn {
    position: relative;
}

.card_subscription {
    background: #F2FFE9;
    padding: 5px;
}

.product-card {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-info {
    flex: 1;
    margin-right: 1rem;
}

.product-info h6 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.expiry {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.progress {
    height: 11px;
    border-radius: 5px;
    background-color: #F2FFE9;

}

.progress-bar {
    background-color: #4BAD50;
}

.progressText {
    background: #F1F1F1;
    border-radius: 10px;
    padding: 6px 10px;
}

.progressText span {
    font-weight: 600;
    font-size: 14px;
}

.saving {
    color: #4BAD50;
    background: #F2FFE9;
    border-radius: 13px;
    display: inline-block;
    padding: 5px 8px;
    font-size: 12px;
    line-height: normal;
}

.bottom-st .saving:after {
    content: "";
    background: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.2), #FFFFFF);

    border-radius: 10px;
}

.bottom-st .saving span {
    z-index: 4;
    position: relative;
    width: 100%;
    display: inline-block;
    font-size: 11px;
}

.bottom-st .saving {
    color: #000000;
    font-weight: 600;
    border-radius: 13px;
    display: inline-block;
    padding: 5px 8px;
    font-size: 12px;
    line-height: normal;
    position: relative;
}

.product-img {
    text-align: center;
}

.btn-redeem {
    border: 1px solid #000;
    border-radius: 10px;
    padding: 4px 16px;
    background: #fff;
    font-weight: 500;
    margin-top: 6px;
    transition: 0.3s;
}

.btn-redeem:hover {
    background: #000;
    color: #fff;
}

.veg-flag {
    width: 16px;
    height: 16px;
    border: 1px solid #3DA66E;
    text-align: center;
    background-color: #fff;
    margin-right: 7px;
    margin-top: 2px;
    position: relative;
    border-radius: 3px;
}

.veg-flag span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #3DA66E;
    border-radius: 50% !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.non-vegflag {
    width: 16px;
    height: 16px;
    border: 1px solid #fd1615;
    text-align: center;
    background-color: #fff;
    margin-right: 7px;
    margin-top: 2px;
    position: relative;
    border-radius: 3px;
}

.non-vegflag span {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid #fd1615;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.milk-card-start {
    padding: 12px;
    margin-bottom: 10px;
}

.milk-card-start h4 {
    font-size: 15px;
    padding-top: 1px;
}

.milk-card-start .col-8 {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
}

.milk-card-start .col-4 {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
}

.milk-card_imageBtn img {
    border-radius: 20px;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 15%);
}

.tabRight .row-gap-4 {
    row-gap: 1.5rem !important;
}

.expiry-txt {
    font-size: 14px;
    color: #C61013;
    font-weight: 500;
    margin-bottom: 6px;
}

.progress-bar-outer {
    position: relative;
}

.progress-bar-outer:before {
    content: "";
    position: absolute;
    background-color: var(--main-bg-color);
    width: 100%;
    height: 100%;
    left: 0px;
    border-radius: 10px;
    opacity: 0.2;
}

.progress-bar-outer {
    position: relative;
    padding: 2px 7px;
    line-height: normal;
    display: flex;
    align-items: center;
    font-weight: 700;
    justify-content: space-between;
    margin-bottom: 10px;
}

.process-step {
    width: 80%;
    height: 7px;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
}

.process-step:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: var(--main-bg-color);
    opacity: 0.3;
}

.process-step:after {
    content: "";
    position: absolute;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: var(--main-bg-color);
}

.new-type.customisable-item-modal .add-btn {
    justify-content: center;
}

.new-type.customisable-item-modal .modal-lower-discription {
    background: none;
}

.new-type.customisable-item-modal.modal.modal-top .modal-body {
    max-height: 545px;
}

.new-type.customisable-item-modal .right-side-modal {
    height: 100vh !important;
    background-color: #fff;
}

.pack-modal .close {
    /* background-color: transparent !important;
    padding: 0 !important;
    margin: 10px 0 10px 10px; */
}

.pack-modal .right-side-modal {
    padding-bottom: 0 !important;
}

.right-side--title {
    padding: 0em 1.5em 70px 1.5em;
    height: auto;
}

.sticky-db-new {
    padding-bottom: 0em;
}

.bottom-st {
    display: flex;
    margin-top: 5px;
}

.bottom-st .bottom-st-left {
    width: 100%;
    max-width: 100%;
}

.bottom-st .bottom-st-right {
    width: 100%;
    max-width: 20%;
    text-align: right;
}

.quantity-btn {
    border: 1px solid #000 !important;
    background: none !important;
}

._2zAXs {
    color: #000 !important;
    background: none !important;
}

.cart-new-btn {
    color: #000 !important;
    height: 30px !important;
}

.card.milk-card .cart-new-btn {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    margin: auto;
    background: #fff;
    border-radius: 11px;
}

._29Y5Z:before {
    top: -10px;
    background-color: #000 !important;
}

/* right sidebar */
.pack-modal .date-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.pack-modal .date-display,
.subssec-display {
    display: flex;
    align-items: center;
    border: 1px solid #e1e1e1;
    border-radius: 50px;
    padding: 2px 14px;
    font-size: 13px;
    position: relative;
    background: #fff;
    cursor: pointer;
    color: #222222;
    transition: 0.2s ease;
}

.pack-modal .date-display:hover {
    border-color: var(--main-bg-color);
}



.pack-modal input[type="date"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    pointer-events: none;
    left: 0px;
}

.slot-section,
.daily-section {
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
    flex-direction: column;
}

.slot-label,
.prepaid-label,
.date-label,
.subssec-label,
.daily-label {
    font-weight: 600;
    color: #222222;
    margin-bottom: 0;
}

.slot-display,
.subscription-display,
.daily-display {
    display: flex;
    align-items: center;
    border: 1px solid #e1e1e1;
    border-radius: 50px;
    padding: 2px 14px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}

.slot-display:hover,
.daily-section:hover {
    border-color: var(--main-bg-color);
}

.slot-display i,
.date-display i,
.subssec-display i,
.daily-section i {
    color: var(--main-bg-color);
    font-size: 15px;
    margin-left: 6px;
}

.slot-dropdown,
.subscription-dropdown,
.daily-dropdown {
    display: none;
    margin-top: 15px;
    background: #fff;
    z-index: 10;
}

.milk-card-start h4 {
    /* display: -webkit-box; */
    -webkit-line-clamp: 1;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slot-option,
.subs-option,
.daily-option {
    border: 1px solid #ddd;
    border-radius: 25px;
    text-align: center;
    margin-right: 5px;
    padding: 5px 10px;
    cursor: pointer;
    line-height: 1.3;
    font-size: 13px;
    transition: all 0.2s ease;
    background: #fff;
    user-select: none;
    font-weight: 500;
    position: relative;
}

.slot-option:hover,
.subs-option:hover,
.daily-option:hover {
    border-color: var(--main-bg-color);
    /* background: var(--main-bg-color); */
}

.slot-option:before:hover,
.subs-option:before:hover,
.daily-option:before:hover {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    border-color: var(--main-bg-color);
    background: var(--main-bg-color);
}

.slot-option input[type="radio"] {
    display: none;
}

.slot-option.active,
.daily-option.active {
    border-color: var(--main-bg-color);
    ;
    background: #eaffdf;
    font-weight: 600;
    color: #2b2b2b;
}

.prepaid-card {

    border-radius: 13.09px;
    background: #fff;
    width: 100%;
    position: relative;

    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
}

.input-radio {
    border: 1px solid #E6E6E6;
    border-radius: 13.09px;
}

.best-value {
    border-top: 5px solid #d9efff;
    background: #d9efff;
    border: 1px solid #D4EFFF;
}

.best-tag {
    text-align: center;
    /* background: #e6f4ff; */
    color: #000;
    font-weight: 600;
    font-size: 8px;
    letter-spacing: 0.5px;
    border-radius: 12px 12px 0 0;
    padding: 2px 0 3px;
    line-height: 1.3
}

.best-tag i {
    font-size: 10px;
    margin-right: 2px;
}

.prepaid-body {
    padding: 10px 18px;
    border-radius: 13.09px;
    background: #fff;

}

.product-count {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #000;
}

.save-badge {
    background: #e8fbe9;
    color: #4caf50;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 6px;
}

.validity {
    font-size: 11px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.validity i {
    font-size: 15px;
    margin-right: 4px;
    color: #777;

}

.price {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
    margin-bottom: 2px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 11px;
    margin-bottom: 0;
    line-height: 1.3;
}

.per-item {
    font-size: 11px;
    color: #777;
    margin-bottom: 0;
    line-height: 1.3;
}

.prepaid-card:hover {
    border-color: var(--main-bg-color);
    ;
    box-shadow: 0 0 5px rgba(0, 128, 0, 0.2);
}

.hidden-radio {
    display: none;
}

.hidden-radio:checked+.input-radio,
.hidden-radio:checked~.input-radio {
    border-color: var(--main-bg-color);
    ;
}

.prepaid-card input:checked+.input-radio,
.prepaid-card input:checked~.best-tag {
    border-color: var(--main-bg-color);
    ;
}

.prepaid-card input:checked~.input-radio {
    background: #e9f9ee;
    border: 1px solid var(--main-bg-color);
    ;
    border-radius: 10px;
}

.fixed-bottom-cta {
    position: fixed;
    bottom: 0;
    background: #fff;
    padding: 12px 16px;
    z-index: 10;
    bottom: 0px;
    width: 380px;
    border: none;
}

/* subscription */
.subs-circle {
    width: 13px;
    height: 13px;
    display: inline-block;
    border: 2px solid #eee;
    border-radius: 100px;
    margin-right: 6px;
    position: absolute;
    left: 0;
    margin-left: 6px;
    top: 0;
    bottom: 0;
    margin: 6px 6px auto 6px;
}

.subs-option {
    padding-left: 25px;
}

.subs-option input[type="radio"] {
    display: none;
}

.subs-option input[type="radio"]:checked+span,
.subs-option input[type="radio"]:checked {
    border-color: var(--main-bg-color);

    color: var(--main-bg-color);
    font-weight: 500;
}

.subs-option:has(input[type="radio"]:checked) {
    border-color: var(--main-bg-color);
    ;
    background: rgba(255, 0, 0, 0.05);
}

.button:disabled,
button:disabled,
input[type=button]:disabled,
input[type=reset]:disabled,
input[type=submit]:disabled {
    background: #B7B7B7;
}

.dayslot .slot-option,
.daily {
    margin-right: 3px;
    padding: 3px 10px;
}

.dayslot .slot-option input[type="checkbox"] {
    display: none;
}

/* ✅ Highlight selected days */
.dayslot .slot-option input[type="checkbox"]:checked+span,
.dayslot .slot-option input[type="checkbox"]:checked~label,
.dayslot .slot-option input[type="checkbox"]:checked {
    background-color: rgba(255, 0, 0, 0.05);
    border-radius: 6px;
}

#selectedSlotd {
    color: #222222;
}

#slot-displayd {
    max-width: 220px;
    /* adjust as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#slot-displayd span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* Better highlight (works on the label itself) */
.dayslot .slot-option:has(input[type="checkbox"]:checked) {
    background-color: rgba(255, 0, 0, 0.05);
    ;
    font-weight: 600;
    border-color: var(--main-bg-color);
    color: var(--main-bg-color);
}

.packsinner .close {
    padding: 0px !important;
}

.packsinner .fixedbackbtnsupper {
    max-width: 100%;
    position: absolute;
    right: 15px;
    padding: 0px;
    top: 13px;
    justify-content: right;
}

.packsinner .modal-content {
    max-width: 500px;
}

.modalHeading {
    font-size: 20px;
    font-weight: 700;
}

.packsinner .new-design-outer {
    padding: 0px;
}

.greencolor {
    width: 100%;
    display: inline-block;
    max-width: 80px;
}

.dailySubs p {
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
}

.dailySubs {
    border-bottom: 1px solid #e6e6e6;
}

.dailySubs span {
    font-size: 14px;
    display: inline-block;
    line-height: normal;
}

.deliveryaddress p {
    font-size: 16px;
    line-height: normal;
    font-weight: 500;
}

.deliveryaddress span {
    color: #000;
    display: inline-block;
    line-height: normal;
    font-size: 14px;
}

.deliveryaddress a {
    color: #4BAD50;
    border-bottom: 1px solid #4BAD50;
}

.how-to-expect {
    text-align: center;
    padding: 15px 15px;
    position: relative;
}

.how-to-expect:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    background-image: linear-gradient(to right, #ffffff, var(--main-bg-color));
    opacity: 0.4;
}

.how-to-expect img {
    width: 100%;
    max-width: 40px;
    margin-bottom: 10px;
}

.how-to-expect p {
    line-height: normal;
    font-size: 14px;
    font-weight: 500;
}

.how-to-expect>p {
    color: #147519;
    font-weight: 600;
    font-size: 16px !important;
    margin-bottom: 20px;
}

#editOrder .saving {
    width: max-content;
}

.modalctas button {
    padding: 15px 7px;
    width: 100%;
    text-align: center;
    border: 1px solid #000;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    background: red;
}

.modalctas .edit {
    border-color: #0078C3;
    background-color: #e6f2f9;
}

.modalctas .pause {
    border-color: #FF8D28;
    background-color: #fff4ea;
}

.modalctas .cancel {
    border-color: #FF383C;
    background-color: #ffecec;
}

.modalctas .proceed {
    border-color: #4BAD50;
    background-color: #e8f5e9;
}

.subscribe-history {
    background-color: #f1f0f5;
    padding: 15px 15px;
}

.subscribe-history p {
    font-size: 14px;
}

.subshistory {
    background-color: #fff;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 15px;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 15%);
}

.subshistoryright p {
    color: #898989;
}

.dailyq {
    color: #898989;
}

.subscribe-history p del {
    color: #898989;
}

.subscribeList .subshistory:last-child {
    margin-bottom: 0;
}

.tagsdiv {
    display: inline-block;
    width: auto;
    background: #F2FFE9;
    text-align: center;
    border-radius: 20px;
    font-weight: 500;
    color: #000;
}

.tagsdiv.delivered {
    background: #E6E6E6;
}

#subscriptionActive .modal-content,
.successfully .modal-content,
.cancelled .modal-content {
    max-width: 400px;
}

#subscriptionActive .modal-content .fixedbackbtnsupper,
.successfully .modal-content .fixedbackbtnsupper,
.cancelled .modal-content .fixedbackbtnsupper {
    top: 0px;
}

#subscriptionActive .success-checkmark.error-d .check-icon .icon-circle {
    border: 4px solid #d41313;
}

#subscriptionActive .success-checkmark.error-d .check-icon .icon-line.line-long {
    background-color: #d41313;
}

#subscriptionActive .success-checkmark.error-d .check-icon .icon-line.line-tip {
    background-color: #d41313;
}

#subscriptionActive .modal-content,
.successfully .modal-content,
.cancelled .modal-content {
    max-width: 400px;
}

#subscriptionActive .modal-content .fixedbackbtnsupper {
    top: 0px;
}

.order-cancelled,
.order-cancelled:hover,
.order-cancelled:focus {
    background-color: var(--main-bg-color);
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 10px 5px;
    border-radius: 12px !important;
    color: var(--secondary-bg-color);
    font-weight: 600;
}

.successfully .fixedbackbtnsupper {
    top: 0px;
}

.cancelSubPop .modalctas .proceed {
    background-color: var(--main-bg-color);
    color: #fff;
    border-color: var(--main-bg-color);

}

.cancelSubPop .modalHeading {
    font-size: 24px;
    font-weight: 500;
}

.modal .cta {
    padding: 15px 25px;
    font-size: 16px;
}

.modalsubHeading {
    font-size: 18px;
}

@media only screen and (min-width: 992px) {

    /* Sticky CTA Bar: Keep inside container */
    .cta-bar.is-sticky {
        position: sticky;
        top: 0;
        z-index: 100;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        left: 0;
        right: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 991px) {
     .pack-right-side .prod-head {
        border-radius: 0 0 16px 16px !important;
    }
    .cta-bar.is-sticky {
        position: static;
        box-shadow: none;
    }

    .cta-bar {
        position: relative;
        margin-top: 20px;
    }

    #ctaBar.is-sticky {
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .prod-head {
        position: relative;
    }

    .right-side-modal .sticky-right-side {
        background: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .pack-modal .right-side-modal .sticky-right-side {
        padding: 10px 15px;
    }
}

@media only screen and (max-width: 991px) {

    .right-side--title,
    .pack-modal .sticky-right-side p {

        padding: 0em .8em .8em .8em !important;
    }

    .new-type.customisable-item-modal .right-side-modal,
    .new-type.slots-enalbled-text.customisable-item-modal .right-side-modal {
        height: auto;
    }

    .new-type.customisable-item-modal.modal.modal-top .modal-body {
        max-height: 100%;
        background-color: #fff;
    }

    .right-side--title {
        padding-bottom: 50px !important;
    }

}

.bg-round--white {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pack-left-side .prod-head {
    border-radius: 0 0 16px 16px !important;
}

.image-container,
.pack-left-side .imgprofile {
    border-radius: 16px 16px 0 0 !important;
    aspect-ratio: 16/14;
}
.milk-card-start h4 {
    /* display: -webkit-box; */
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* For mobile view */
@media only screen and (min-width: 768px) {
    div#prepaid-cards-container {
        width: 90%;
        position: absolute;
        top: calc(100% + 8px);
        left: 0px;
        right: 0px;
        background: rgb(255, 255, 255);
        border: 2px solid rgb(225, 225, 225);
        border-radius: 12px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
        z-index: 100;
        max-height: 300px;
        overflow-y: auto;
        padding: 8px;
    }

    .prepaid-card {
        padding: 0;
    }

    .dropdown-toggle::after {
        border-top: none;

        border-left: none;

        transform: rotate(45deg);
        width: 10px;
        height: 10px;
        border-right: 1PX solid var(--main-bg-color);
        border-bottom: 1PX solid var(--main-bg-color);
        transform: rotate(45deg);
    }

    .new-type.customisable-item-modal .pack-modal .backbtnsupper {
        top: 0px !important;
        position: absolute !important;
        z-index: 99;
        right: 0;
        justify-content: end !important;
    }

    .new-type.customisable-item-modal .pack-modal .backbtnsupper svg {
        height: 25px;
        width: 25px;
        margin-top: -4px;
    }

    .new-type.customisable-item-modal .pack-modal .close {
        padding: 0 !important;
    }
}

@media (max-width: 769px) {
    .pack-right-side .prod-head {
        border-radius: 0 0 16px 16px !important;
    }

    .new-type.customisable-item-modal .pack-modal .fixedbackbtnsupper.whiteline {
        background: none;
        border-bottom: none;
        height: 53px;
    }

    .mobile-fixed-cta {
        margin-top: 0px;
        position: fixed;
        bottom: 0px;
        width: 100%;
        left: 0px;
        background-color: #fff;
        padding: 10px 15px !important;
        box-shadow: 0px 0px 10px #00000029;
    }

    .mobile-fixed-cta .btn {
        width: 100%;
        font-size: 16px;
        font-weight: 600;
        padding: 12px;
        border-radius: 6px;
    }


    .pack-modal .close {
        background-color: initial !important;
        transition: background 0.2s ease;
        padding: 0 !important;
        margin-left: auto;
        opacity: 1;
        position: fixed;
        right: 16px;
    }

    .packsIntroduction .col-md-3 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .packsIntroduction .col-md-9 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-img {
        width: 100%;
        text-align: left;
        margin-top: 1rem;
    }

    .btn-redeem {
        margin-top: 10px;
    }

    .tabRight .row-gap-4 {
        row-gap: 1rem !important;
    }

    .packsinner .modal-content {
        max-width: 100%;
    }

    .packsinner.modal.modal-top.height-enabled .close {
        position: absolute;
        left: auto;
        transform: matrix(1, 0, 0, 1, 0, 0);
        top: 0;
    }

    .modalHeading {
        font-size: 18px;
    }

    .how-to-expect p {
        font-size: 13px;
    }

    .how-to-expect img {
        max-width: 30px;
    }

    .deliveryaddress span {
        font-size: 13px;
    }

    .subscribe-history p {
        font-size: 12px;
    }

    .modalctas button {
        padding: 7px 7px;
        font-size: 14px;
    }

    #editOrder .modal-content {
        background-color: #f1f0f5;
    }

    .modalctas {
        background-color: #fff;
    }

    #editOrder .milk-card-start {
        background-color: #fff;
        margin-bottom: 0px;
    }

    #subscriptionActive .modal-content,
    .successfully .modal-content,
    .cancelled .modal-content {
        max-width: 100%;
    }

    .bottombtns .col-2 {
        -ms-flex: 0 0 24%;
        flex: 0 0 24%;
        max-width: 24%;
    }

    .bottombtns .col-10 {
        -ms-flex: 0 0 76%;
        flex: 0 0 76%;
        max-width: 76%;
    }
}
@media only screen and (max-width: 480px) {
.priceSaving-wrap {
    align-items: center !important;
    flex-direction: initial !important;
    justify-content: space-between !important;
}
.packTitle {
       display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 103px;
}

.span.product-price-value, .footer-price-value{
    font-size: 14px;
}
.tabRight .nav-tabs .nav-item .nav-link{
        padding: 6px 4px;
    font-size: 10px;
    height: 100%;
}
.subscribe-btn {

    padding: 3px 9px;
   
    font-size: 12px;
 
}
.pack-info {
    font-size: 10px !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
}
    .milk-card--price .price {
        font-size: 13px !important;
    }
    
.milk-card--price .old-price {
    font-size: 13px !important;
    color: #999 !important;
    margin-left: 0;
}
    .save-info-badge {
        font-size: 12px !important;
        padding: 7px 14px !important;
    }
}