/*!
Theme Name: Slashdeals
Theme URI: https://them.es/starter
Author: Chandan Dandapat
Author URI: https://them.es/
Description: 
Version: 3.6.1
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: slashdeals
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}


/* Custom Navbar css */
.navbar-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.navbar-brand img {
	height: 35px !important;
	width: auto;
	/* margin-right: 8px; */
}

.navbar-brand .site-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #fff;
	line-height: 1;
	margin-top: 4px;
	/* margin-left: 10px; */
}

/* Default dark navbar link style */
.navbar-dark .navbar-nav .nav-link {
	color: #ddd !important;
	font-weight: 500;
	padding: 5px 18px;
	/* top/bottom + left/right padding */
	border-radius: 8px;
	transition: all 0.3s ease;
	margin: 0 6px;
	/* ← GAP between items on DESKTOP */
}

/* GAP on mobile collapsed menu */
@media (max-width: 991px) {

	/* Bootstrap breakpoint for collapse */
	.navbar-dark .navbar-nav .nav-link {
		margin: 6px 0;
		/* ← GAP top & bottom on MOBILE */
	}
}

/* Hover effect */
.navbar-dark .navbar-nav .nav-link:hover {
	color: #fff !important;
	background-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 4px 10px rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
}

/* Active / focused */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:focus {
	color: #fff !important;
	background-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.18);
}

/* Pressed state */
.navbar-dark .navbar-nav .nav-link:active {
	transform: translateY(0);
	box-shadow: none;
}

/* Mobile Categories Dropdown Scrollable */
@media (max-width: 767.98px) {
	#categoriesDropdown+.dropdown-menu {
		max-height: 300px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	#categoriesDropdown+.dropdown-menu::-webkit-scrollbar {
		width: 6px;
	}

	#categoriesDropdown+.dropdown-menu::-webkit-scrollbar-track {
		background: #f1f1f1;
		border-radius: 3px;
	}

	#categoriesDropdown+.dropdown-menu::-webkit-scrollbar-thumb {
		background: #888;
		border-radius: 3px;
	}

	#categoriesDropdown+.dropdown-menu::-webkit-scrollbar-thumb:hover {
		background: #555;
	}
}

/* Modern Collapsible Search */
.modern-search-wrapper {
	position: relative;
}

.search-icon-btn {
	background: none;
	border: none;
	padding: 8px;
	border-radius: 50%;
	color: var(--bs-navbar-color);
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-icon-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--bs-navbar-hover-color);
	transform: scale(1.1);
}

/* Mobile alignment for search icon */
@media (max-width: 991.98px) {
	.search-icon-btn {
		margin-left: 10px;
	}
}

.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(10px);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
}

.search-overlay.active {
	opacity: 1;
	visibility: visible;
}

.search-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	width: 90%;
	max-width: 600px;
	transition: all 0.4s ease;
	text-align: center;
}

.search-overlay.active .search-container {
	transform: translate(-50%, -50%) scale(1);
}

.search-close {
	position: absolute;
	top: -60px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 10px;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.search-close:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: rotate(90deg);
}

.search-input-container {
	position: relative;
	margin-bottom: 30px;
}

.search-input-field {
	width: 100%;
	font-size: 24px;
	padding: 20px 70px 20px 20px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	color: #fff;
	outline: none;
	transition: all 0.3s ease;
}

.search-input-field::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.search-input-field:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.search-submit {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	background: #007bff;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-submit:hover {
	background: #0056b3;
	transform: translateY(-50%) scale(1.1);
}

.search-suggestions {
	margin-top: 20px;
}

.search-hint {
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	font-size: 16px;
	animation: fadeInUp 0.6s ease 0.2s both;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
	.search-input-field {
		font-size: 18px;
		padding: 15px 60px 15px 15px;
	}

	.search-submit {
		width: 40px;
		height: 40px;
	}

	.search-container {
		width: 95%;
	}
}


.footer-disclaimer,
.footer-copyright {
	font-size: 10px;
	font-style: italic;
	color: rgb(255, 255, 255);
}

footer {
	padding-top: 40px;
}

/* Footer Menu Styling - Similar to Header */
.footer-nav-menu {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-nav-menu .nav-item {
	margin: 0 !important;
}

.footer-nav-menu .nav-link {
	color: #ffffff !important;
	font-weight: 500;
	padding: 8px 12px 8px 0 !important;
	border-radius: 6px;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	position: relative;
}

.footer-nav-menu .nav-link:hover {
	color: #fff !important;
	background-color: rgba(255, 255, 255, 0.08);
	padding-left: 12px !important;
	padding-right: 12px !important;
	transform: translateX(4px);
}

.footer-nav-menu .nav-link:active,
.footer-nav-menu .nav-link:focus {
	color: #fff !important;
	background-color: rgba(255, 255, 255, 0.12);
}

/* Footer Menu Title */
.footer-nav-menu .nav-item h5 {
	color: #fff;
	margin-bottom: 15px;
	font-size: 1.1rem;
	font-weight: 600;
}



/* Container spacing */
.nav-pills {
	gap: 10px;
}

/* Default tab button styling */
.nav-pills .nav-link {
	background: #1f1f1f;
	/* Dark minimal background */
	color: #ddd;
	font-weight: 500;
	padding: 10px 20px;
	border-radius: 10px;
	border: 1px solid #333;
	transition: all 0.25s ease-in-out;
}

/* Hover effect */
.nav-pills .nav-link:hover {
	background: #292929;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

/* Active tab styling */
.nav-pills .nav-link.active {
	background: #007bff;
	/* Modern blue highlight */
	color: #fff !important;
	border-color: #0069d9;
	box-shadow: 0 8px 18px rgba(0, 123, 255, 0.35);
	/* transform: translateY(-3px); */
}

/* Focus (keyboard navigation) */
.nav-pills .nav-link:focus {
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.4);
}

/* Responsive alignment */
@media (max-width: 576px) {
	.nav-pills {
		justify-content: start;
		flex-wrap: wrap;
	}
}

/* CTA home page */
.cta-section br {
	display: none !important;

}
.cta-section .container {
	background: linear-gradient(135deg, #f3f8ff, #e9f1ff);
	border-radius: 12px;
	padding: 40px 30px;
}

.cta-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 10px;
}

.cta-text {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* CTA Button */
.cta-btn {
	display: inline-block;
	background: #007bff;
	color: #fff;
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.25s ease-in-out;
}

.cta-btn .arrow {
	font-size: 18px;
	transition: transform 0.25s ease;
}

/* Hover Effects */
.cta-btn:hover {
	background: #0056d2;
	color: #fff;
	box-shadow: 0 8px 18px rgba(0, 123, 255, 0.25);
}

.cta-btn:hover .arrow {
	transform: translateX(4px);
}

/* Mobile fix */
@media (max-width: 575px) {
	.cta-text {
		margin-bottom: 10px;
	}

	.col-2 {
		text-align: left !important;
		margin-top: 10px;
	}
}

/* Social Buttons on Home page */
.social-btn {
    display: inline-block;
    margin: 0 0px;
    transition: all 0.25s ease-in-out;
}

.social-btn:hover {
    transform: translateY(-6px);
}

.icon-img {
    width: 120px;   /* You can set 100–160px depending on what looks good */
    border-radius: 12px;
    transition: all 0.25s ease-in-out;
}

.social-buttons-section br {
	display: none !important;	
}

.social-buttons-section p {
	margin-bottom: 5px !important;
}