/* loading icon style */
.nav-tabs .nav-link {
	background: red;
	margin-right: 11px;
	color: #fff;
}
.fixed-footer-icons {
	display: none;
}
.nav-tabs .nav-link:hover {
	background: #fff;
	color: #000;
}
.spinner-border{
	--bs-text-opacity: 1;
	color: red!important;
}
#ragerTab {
	border-bottom: 0px;
}
.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
	background-color: red!important;
}
.btn.btn-sm.btn-outline-primary.me-1.page-btn {
	color: #fff;
	border: 1px solid #fff;
	padding: 4px 15px;
	font-size: 22px;
}
.ajax-pagination.mt-3 {
	display: flex;
	justify-content: center;
}
.card.h-100 > a > img {
    height: 137px;
    object-fit: cover;
}
p.woocommerce-mini-cart__buttons.buttons {
    display: none;
}
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
h2.product-title > a {
    color: #E3E810;
}
.custom-shop-categories button {
    color: #000;
}
.custom-pagination button {
    color: #000;
}
.custom-product-grid {
    position: relative;
    min-height: 300px;
}
.button-pixas {
    float: right;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #F2FF00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 100px auto; /* center on page */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*---btns-filter-css---*/
.woocommerce-products-header__title.page-title,
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-pagination {
    display: none;
}
.two-column-layout .custom-search-form {
    flex: 1 1 48%;
    margin-top: 17px;
}
.btns-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Left Column containing buttons */
.left-column {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-shop-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.custom-shop-categories button {
    background: #f1f1f1;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

/* Active button */
.custom-shop-categories button.active {
    background: #ff4e88;
    color: #fff;
}

/* Right Column containing the Filter button */
.right-column {
    display: flex;
    justify-content: flex-end;
}

/* Mobile Filter Toggle Button */
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    background: white;
    margin-top:-20px;
}
.filter-toggle i {
    margin-right: 5px;
}

/* Sidebar style */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
li {
    list-style: none;
}
.mobile-sidebar-categories > li {
    padding-left: 0px;
    margin-left: -37px;
    margin-bottom: 10px;
}
.sidebar-categories li {
    cursor: pointer;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.sidebar-categories li i {
    font-size: 16px;
}
.pink-icon {
    color: #ff4e88;
}
.default-icon {
    color: #000;
}

/* Shop layout and animations */
.custom-shop-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 60px;
}
.custom-shop-categories button.active {
    background: #ff4e3d;
    color: #fff;
}
.custom-shop-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.custom-product-item > h2 {
    font-size: 17px;
    font-weight: 600;
}
.custom-shop-sidebar {
    width: 25%;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 0px;
}
.custom-shop-products {
    width: 75%;
}

/* Product card */
.custom-product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #E3E810;
    padding: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 10px;
}

.product-title {
    font-size: 18px;
    margin: 10px 0 5px;
    font-weight: 600;
    line-height: 1.5em;
}

a.button {
	padding: 12.1px;
	font-size: 14px;
	width: 50%;
	text-align: center;
	background: #E3E810;
	color: #000;
	font-weight: 600;
}

.product-excerpt {
    font-size: 14px;
    color: #777;
    flex-grow: 1;
    margin-bottom: 10px;
    line-height: 1.5em;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-weight: bold;
    color: red;
}

.woocommerce .button {
    padding: 6px 12px;
    font-size: 14px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 4px;
}

/* ✅ Product grid wrapper */
.rager-products,
.custom-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

ul.products li.product {
    float: none;
    width: auto;
}
ul.products li.product:empty {
    display: none !important;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 6px;
}
.custom-pagination button {
    padding: 5px 14px;
    border: none;
    background: #f3f3f3;
    border-radius: 0px;
    cursor: pointer;
}
.custom-pagination button.active {
    background: #ff4e3d;
    color: #fff;
}
.custom-shop-categories button {
    background: #f1f1f1;
    border: none;
    padding: 12px 25px;
    border-radius: 0px;
    cursor: pointer;
}
.custom-shop-categories button:hover {
    background: #ff4e3d;
    color: #fff;
}
.two-column-layout .title {
    color: #E3E810;
}

/* Background for products with images */
a.image-box {
    background-image: url('https://storyzone.co.in/wp-content/uploads/2024/12/texture-art2.jpg');
    background-size: contain;
    height: 120px;
    width: 100%;
    display: block;
}

/*----Search form style------------*/
[type="button"], [type="submit"], button {
    border-radius: 0px!important;
}
.two-column-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.two-column-layout .title {
    flex: 1 1 50%;
}
.two-column-layout .custom-search-form {
    flex: 1 1 48%;
}
.search-input-wrapper {
    position: relative;
    width: 100%;
}
.search-input-wrapper input[type="search"] {
    width: 100%;
    padding: 10px 47px 10px 47px;
    border: 1px solid #000;
    border-radius: 0px;
    font-size: 15px;
    outline: none;
}
.search-icon {
    position: absolute;
    left: 91%;
    top: 55%;
    transform: translateY(-59%);
    border: none;
    background: transparent;
    cursor: pointer;
    color: #888;
    font-size: 18px;
    padding: 0;
    height: 44px;
}

/*----Mobile CSS filter button and items columns------------*/
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    background: white;
}

/* Overlay panel */
.mobile-filter-overlay {
    position: fixed;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: top 0.4s ease;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.mobile-filter-overlay.active {
    top: 0;
}
.mobile-filter-overlay:not(.active) {
    box-shadow: none;
    padding: 0;
}
.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.filter-close {
    background: none;
    border: none;
    font-size: 20px;
}
.apply-filter {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #9333ea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
}

/* Responsive grid */
@media (max-width: 480px) {
    .custom-shop-categories button:not(:first-child) {
        display: none;
    }
    .custom-shop-wrapper {
        margin-bottom: 30px;
    }
	.rager-products,
    .custom-product-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
    .custom-shop-products {
        width: 100%;
    }
	a.button {
	padding: 12.1px;
	font-size: 12px;
	width: 60%;
	text-align: center;
	background: #E3E810;
	color: #000;
	font-weight: 600;
}
}

@media (min-width: 481px) and (max-width: 767px) {
    .rager-products,
    .custom-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .custom-shop-products {
        width: 100%;
    }
}

@media (min-width: 991px) {
    .rager-products,
    .custom-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .custom-shop-products {
        width: 100%;
    }
}
