/*
Theme Name:     Clipper Child Theme
Theme URI:      https://appthemes.com/
Description:    Child theme for the Clipper theme
Author:         Hitarth Pipariya
Template:       clipper
Version:        1.0.0
*/

body, h1, h2, h3, h4, h5, h6 {
	font-family: Tahoma, Geneva, sans-serif;
}

/* Sticky Navigation Menu
-------------------------------------------------------------- */
#header #top-bar-primary {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	margin: 0 auto;
	z-index: 99999;
}

.header-branding-wrap {
	padding: 0 0 !important;
	margin-top: 160px;
}

.sign-up-wrap {
	margin-top: 160px;
}


/* Navigation Menu
-------------------------------------------------------------- */
#header .menu-primary {
	display: flex;                  /* Displays items in a row */
	flex-direction: row;
	flex-wrap: nowrap;               /* Prevents wrapping of items */
	overflow-x: auto;                /* Enables horizontal scrolling when items exceed width */
	/*justify-content: flex-start;     /* Aligns items to the left */
	justify-content: center;     /* Aligns items to the center */
	-webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile devices */
    scrollbar-width: none;
}

#header .menu-primary > li {
	background: none !important;
	margin-right: 0 !important;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#header .menu-primary li a {
	padding: 10px 0px;
	display: flex;
	flex-direction: column;          /* Aligns icon and text vertically */
	align-items: center;             /* Centers icon and text */
	text-align: center;
}

/* Menu Icons */
#header .menu-primary .menu-icon {
	width: 45px;
	height: 45px;
	object-fit: contain;
	margin-bottom: 6px;
	transition: transform 0.2s ease;
}

/* Hover Effect */
#header .menu-primary li:hover {
	transform: translateY(-4px);
}

#header .menu-primary li:hover .menu-icon {
	transform: scale(1.1);
}

#header .menu-primary li:hover a {
	color: #0c7c59; 
}

/* Active Item Highlight (Optional) */
#header .menu-primary li.current-menu-item a {
	color: #0c7c59;
	border-bottom: 2px solid #0c7c59;
	padding-bottom: 2px;
}

/* Mobile Stack */
@media screen and (max-width: 800px) {
	#header .menu-primary {
		display: flex !important;
		flex-wrap: nowrap;
		justify-content: flex-start;
		scrollbar-width: none;
		flex-direction: row;
	}
	#header .menu-primary .menu-icon {
		width: 35px;
		height: 35px;
	}
}

#header .tinynav {
	display: none !important;
}

/* Header branding and search
-------------------------------------------------------------- */

.header-logo {
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10px;
}

/*.item-cover {
	padding: 1em 0 !important;
}*/

.link-holder a {
	background-color: #17A8E3;
	color: #FFFFFF;
	border: none; 
}

.head-box .link-holder a {
	padding: 8px 15px;
}

#wrapper {
	background: #FFFFFF;
}


/* Title and Description  */

.playfair-homepage-title {
	font-family: "Playfair Display", Tahoma, Geneva, sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	text-transform: capitalize;
	font-size: 2.5rem;
	line-height: 1.25;
	color: #36454F;

}

.playfair-homepage-description {
	font-family: "Playfair Display", Tahoma, Geneva, sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	line-height: 1.4;
	color: #36454F;
	padding-bottom: 15px;
}

/* !Title and Description  */


/* Content Coupon  */

.content-box .head {
	min-height: 80px;
}

.content-box .item-panel .entry-title {
	font-size: 1.6em;
}

.type-coupon .head h1 {
	font-size: 1.8em;
}

/* !Content Coupon */


/* Footer
-------------------------------------------------------------- */
.footer-legal-links {
	text-align: center;
	font-size: 14px;
	color: #DDD !important;
	margin-top: 8px;
}

.footer-legal-links div {
	display: inline-block;  
}

.footer-legal-links a::before {
	content: ' | ';  
}

