/* Cart Modal Styles */
.cart-modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.6);
   backdrop-filter: blur(4px);
   display: none;
   align-items: center;
   justify-content: center;
   z-index: 9999;
}


.pricing-dynamic-controls {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 30px;
   margin-bottom: 40px;
   padding: 20px;
   background: #fff;
   border-radius: 50px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


.cart-nav-selector {
   border-left: 1px solid #eee;
   padding-left: 20px;
}


.btn-view-cart {
   display: flex;
   align-items: center;
   gap: 10px;
   background: #f8f9fa;
   padding: 8px 18px;
   border-radius: 30px;
   text-decoration: none;
   color: #2B3D91;
   font-weight: 700;
   font-size: 14px;
   position: relative;
   transition: all 0.3s ease;
}


.btn-view-cart:hover {
   background: #e9ecef;
   transform: translateY(-2px);
}


.btn-view-cart img {
   width: 35px;
   height: 35px;
}


.local-cart-counter {
   position: absolute;
   top: -8px;
   right: -5px;
   background: #76bc21;
   color: #fff;
   font-style: normal;
   font-size: 10px;
   width: 18px;
   height: 18px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   border: 2px solid #fff;
}


.cart-modal {
   background: #fff;
   width: 90%;
   max-width: 650px;
   border-radius: 12px;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
   overflow: hidden;
   font-family: 'Poppins', sans-serif;
   animation: slideUp 0.3s ease-out;
}


@keyframes slideUp {
   from {
       transform: translateY(20px);
       opacity: 0;
   }


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


.cart-modal-header {
   padding: 30px;
   text-align: center;
   border-bottom: 1px solid #eee;
   position: relative;
}


.cart-modal-header .check-icon {
   width: 40px;
   margin-bottom: 10px;
}


.cart-modal-header h2 {
   font-size: 24px;
   color: #333;
   margin: 0;
}


.cart-modal-content {
   padding: 30px;
}


.cart-item-config {
   display: grid;
   grid-template-columns: 150px 1fr;
   gap: 20px;
   align-items: center;
   margin-bottom: 25px;
}


.cart-item-config label {
   font-weight: 500;
   color: #666;
}


.cart-item-config select,
.cart-item-config .qty-control {
   padding: 10px 15px;
   border: 1px solid #ddd;
   border-radius: 6px;
   font-size: 15px;
}


.qty-control {
   display: flex;
   align-items: center;
   width: 140px;
   justify-content: space-between;
}


.qty-control button {
   background: #f5f5f5;
   border: none;
   width: 32px;
   height: 32px;
   border-radius: 4px;
   cursor: pointer;
   font-size: 18px;
   transition: background 0.2s;
}


.qty-control button:hover {
   background: #e0e0e0;
}


.qty-control input {
   width: 40px;
   text-align: center;
   border: none;
   font-weight: 600;
}


.cart-btn-update {
   background: #f8f9fa;
   color: #999;
   border: 1px solid #eee;
   padding: 10px 20px;
   border-radius: 6px;
   cursor: pointer;
   width: 100%;
   margin-top: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   font-weight: 500;
}


.cart-btn-update.active {
   background: #fff;
   color: #333;
   border-color: #ddd;
}


.cart-item-preview {
   display: flex;
   gap: 20px;
   padding: 20px;
   background: #fcfcfc;
   border: 1px solid #f0f0f0;
   border-radius: 8px;
   margin-top: 20px;
}


.cart-item-preview img {
   width: 60px;
   height: 60px;
   object-fit: contain;
}


.add-to-cart-btn {
   white-space: nowrap !important;
   cursor: pointer;
}


.cart-item-details h4 {
   margin: 0 0 5px 0;
   font-size: 16px;
}


.cart-item-details p {
   margin: 0;
   color: #777;
   font-size: 13px;
}


.cart-item-price {
   margin-left: auto;
   text-align: right;
}


.cart-item-price b {
   font-size: 20px;
   display: block;
}


.cart-item-price span {
   font-size: 12px;
   color: #999;
}


.cart-modal-footer {
   padding: 20px 30px;
   background: #fcfcfc;
   border-top: 1px solid #eee;
   display: flex;
   justify-content: space-between;
   gap: 15px;
}


.btn-keep-browsing {
   background: #eee;
   color: #666;
   padding: 12px 25px;
   border-radius: 6px;
   text-decoration: none;
   font-weight: 500;
}


.btn-go-checkout {
   background: #76bc21;
   color: #fff;
   padding: 12px 25px;
   border-radius: 6px;
   text-decoration: none;
   font-weight: 600;
   flex-grow: 1;
   text-align: center;
}


.btn-go-checkout:hover {
   background: #65a31b;
}


.price-subtext {
   text-align: center;
   color: #999;
   font-size: 12px;
   margin-top: 15px;
}

