    /* Main loader container */
#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
}

/* Spinner (existing) */
.table-loader .spinner {
    display: none; /* Hidden by default, replaced with gold bar loader */
}

/* Gold Bar Loader */
.gold-bar-loader {
    width: 200px;
    height: 40px;
    background: linear-gradient(135deg, #b8860b, #ffd700, #ffec8b, #b8860b);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Gold Bar shimmer animation */
.gold-bar-loader::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 10%, rgba(255, 255, 255, 0) 80%);
    top: -50%;
    left: -50%;
    animation: sparkle 2s infinite linear;
}

/* Sparkle effect animation */
@keyframes sparkle {
    0% { transform: rotate(0deg) scale(1); opacity: 0.6; }
    50% { transform: rotate(45deg) scale(1.2); opacity: 0.9; }
    100% { transform: rotate(90deg) scale(1); opacity: 0.6; }
}

/* Sparkling particles inside the loader */
.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sparkles span {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle-move 1.5s infinite ease-in-out;
}

/* Sparkling effect motion */
@keyframes sparkle-move {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* Individual sparkles animation */
.sparkles span:nth-child(1) { top: 5px; left: 10px; animation-delay: 0.2s; }
.sparkles span:nth-child(2) { top: 15px; left: 50px; animation-delay: 0.5s; }
.sparkles span:nth-child(3) { top: 25px; left: 90px; animation-delay: 0.8s; }
.sparkles span:nth-child(4) { top: 10px; left: 120px; animation-delay: 1s; }
.sparkles span:nth-child(5) { top: 30px; left: 140px; animation-delay: 1.3s; }

/* Text Styling */
.loading-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #012c6d;
    text-shadow: 0 0 10px #FFD700;
    letter-spacing: 2px;
    text-align: center;
}


.wc-price-list {
    font-family: 'Roboto';
    margin: 20px 0;
    background: #ffffff;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
    padding: 20px;
}

/* Top Bar with Tabs & Print Button */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.entry-title {
   margin-top: 1em; 
}

.tabs {
    display: flex;
    gap: 5px;
    float: left;
}
      #downloadPDF {
      	border-color:#012c6d !important;
        color:#012c6d !important;
      }   
      #printPrices {
      	border-color:#012c6d !important;
        color:#012c6d !important;
      }   
#downloadPDF:hover,
#printPrices:hover,  
.tab:hover {
	background:#133074c7;  
  color:#fff !important;
}
      
.tab {
    padding: 10px;
    background: #133074;
    border: none;
	font-size:14px !important;
    color: #fff;
    cursor: pointer;
}
.tab:hover{
	opacity:0.6;
}

.table-container h3 {
    font-size: 1.2rem !important;
    font-weight: bold !important;
}

.tab.active {
    background: rgb(234 179 8 / var(--tw-bg-opacity, 1));
    color: black;
    font-weight: bold;
}

/* Print Button */
#printPrices {
    border-left: none !important;
    border: thin solid #d8ae39;
    float: right;
    padding: 9px 15px;
    background: #d8ae39;
    color: #000000 !important;
    cursor: pointer;
}

button#downloadPDF {
    padding: 9px 15px;
    background: #133074;
    color: #fff !important;
}
#timer {
    font-size: 40px;
}
#printPrices:hover {
    background: #133074c7;
}

/* Search Bar & Timer */
.search-timer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#search-box {
    padding: 8px;
    border: 1px solid #ccc;
    width: 70%;
}
		
#countdown-timer {
    font-size: 14px;
    background: rgb(229 231 235 / var(--tw-bg-opacity, 1));
    padding: 5px 10px;
    font-family: 'Roboto';
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: #000000;
    width: 300px;
}
		
/* Table Styling */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.price-table th, 
.price-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.product-thumbnail {
    width: 50px;
    height: auto;
    border-radius: 5px;
}

th {
    cursor: pointer;
    position: relative;
}

th:hover {
    background: #ddd;
}
/* Table Loader */
.table-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Adjust height as needed */
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* Spinner Animation */
.spinner {
    border: 6px solid #f3f3f3;
    border-top:6px solid #012c6d;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Loader Animation Keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide Loader by Default */
#loader {
    position: relative;
}

@media only screen and (max-width : 915px) {
	.tabs { 
		display: grid !important;
  		grid-template-columns: repeat(3, 1fr) !important;
    }
	
	#printPrices {
		margin-left: 10px;
  		margin-top: -46px;
	}
}
@media only screen and (max-width : 768px) {
    .top-bar {
        display: flex;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
	
	button#downloadPDF {
		margin-top: 15px;
	}
	
    #printPrices {
        margin-top: 1em;
    }

	.tabs { 
		display: grid !important;
  		grid-template-columns: repeat(4, 1fr) !important;
    }

    .search-timer-container {
        justify-content: space-between;
        margin-bottom: 15px;
        flex-direction: column;
    }

    #search-box {
        padding: 8px;
        border: 1px solid #ccc;
        width: 100%;
        margin-bottom: 1em;
        align-items: center;
    }

    #countdown-timer {
        margin-bottom: 1em;;
    }

    .entry-title {
        margin-top:1em;
    }

}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
    .top-bar {
        margin-bottom: 15px;
        align-items: flex-start;
    }
	
    .tabs { 
		display: grid !important;
  		grid-template-columns: repeat(2, 1fr) !important;
  		gap: 5px !important; 
    }
	
	button#downloadPDF {
        margin-top: 10px !important;
        padding: 9px 15px !important;
        font-size: 13px;

	}
	
	button#printPrices {
        margin-top: 10px !important;
        padding: 9px 15px !important;
        font-size: 13px;
        margin-left: 10px;
	}

    #printPrices {
        margin-top: 0em;
        text-wrap: auto;
        font-size: 9px;
        margin-top: 1em;
    }

    .price-table {
        overflow: scroll;
        display: block;
    }

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
    #printPrices {
        margin-top: 0em;
        width: 125px;
        text-wrap: auto;
    }
 	
	.tab {
		font-size:12px !important;
	}
	
	.tabs { 
  		grid-template-columns: repeat(2, 1fr) !important;
    }

    #countdown-timer {
        width: 260px;
    }
}