.footer-legal-links a {
	color: #DDD !important;
	margin: 0 6px;
	text-decoration: none;
}
.footer-legal-links a:hover {
	color: #FFF; /* example accent color */
}

#footer .bar-holder {
	color: #FFF;
	padding: 1em 0;
}

#footer .bar-holder ul {
	display: inline-block !important;
	float: none !important;
}

.medium-centered {
	text-align: center !important;
}

/* Coupon box - Home Page
--------------------------------------------------------------*/
.content-box .item-content {
	padding: 0 0 10px 0;
}

.content-box .item-meta .taxonomy {
	font-size: inherit;
}

.content-box .item-meta .taxonomy .category {
    padding-right: 10px;
}

@media screen and (min-width: 641px) {
	.content-box .item-meta .taxonomy .category {
	    padding-right: 25px;
	}
}

.content-box .item-meta .calendar {
	float: right;
}

.content-box .coupon .item-meta i{
	padding-right: 3px;
}

/* Single Coupon Page
--------------------------------------------------------------*/
.box-holder .text-box {
	padding: 0;
	font-size: 16px;
}

.box-holder .text-box h2 {
	font-size: 16px;
	line-height: 1.6;
}

.coupon-single .link-holder {
	margin-top: 15px;

}

/* Coupon and Store images
--------------------------------------------------------------*/

.store-holder {
    /*min-height: 185px;*/
    min-width: inherit;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.store-holder {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: auto;
    position: relative;
}

.store-image {
    height: 100%;
    max-height: 400px;
}

.store-image {
	aspect-ratio: 1 / 1;
    margin: auto;
    max-width: 400px;
    position: relative;
    width: 100%;
}

.store-image img {
    padding: 0 0 !important;
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    font-family: "object-fit: contain;";
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
}

.coupon img {
	border: none;
}

img {
    display: inline-block;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

.store-image:after, .store-image:before {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}


.content-box .store-image {
	margin-bottom: 0 !important;
}

@media screen and (max-width: 640px) {
	.content-box .store-image {
		margin-bottom: 10px !important;
	}
}

@media screen and (min-width: 641px) {
	.store-holder {
    	min-height: 180px;
	}

	.store-image {
		aspect-ratio: 9 / 15;
	    max-height: 220px;
	}

	.store-image {
	    max-width: 154px;
	}
}

.archive-title {
	color: #477400;
	font-size: 2em;
}

.store-name {
	color: #17A8E3;
	/*font-size: 1.6em;*/
}

/* Women 
--------------------------------------------------------------*/

body.tax-coupon_category.term-women #top-bar-primary,
body.singular-category-women #top-bar-primary {
	background-color: #8D77AB;
}

body.tax-coupon_category.term-women #footer .bar,
body.singular-category-women #footer .bar {
	background: none;
	background-color: #8D77AB;
}

body.tax-coupon_category.term-women .entry-title,
body.tax-coupon_category.term-women .entry-title a,
body.tax-coupon_category.term-women .store-name,
body.tax-coupon_category.term-women .store-name a,
body.tax-coupon_category.term-women .item-content
{
	color: #3E2557;
}


body.singular-category-women .entry-title,
body.singular-category-women .entry-title a,
body.singular-category-women .store-info,
body.singular-category-women .store-info a,
body.singular-category-women .text-box,
body.singular-category-women .text-box h2  {
	color: #3E2557;
}


body.tax-coupon_category.term-women .menu .menu-text,
body.singular-category-women .menu .menu-text,
body.tax-coupon_category.term-women #footer .bar-holder ul li a,
body.singular-category-women #footer .bar-holder ul li a,
body.tax-coupon_category.term-women .footer-legal-links,
body.singular-category-women .footer-legal-links  {
	color: #000000;
}


body.tax-coupon_category.term-women .button,
body.singular-category-women .button {
	background-color: #3E2557;
}
