/* Cart Modal Overlay */
    .cart-modal {
     position: fixed;
     top: 0;
     right: 0;     
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     z-index: 1000;
     display: none;
     align-items: center;
     justify-content: right;
     padding: 0;
     transition: all 0.3s ease;
     bottom: 0;
     flex-grow: 1;
    }

    .incarmodls{display: flex;flex-direction: column;height: 100vh;}

    .cart-modal.active {
      opacity: 1;
      visibility: visible;
    }

    .cart-container {
      background: white;
      border-radius: 0px;
      width: 100%;
      max-width: 420px;
      max-height: 100vh;
      overflow-y: auto;
      transform: scale(1) translateY(0px);
      transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      box-shadow: 0 30px 80px rgba(0,0,0,0.3);
      display:flex;
      flex-direction: column;
      overflow-x:hidden;
      overflow-y:auto;
      flex: 1;
    }
    .product-title p {
    font-size: 12px;
    padding-bottom: 0px;
}
p.pacddetail {
    text-transform: uppercase;
    font-size: 14px;
    padding: 3px 0 3px 0;
}
p.dedate span {
    display: inline-block;
    font-weight: bold;
}
p.dedate {
    font-size: 13px;
    padding-bottom: 0;
}

    .cart-modal.active .cart-container {
      transform: scale(1) translateY(0);
    }

    /* Header */
    .cart-header {
      padding: 0px 24px 0px;
      border-bottom: 1px solid #e5e7eb;
      position: sticky;
      top: 0;
      background: white;
      z-index: 10;
    }

    .header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .cart-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: #1f2937;
    }

    .close-btn {
      background: none;
      border: none;
      font-size: 1.5rem;
      color: #6b7280;
      cursor: pointer;
      padding: 4px;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .close-btn:hover {
      background: #f3f4f6;
      color: #374151;
    }

    /* Progress Bar */
    .tosecart {position: relative;height: 336px;overflow-y: scroll;}
    .progress-container {
      position: relative;
      height: 8px;
      background: #f3f4f6;
      border-radius: 4px;
      overflow: hidden;
      margin-bottom: 29px;
    }

    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, #ef4444, #f97316);
      width: 50%;
      border-radius: 4px;
      transition: width 0.3s ease;
      position: relative;
    }

    .progress-labels {
      display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 500;
    position: absolute;
    top: 50px;
    left: 41%;
    right: 0;
    }
    .progessparnt {position: relative;padding: 9px 24px 0 24px}

    /* Cart Item */
    .cart-itmems{
      padding: 10px 24px 0px 24px;
      border-bottom: 1px solid #f3f4f6;flex-grow:1
    }

    .product-image {
      width: 100%;
      height: 80px;
      object-fit: cover;
      border-radius: 16px;
      margin-bottom: 0px;
    }

    .product-title {
      
      font-weight: 600;
      color: #1f2937;
      margin-bottom: 0px;
      line-height: 1.3;
    }

    .delivery-date {
      color: #000;
      font-size: 0.85rem;
      font-weight: 500;
      margin-bottom: 0px;
    }

    .price-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0px;
    }

    .original-price {
      font-size: 1.4rem;
      font-weight: 800;
      color: #ef4444;
    }

    .quantity-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #f8fafc;
      padding: 0px 0px;
      border-radius: 25px;margin-top: 15px;
    }

    .qty-btn {
      width: 25px;
      height: 25px;
      border: 2px solid #e5e7eb;
      background: white;
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      font-weight: 600;
      color: #374151;
      cursor: pointer;
      transition: all 0.2s;
    }

    .qty-btn:hover {
      border-color: #000;
      color: #000;
    }

    .qty-display {
      font-weight: 700;
      min-width: 24px;
      text-align: center !important;
      color: #000;font-size: 13px;
    }
    .original-price p {
    padding-bottom: 0;font-size:13px
}

    .close-item {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(239,68,68,0.1);
      border: 2px solid #ef4444;
      color: #ef4444;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.2s;
    }

    .close-item:hover {
      background: #ef4444;
      color: white;
    }

    /* Coupon Section */
    .coupon-section {
      padding: 0px;
      background: #fef7f6;
      border-radius: 16px;
      margin: 10px  0px 10px 0;
    }

    .coupon-row {
      display: flex;
      gap: 12px;
      margin-bottom: 0px;
    }

    .coupon-input {
      flex: 1;
      padding: 9px 20px;
      border: 2px solid #fed7d7;
      border-radius: 12px;
      font-size: 1rem;
      background: white;
    }

    .coupon-btn {
      padding: 10px 24px;
      background: #ef4444;
      color: white;
      border: none;
      border-radius: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;font-size:12px;
    }

    .coupon-btn:hover {
      background: #dc2626;
    }

    /* Totals */
    .totals-section {
      padding: 10px 22px;
      background: linear-gradient(135deg, #fef7f6, #fed7d7);
      border-radius: 20px;
      margin: 0px;
    }

    .total-row {
      display: flex;
      justify-content: space-between;
      padding: 3px 0;
      font-size: 1rem;
    }

    .total-label {
      color: #374151;
      font-weight: 500;
    }

    .total-value {
      font-weight: 700;
      color: #1f2937;
    }

    .grand-total {
      border-top: 2px solid #fed7d7;
      padding-top: 6px;
      margin-top: 4px;
      font-size: 1.3rem;
    }

    /* Checkout Button */
    .checkout-btn {
      width: 100%;
      padding: 10px 20px;
      background: linear-gradient(135deg, #ef4444, #dc2626);
      color: white;
      border: none;
      border-radius: 16px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      margin: 10px 0;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .checkout-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 20px 40px rgba(239,68,68,0.4);
    }

    /* Bottom Navigation */
    .bottom-nav {
      padding: 8px 44px 12px;
      border-top: 1px solid #e5e7eb;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: white;position: absolute;z-index:2;bottom:0;width: 100%;
    }
    .offsliders {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;transform: translateX(100%);transition: all 300ms ease;
}
    .bottom-nav a {
        display: inline-block;
    padding: 4px 7px 4px 33px;
    flex: 1 1 calc(50% - 16px);
}
.offsliders.transhow {
    transform: translateX(0);
}
 .bottom-nav a:first-child
{background-image: url("../img/cart/kart.png");
  background-repeat: no-repeat;background-size: 20px;background-position: left center;}
.bottom-nav a:nth-child(2)
{background-image: url("../img/cart/offer.png");
  background-repeat: no-repeat;background-size: 20px;background-position: left center;}
    .nav-item {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #6b7280;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .nav-item.active {
      color: #ef4444;
    }

    .nav-item i {
      font-size: 1.2rem;
    }
    .carspars {
    display: flex;
    align-items: stretch;column-gap: 16px;position: relative;margin-bottom: 15px;border-bottom: 1px solid rgba(0,0,0,0.3);padding-bottom: 9px;
}
.addnote {text-align: center;}
.addnote > a {
    display: inline-block;
    padding: 5px 10px 5px 25px;
    font-size: 12px;
    background-image: url(../img/cart/sticky-note.png);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: 5px center;
    margin: 8px 0 5px 0;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}
.icona img {
    max-width: 30px;width:30px
}
.cartdetpares {
    position: relative;
    flex-grow: 1;
}
.addnotpopup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    justify-content: center;
}
.optionnotepare {
    background-color: #fff;
    width: 90%;padding: 15px 15px;border-radius:10px;
}
.notetitle p

 {
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
}
.clcade {position: absolute; top: 0px; right: 10px;}
.topcarcont {font-size: 12px;text-align: center;padding-bottom: 10px;font-weight:500}
.locarp {
    flex: 1 1 calc(25% - 16px);
}
.cardadtail {
    flex: 1 1 calc(75% - 16px);
}
.notefield textarea {
    width: 100%;
    height: 70px;border:1px solid #000;
}
.notebtn {display:flex;justify-content: center;    padding: 15px 0 0 0;}
.notebtn a {
    display: block;
    padding: 10px 22px;
}
.notebtn button {
    background-color: #ef4444;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 22px;
    font-size: 12px;
    cursor: pointer;
}
.progress-labels span {
    display: block;
    font-size: 11px;position:relative;
}
/* .progress-labels span::before{content: "";position: absolute;width: 20px;height: 20px;top:0;background-repeat: no-repeat;background-size: 100%;background-position: 0 0;} */
.progress-labels span.off-ffit::before{background-image: url("../img/home/transport.png");
content: "";
    position: absolute;
    width: 23px;
    height: 23px;
    top: -26px;
    background-repeat: no-repeat;
    background-size: 81%;
    background-position: center center;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
}
.progress-labels span.get-dics::before{
     background-image: url(../img/home/gift.png);
    content: "";
    position: absolute;
    width: 23px;
    height: 23px;
    top: -25px;
    background-repeat: no-repeat;
    background-size: 65%;
    background-position: center center;
    right: 10px;
    margin: 0 auto;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
  }
  span.get-dics {
    left: -11px;
}
.total-label, .total-value {font-size: 12px;}
.coupon-row input.coupon-input {
    font-size: 13px;
}
.clcade a {
    display: block;
    font-size: 12px;margin: 0px 0 0;
}
/* width */
.tosecart::-webkit-scrollbar {
  width: 0px;
}

/* Track */
.tosecart::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 5px;position:relative;right:10px
}
 
