.swq-zero-price, .badge-quote {
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.swq-quote-basket .shop_table {
    margin-bottom: 20px;
}

.swq-quote-form {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 30px;
}

.swq-mini-quote {
    display: inline-block;
    position: relative;
    margin-left: 10px;
}

.swq-mini-quote a {
    text-decoration: none;
    color: inherit;
    position: relative;
    display: inline-block;
}

.swq-mini-quote .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
}

.swq-mini-quote .count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #d9534f;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
}

/* Hide Standard Add to Cart */
.single_add_to_cart_button,
button[name="add-to-cart"],
form.cart .button[type="submit"] {
    display: none !important;
}

/* Ensure our button is visible */
.single_add_to_quote_button {
    display: inline-block !important;
    margin-top: 10px;
}

/* Add to Quote button (single product page) */
#swq-add-to-quote-btn {
    background-color: #2ecc71 !important;
    color: #ffffff !important;
    border: 2px solid #27ae60 !important;
}

/* Quote Basket Layout (Desktop: Side-by-Side, Mobile: Stacked) */
.quote-basket-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .quote-basket-details {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .quote-basket-details .cart-collaterals {
    flex: 1; /* Represents 1/3 of the space relative to flex: 2 */
    width: 33.333%;
  }
  
  .quote-basket-details .swq-quote-form {
    flex: 2; /* Represents 2/3 of the space */
    width: 66.667%;
  }
}

/* Empty State */
.swq-empty-basket-message {
    text-align: center;
    padding: 50px 20px;
    background: #fcfcfc;
    border: 1px dashed #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
}

.swq-empty-basket-message .swq-empty-icon {
    margin-bottom: 20px;
}

.swq-empty-basket-message .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ccc;
}

.swq-empty-basket-message h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #555;
}

.swq-empty-basket-message p {
    color: #777;
    margin-bottom: 20px;
}

/* Notification Modal */
.swq-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.swq-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    text-align: center;
    animation: swqFadeInDown 0.3s ease-out;
}

@keyframes swqFadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.swq-modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.swq-modal-close:hover {
    color: #333;
}

.swq-success-icon {
    color: #2ecc71;
    margin-bottom: 15px;
}

.swq-success-icon .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
}

.swq-modal-title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #333;
}

.swq-modal-message {
    color: #1d1d1d;
    margin-bottom: 25px;
}

.swq-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.swq-modal-actions .button {
    flex: 1;
    padding: 4px 85px;
    text-align: center;
    font-size:12px !important;
    font-weight:900 !important;
    color: #ffffff !important;
    background-color: #003ab1 !important;
}

@media (max-width: 480px) {
    .swq-modal-actions {
        flex-direction: column;
    }
}
