/* Modal Styles */
#lwp-store-selector-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lwp-store-selector-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 90%;
}

.lwp-store-selector-content h2 {
  margin-bottom: 20px;
}

#lwp-store-selector-modal-dropdown {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
}

#lwp-store-selector-submit {
  background: #0071a1;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

#lwp-store-selector-submit:hover {
  background: #005f87;
}

/* Header Dropdown */
#lwp-header-store-selector {
  display: inline-block;
  margin-left: 20px;
}

#lwp-store-selector-header {
  padding: 5px;
}

/* Shortcode Styles */
.lwp-shortcode-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.lwp-selector-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lwp-location-dropdown {
  flex: 1;
  min-width: 200px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.lwp-shortcode-submit {
  padding: 8px 15px;
  background-color: #0071a1;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.lwp-shortcode-submit:hover {
  background-color: #005f87;
}

@media (max-width: 480px) {
  .lwp-selector-form {
    flex-direction: column;
  }

  .lwp-location-dropdown,
  .lwp-shortcode-submit {
    width: 100%;
  }
}

.location-loop-details {
  margin: 8px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.stock-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.stock-badge.in-stock {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.stock-badge.out-of-stock {
  background-color: #ffebee;
  color: #c62828;
}

.stock-badge.on-backorder {
  background-color: #fff3e0;
  color: #ef6c00;
}

.location-price-loop {
  font-size: 14px;
}

.location-price-loop small {
  opacity: 0.7;
}

.location-specific-info {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.location-specific-info h4 {
  margin-top: 0;
  color: #333;
  font-size: 16px;
  margin-bottom: 10px;
}

.location-stock,
.location-price {
  margin-bottom: 8px;
}

.in-stock {
  color: #7cb342;
  font-weight: bold;
}

.out-of-stock {
  color: #d32f2f;
  font-weight: bold;
}

.on-backorder {
  color: #ff9800;
  font-weight: bold;
}

.location-specific-info-loop {
  font-size: 13px;
  margin: 5px 0;
}

.location-stock-loop {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  background-color: #f8f8f8;
}

.product-location-unavailable {
  margin: 15px 0;
  padding: 15px;
  background-color: #f8d7da;
  border-left: 5px solid #dc3545;
  color: #721c24;
  font-weight: bold;
}
.unavailable-notice {
  margin: 0;
  font-size: 16px;
}
.button.unavailable-product {
  background-color: #f5f5f5 !important;
  color: #888 !important;
  cursor: not-allowed;
  border: 1px solid #ddd !important;
}

.select2-container--open {
  z-index: 99999;
}
.select2-selection__rendered {
  text-align: left;
}
form#lwp-store-selector-form-modal > div,
form#lwp-store-selector-form-modal > select,
form#lwp-store-selector-form-modal > .select2 {
  margin-bottom: 1rem;
}
form#lwp-store-selector-form-modal > div * {
  width: 100% !important;
}

/* Add this to your assets/css/style.css file */

.lwp-location-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lwp-popup-content {
  background-color: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lwp-popup-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lwp-popup-header h3 {
  margin: 0;
  font-size: 18px;
}

.lwp-close-popup {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}

.lwp-popup-body {
  flex: 1;
  overflow: auto;
}

.lwp-location-step {
  height: 100%;
}

.lwp-map-container {
  position: relative;
  height: 70vh;
}

.lwp-location-map {
  height: 100%;
  width: 100%;
}

.lwp-map-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  z-index: 99999999999999999;
}

.lwp-location-details {
  padding: 20px;
  overflow-y: auto;
  height: 75vh;
  max-height: min-content;
  scrollbar-width: thin;
}

.lwp-details-header {
  margin-bottom: 20px;
}

.lwp-details-header h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
}

.lwp-address-preview {
  margin: 0;
  color: #666;
  font-size: 14px;
  display: inline-block;
}

.lwp-form-group {
  margin-bottom: 15px;
}

.lwp-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.lwp-form-group input,
.lwp-form-group select,
.lwp-form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.lwp-form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.lwp-form-actions .button {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.lwp-form-actions .button-primary {
  background-color: #0073aa;
  color: white;
  border: none;
}

.lwp-form-actions .button-primary:hover {
  background-color: #005a87;
}

.lwp-user-location-features {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.lwp-saved-locations-dropdown {
  flex: 1;
}

.lwp-saved-locations-dropdown label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.lwp-saved-locations {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Add this to your assets/css/style.css file */

/* Address content button */
.address-content {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.address-content:hover {
  background-color: #f5f5f5;
}

.address-label-icon {
  margin-right: 8px;
}

.header-order-button-content {
  font-weight: 500;
}

/* Tooltip popup */
.lwp-location-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 400px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 5px;
}

.bds-c-modal__content {
  padding: 16px;
}

.where-component-search-form {
  margin-bottom: 16px;
}

.LocationSearchForm-component {
  display: flex;
  flex-direction: column;
}

.search-form {
  display: flex;
  flex-direction: row;
}

.address-search-container {
  flex: 1;
}

.validation-wrapper {
  position: relative;
}

.search-input-container {
  position: relative;
}

.search-input-container input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-input-container label {
  position: absolute;
  top: 10px;
  left: 12px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  transition: all 0.2s;
}

.search-input-container input:focus + label,
.search-input-container input:not(:placeholder-shown) + label {
  top: -8px;
  left: 8px;
  font-size: 12px;
  background-color: #fff;
  padding: 0 4px;
}

.bds-c-btn-circular-cursor {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.bds-c-btn-circular {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.bds-c-btn-circular:hover {
  background-color: #f5f5f5;
}

.location-search-button-Mweb {
  margin-top: 12px;
}

.location-search-go-icon {
  width: 100%;
}

.saved-address-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.saved-address-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.saved-address-list-item-container {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.saved-address-list-item-container:hover {
  background-color: #f5f5f5;
}

.saved-address-list-item-container.focused {
  background-color: #f0f7ff;
  border: 1px solid #0073aa;
}

.saved-address-icon {
  margin-right: 12px;
}

.saved-address-list-item {
  flex: 1;
}

.two-lines {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-address-tooltip {
  margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .lwp-location-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 350px;
    max-height: 80vh;
    overflow-y: auto;
  }
}

.mulopimfwc-product-location-selector-wrapper {
    display: block;
    clear: both;
    padding-bottom: 14px;
}

/* Grouped Cart Styles */
.mulopimfwc-grouped-cart {
    margin-bottom: 2rem;
}

.mulopimfwc-location-group {
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mulopimfwc-location-group:last-child {
    margin-bottom: 0;
}

.mulopimfwc-location-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mulopimfwc-location-icon {
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mulopimfwc-location-icon svg {
    width: 100%;
    height: 100%;
}

.mulopimfwc-location-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.mulopimfwc-location-items {
    padding: 0;
}

.mulopimfwc-location-items .shop_table {
    margin: 0;
    border: none;
    border-radius: 0;
}

.mulopimfwc-location-items .shop_table thead th {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #555;
    padding: 12px 15px;
}

.mulopimfwc-location-items .shop_table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.mulopimfwc-location-items .shop_table tbody tr:last-child {
    border-bottom: none;
}

.mulopimfwc-location-items .shop_table tbody td {
    padding: 15px;
    vertical-align: middle;
}

.mulopimfwc-location-items .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.mulopimfwc-location-items .product-name {
    font-weight: 500;
}

.mulopimfwc-location-items .product-name a {
    color: #333;
    text-decoration: none;
}

.mulopimfwc-location-items .product-name a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.mulopimfwc-location-items .product-price {
    font-weight: 600;
    color: #333;
}

.mulopimfwc-location-items .product-subtotal {
    font-weight: 600;
    color: #333;
}

.mulopimfwc-location-items .product-remove a {
    color: #dc3545;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.2s;
}

.mulopimfwc-location-items .product-remove a:hover {
    background: #dc3545;
    color: #fff;
}

/* Responsive adjustments for grouped cart */
@media (max-width: 768px) {
    .mulopimfwc-location-header {
        padding: 12px 15px;
    }
    
    .mulopimfwc-location-name {
        font-size: 16px;
    }
    
    .mulopimfwc-location-items .shop_table thead {
        display: none;
    }
    
    .mulopimfwc-location-items .shop_table tbody tr {
        display: block;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
        background: #fff;
    }
    
    .mulopimfwc-location-items .shop_table tbody td {
        display: block;
        padding: 5px 0;
        border: none;
        text-align: left;
    }
    
    .mulopimfwc-location-items .shop_table tbody .product-thumbnail {
        float: left;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .mulopimfwc-location-items .shop_table tbody .product-name {
        clear: right;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .mulopimfwc-location-items .shop_table tbody .product-price,
    .mulopimfwc-location-items .shop_table tbody .product-quantity,
    .mulopimfwc-location-items .shop_table tbody .product-subtotal {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .mulopimfwc-location-items .shop_table tbody .product-remove {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

/* Cart location notice styling */
.mulopimfwc-cart-location-notice {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    color: #0066cc;
}

.mulopimfwc-cart-location-notice strong {
    color: #004499;
}

/* Cart actions styling for grouped cart */
.mulopimfwc-grouped-cart .actions {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: right;
}

.mulopimfwc-grouped-cart .actions .button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.mulopimfwc-grouped-cart .actions .button:hover {
    background: #005a87;
}

@media (max-width: 768px) {
    .mulopimfwc-grouped-cart .actions {
        text-align: center;
    }
    
    .mulopimfwc-grouped-cart .actions .button {
        width: 100%;
        max-width: 200px;
    }
}

/* Grouped Checkout Cart Styles */
.mulopimfwc-grouped-checkout-cart {
    margin-bottom: 2rem;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-group {
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-group:last-child {
    margin-bottom: 0;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-icon {
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-icon svg {
    width: 100%;
    height: 100%;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-items {
    padding: 0;
}

.mulopimfwc-grouped-checkout-cart .shop_table {
    margin: 0;
    border: none;
    border-radius: 0;
}

.mulopimfwc-grouped-checkout-cart .shop_table thead th {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #555;
    padding: 10px 15px;
    font-size: 14px;
}

.mulopimfwc-grouped-checkout-cart .shop_table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.mulopimfwc-grouped-checkout-cart .shop_table tbody tr:last-child {
    border-bottom: none;
}

.mulopimfwc-grouped-checkout-cart .shop_table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
}

.mulopimfwc-grouped-checkout-cart .product-name {
    font-weight: 500;
}

.mulopimfwc-grouped-checkout-cart .product-name a {
    color: #333;
    text-decoration: none;
}

.mulopimfwc-grouped-checkout-cart .product-name a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.mulopimfwc-grouped-checkout-cart .product-total {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.mulopimfwc-grouped-checkout-cart .product-quantity {
    color: #666;
    font-size: 13px;
}

/* Responsive adjustments for grouped checkout cart */
@media (max-width: 768px) {
    .mulopimfwc-grouped-checkout-cart .mulopimfwc-location-header {
        padding: 10px 12px;
    }
    
    .mulopimfwc-grouped-checkout-cart .mulopimfwc-location-name {
        font-size: 14px;
    }
    
    .mulopimfwc-grouped-checkout-cart .shop_table thead {
        display: none;
    }
    
    .mulopimfwc-grouped-checkout-cart .shop_table tbody tr {
        display: block;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        margin-bottom: 10px;
        padding: 12px;
        background: #fff;
    }
    
    .mulopimfwc-grouped-checkout-cart .shop_table tbody td {
        display: block;
        padding: 5px 0;
        border: none;
        text-align: left;
    }
    
    .mulopimfwc-grouped-checkout-cart .product-total {
        text-align: left;
        font-weight: 600;
        margin-top: 8px;
    }
}

/* Grouped Mini Cart Styles */
.mulopimfwc-grouped-mini-cart {
    margin-bottom: 1rem;
}

.mulopimfwc-mini-location-group {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.mulopimfwc-mini-location-group:last-child {
    margin-bottom: 0;
}

.mulopimfwc-mini-location-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mulopimfwc-mini-location-icon {
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.mulopimfwc-mini-location-icon svg {
    width: 100%;
    height: 100%;
}

.mulopimfwc-mini-location-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.mulopimfwc-mini-location-items {
    padding: 0;
}

.mulopimfwc-mini-location-items .mini_cart_item {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.mulopimfwc-mini-location-items .mini_cart_item:last-child {
    border-bottom: none;
}

.mulopimfwc-mini-location-items .mini_cart_item .remove {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #dc3545;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.2s;
}

.mulopimfwc-mini-location-items .mini_cart_item .remove:hover {
    background: #dc3545;
    color: #fff;
}

.mulopimfwc-mini-location-items .mini_cart_item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    float: left;
}

.mulopimfwc-mini-location-items .mini_cart_item_details {
    margin-left: 50px;
    padding-right: 30px;
}

.mulopimfwc-mini-location-items .mini_cart_item_details a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.mulopimfwc-mini-location-items .mini_cart_item_details a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.mulopimfwc-mini-location-items .mini_cart_item_quantity {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.mulopimfwc-mini-location-items .mini_cart_item_quantity .quantity {
    font-weight: 600;
}

/* Responsive adjustments for grouped mini cart */
@media (max-width: 768px) {
    .mulopimfwc-mini-location-header {
        padding: 6px 10px;
    }
    
    .mulopimfwc-mini-location-name {
        font-size: 12px;
    }
    
    .mulopimfwc-mini-location-items .mini_cart_item {
        padding: 8px 10px;
    }
    
    .mulopimfwc-mini-location-items .mini_cart_item img {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .mulopimfwc-mini-location-items .mini_cart_item_details {
        margin-left: 43px;
        padding-right: 25px;
    }
}

/* Grouped Cart Block Styles */
.mulopimfwc-grouped-cart-block {
    margin-bottom: 2rem;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-group {
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-group:last-child {
    margin-bottom: 0;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-header, .mulopimfwc-group-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mulopimfwc-group-header {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: .75rem 0 .25rem;
	padding: .375rem .5rem;
	font-weight: 600;
	border-radius: .5rem;
}

.mulopimfwc-location-icon {
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-icon svg {
    width: 100%;
    height: 100%;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-items {
    padding: 0;
}

.mulopimfwc-grouped-cart-block .woocommerce-cart-form__cart-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.mulopimfwc-grouped-cart-block .woocommerce-cart-form__cart-item:last-child {
    border-bottom: none;
}

.mulopimfwc-grouped-cart-block .product-remove {
    flex-shrink: 0;
}

.mulopimfwc-grouped-cart-block .product-remove a {
    color: #dc3545;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.2s;
}

.mulopimfwc-grouped-cart-block .product-remove a:hover {
    background: #dc3545;
    color: #fff;
}

.mulopimfwc-grouped-cart-block .product-thumbnail {
    flex-shrink: 0;
}

.mulopimfwc-grouped-cart-block .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.mulopimfwc-grouped-cart-block .product-name {
    flex: 1;
    font-weight: 500;
}

.mulopimfwc-grouped-cart-block .product-name a {
    color: #333;
    text-decoration: none;
}

.mulopimfwc-grouped-cart-block .product-name a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.mulopimfwc-grouped-cart-block .product-price {
    flex-shrink: 0;
    font-weight: 600;
    color: #333;
    min-width: 80px;
    text-align: right;
}

.mulopimfwc-grouped-cart-block .product-quantity {
    flex-shrink: 0;
    min-width: 100px;
}

.mulopimfwc-grouped-cart-block .product-subtotal {
    flex-shrink: 0;
    font-weight: 600;
    color: #333;
    min-width: 100px;
    text-align: right;
}

/* Widget Location Styles */
.mulopimfwc-widget-location {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 5px 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mulopimfwc-widget-location-icon {
    font-size: 14px;
}

/* Responsive adjustments for cart block */
@media (max-width: 768px) {
    .mulopimfwc-grouped-cart-block .mulopimfwc-location-header {
        padding: 12px 15px;
    }
    
    .mulopimfwc-grouped-cart-block .mulopimfwc-location-name {
        font-size: 16px;
    }
    
    .mulopimfwc-grouped-cart-block .woocommerce-cart-form__cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .mulopimfwc-grouped-cart-block .product-thumbnail {
        align-self: flex-start;
    }
    
    .mulopimfwc-grouped-cart-block .product-thumbnail img {
        width: 50px;
        height: 50px;
    }
    
    .mulopimfwc-grouped-cart-block .product-name {
        width: 100%;
    }
    
    .mulopimfwc-grouped-cart-block .product-price,
    .mulopimfwc-grouped-cart-block .product-quantity,
    .mulopimfwc-grouped-cart-block .product-subtotal {
        width: 100%;
        text-align: left;
        min-width: auto;
    }
    
    .mulopimfwc-grouped-cart-block .product-remove {
        position: absolute;
        top: 12px;
        right: 15px;
    }
}



/* Location Business Hours Restriction Styles */

/* Closed location notice on single product */
.mulopimfwc-closed-location-notice {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.mulopimfwc-closed-location-notice strong {
    font-weight: 600;
}

/* Disabled add to cart button when location closed */
.single-product .product .cart .button.disabled,
.single-product .product .cart .button:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.65;
}

/* Shop page closed notice */
.woocommerce-info.mulopimfwc-shop-closed {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

/* Disable add to cart buttons in loops when closed */
.woocommerce ul.products li.product .button.disabled,
.woocommerce ul.products li.product .button:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.65;
    pointer-events: none;
}

/* Add visual indicator for closed products */
.mulopimfwc-location-closed .product {
    position: relative;
    opacity: 0.7;
}

.mulopimfwc-location-closed .product::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

/* Closed badge overlay */
.mulopimfwc-closed-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mulopimfwc-closed-location-notice {
        padding: 12px;
        font-size: 13px;
    }
    
    .mulopimfwc-closed-badge {
        top: 5px;
        right: 5px;
        padding: 4px 8px;
        font-size: 11px;
    }
}



/* transfer cost style */

.mulopimfwc-transfer-cost-notice {
    background: #e0f2fe;
    border-left: 4px solid #3b82f6;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.mulopimfwc-transfer-cost-notice svg {
    color: #3b82f6;
}

.mulopimfwc-order-transfer-costs table {
    margin-top: 10px;
    width: 100%;
}

.mulopimfwc-order-transfer-costs th,
.mulopimfwc-order-transfer-costs td {
    padding: 10px;
    text-align: left;
}

.mulopimfwc-order-transfer-costs thead {
    background: #f1f5f9;
}

.mulopimfwc-order-transfer-costs tbody tr:hover {
    background: #f8fafc;
}

.mulopimfwc-location-info-wrapper a {
    text-decoration: none !important;
}








/* Lightbox Container */
.mulopimfwc-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mulopimfwc-lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* Overlay */
.mulopimfwc-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Content Container */
.mulopimfwc-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* Close Button */
.mulopimfwc-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mulopimfwc-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mulopimfwc-lightbox-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* Navigation Buttons */
.mulopimfwc-lightbox-prev,
.mulopimfwc-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
}

.mulopimfwc-lightbox-prev {
  left: 20px;
}

.mulopimfwc-lightbox-next {
  right: 20px;
}

.mulopimfwc-lightbox-prev:hover,
.mulopimfwc-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.mulopimfwc-lightbox-prev:active,
.mulopimfwc-lightbox-next:active {
  transform: translateY(-50%) scale(1.05);
}

.mulopimfwc-lightbox-prev svg,
.mulopimfwc-lightbox-next svg {
  width: 24px;
  height: 24px;
  opacity: 0.9;
  transform: translate(-50%, -10%);
}

/* Image Wrapper */
.mulopimfwc-lightbox-image-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image */
.mulopimfwc-lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

/* Loader */
.mulopimfwc-lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
}

.mulopimfwc-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Counter */
.mulopimfwc-lightbox-counter {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 25px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mulopimfwc-lightbox-current {
  font-weight: 700;
  font-size: 16px;
}

.mulopimfwc-lightbox-total {
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mulopimfwc-lightbox-content {
    width: 95%;
    height: 95vh;
  }

  .mulopimfwc-lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .mulopimfwc-lightbox-prev,
  .mulopimfwc-lightbox-next {
    width: 44px;
    height: 44px;
  }

  .mulopimfwc-lightbox-prev {
    left: 10px;
  }

  .mulopimfwc-lightbox-next {
    right: 10px;
  }

  .mulopimfwc-lightbox-counter {
    bottom: 20px;
    font-size: 13px;
    padding: 8px 16px;
  }

  .mulopimfwc-lightbox-current {
    font-size: 15px;
  }

  .mulopimfwc-lightbox-image {
    max-height: 80vh;
  }
}

@media (max-width: 480px) {
  .mulopimfwc-lightbox-prev,
  .mulopimfwc-lightbox-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
  }

  .mulopimfwc-lightbox-prev svg,
  .mulopimfwc-lightbox-next svg {
    width: 20px;
    height: 20px;
  }
}

/* Accessibility */
.mulopimfwc-lightbox-close:focus,
.mulopimfwc-lightbox-prev:focus,
.mulopimfwc-lightbox-next:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Animation for image transition */
.mulopimfwc-lightbox-image.fade-out {
  opacity: 0;
}

.mulopimfwc-lightbox-image.fade-in {
  opacity: 1;
}