/* Handle */
.tosecart::-webkit-scrollbar-thumb {
  background: #ccc; 
  border-radius: 10px;
}

/* Handle on hover */
.tosecart::-webkit-scrollbar-thumb:hover {
  background: #ccc; 
}




.maynochild::-webkit-scrollbar {
  width: 3px;
  height:5px
}

/* Track */
.maynochild::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #f5f5f5; 
  border-radius: 5px;position:relative;right:10px
}
 
/* Handle */
.maynochild::-webkit-scrollbar-thumb {
  background: #ccc; 
  border-radius: 10px;
}

/* Handle on hover */
.maynochild::-webkit-scrollbar-thumb:hover {
  background: #ccc; 
}
.close-btn p {
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 0 0 0 0;
}
.maynochild {
    display: flex;
    
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.ymaynknow > p {
    text-align: center;
    font-size: 14px;
    padding-bottom: 8px;
}
.chilimage{
    min-width: 220px;  
    flex: 0 0 auto;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 10px;
    background: #fff;margin-right: 10px;;
}
.icoimg > a > img{height: 80px;}
.childdet{display: flex;
    row-gap: 10px;
    column-gap: 10px;}
    .icoparde a

 {
    display: block;
    font-size: 12px;
    width: 79%;
    white-space: normal;
}
.icoparde p {
    padding-bottom: 0;
    font-size: 12px;
    font-weight: 600;
}
.addcartdq a {
    display: block;
    color: #fff;
    background-color: #ef4444;
    text-align: center;
    border-radius: 5px;
    padding: 4px 0;
    margin-top: 5px;font-size:13px;
}

/* Popup */
.popup{
  width:420px;
  max-width:100%;
  background:#fff;
  border-radius:0px;
  padding:20px;
  position:relative;
  box-shadow:0 5px 20px rgba(0,0,0,.15);z-index: 2;display: none;
}
.adpnote {display: none;}
.popovv{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    z-index: 0;display: none;
}

/* Close */
.close {
    position: absolute;
    top: -40px;
    right: 0;
    border: none;
    background: #eee;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    left: 0;
    margin: 0 auto;
}

/* Product Row */
.product-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.product-row img{
  width:60px;
  height:60px;
  object-fit:cover;
  border-radius:10px;
}

.info{
  flex:1;
}

.info h3{
  font-size:16px;
  margin:0;
}

.price{
  font-weight:bold;
}

/* Select */
label{
  display:block;
  margin:18px 0 6px;
  font-size:14px;
}

select{
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid #ddd;
  font-size:14px;
}

/* Bottom */
.bottom{
  display:flex;
  gap:12px;
  margin-top:20px;
}

.qtys{
  display:flex;
  align-items:center;
  border:1px solid #ddd;
  border-radius:10px;
  overflow:hidden;
}

.qtys button{
  width:40px;
  height:44px;
  border:none;
  background:#f5f5f5;
  font-size:18px;
  cursor:pointer;
}

.qtys span{
  width:40px;
  text-align:center;
  font-weight:bold;
}

/* Add Button */
.add{
  flex:1;
  background:#d8431f;
  color:#fff;
  border:none;
  border-radius:10px;
  font-size:16px;
  font-weight:bold;
  cursor:pointer;
}

.offersa{
  max-width:500px;
  margin:auto;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* Each row */
.offer-itema{
  display:flex;
  gap:14px;
  padding:18px;
  align-items:flex-start;
  border-bottom:1px solid #e5e5e5;
}

.offer-itema:last-child{
  border-bottom:none;
}

/* Icon */
.icona{
  font-size:28px;
  line-height:1;
}

/* Text */
.texta h4{
  margin:0 0 0px;
  font-size:16px;
}

.texta p{
  margin:0;
  font-size:14px;
  color:#6b7a8c;
}
.cart-itmems img.empty-cart-image {
    margin: 0 auto;
    width: 22%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
} 
span.offprice
 {
    display: inline-block;
    font-size: 12px;
}
div#cartModal.hidden1 {
    display: none;
}
    /* Responsive */
    @media (max-width: 480px) {
      .cart-modal {
        padding: 0px;width: 100%;
      }

      .cart-container {
        max-height: 100%;
        border-radius: 0px;max-width: 100%;
      }

      .cart-header,
      .cart-itmems {
        padding-left: 20px;
        padding-right: 20px;
      }
       .popup{
    padding:16px;
  }

  .info h3{
    font-size:14px;
  }

  .price{
    font-size:14px;
  }

  .qty button,
  .qty span{
    width:34px;
    height:40px;
  }

  .incarmodls{height: 100%;width:100%}
    }

    /* Scrollbar */
    .cart-container::-webkit-scrollbar {
      width: 4px;
    }

    .cart-container::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 2px;
    }

    .cart-container::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 2px;
    }
    .hidden {
      display: none !important;
    }
    .cart_qty_input {
      width:18px;
    }