.minicart {
    position: absolute;
    right: -25px;
    top: calc(100% + 40px);
    z-index: 999;
    width: 300px;
    max-height: 400px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    padding: 15px;
}
.minicart.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.minicart-body {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 10px;
}
.minicart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}
.header-nav ul li {
    position: relative;
}
#cart-icon-count.cart-count-badge {
    position: absolute;
    top: -5px;
    /* right: -10px; */
    background-color: #ff4c3b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
    display: inline-block;
    border: 2px solid #ffffff;
}
.cart-count-badge[data-count="0"] {
    display: none !important;
}
.minicart-items li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    list-style: none;
    margin: 0;
}
.minicart-items .product-thumb {
    flex-shrink: 0;
    float: left;
    width: 21.33%;
    margin-right: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}
.minicart-items .product-thumb a {
    padding: 0;
}
.minicart-items .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* .minicart-items .product-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin: 0;
    min-width: 0;
} */
.minicart-items{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.minicart-items .product-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}
.minicart-items .product-price {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.minicart-items .product-thumb a {
    display: block;
    line-height: 0;
}

.minicart-items .remove {
    margin-left: auto;
    padding-left: 10px;
    align-self: center;
}
.minicart-items .remove-item-btn {
    cursor: pointer;
    color: #ff4c3b;
    font-size: 16px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.minicart-items .remove-item-btn:hover {
    opacity: 1;
    color: #cc0000;
}
.minicart-items .product-info {
    display: flex;
    flex-direction: column;
    flex-shrink: 1;
    min-width: 0;
}
.minicart-items .remove {
    padding-left: 10px;
    align-self: center;
}
.header-area .header-bottom li {
    position: relative;
}
.minicart-toggle {
    position: relative;
    display: inline-block;
}
.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #ff0000;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    padding: 4px 0 0 0;
    text-align: center;
    white-space: nowrap;
}
/* Custom CSS to prevent select/form element overflow on mobile devices */
@media (max-width: 767px) {

    /* Target the select element specifically */
    #country {
        width: 100% !important;
        box-sizing: border-box;
        /* Ensures padding and border are inside the total width */
    }

    /* General rule for all select/input elements in the form */
    .form-control,
    .form-select {
        max-width: 100% !important;
        box-sizing: border-box;
    }
.minicart-toggle {
    margin-top: 7px;
}
}


.table-container {
    overflow-x: auto; 
    margin: 20px 0;
}

.custom-table {
    width: 100%;
    border-collapse: collapse; 
    border: 1px solid #ddd;
}
.custom-table th {
    background-color: #1A7BAA; 
    color: white;
    text-align: left;
    padding: 15px;
    font-size: 18px;
border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.custom-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
    line-height: 1.5;
    vertical-align: top;
	border-right: 1px solid #ddd;
}
.highlight-row {
    background-color: #f0f7ff; 
}
.custom-table th:last-child,
.custom-table td:last-child {
    border-right: none;
}

