@charset 'utf-8';
/*
  Theme Name: Honor Child
  Theme URI: http://honor.ancorathemes.com/
  Description: Honor - Multipurpose and Multiskin Responsive Wordpress theme
  Author: AncoraThemes
  Author URI: http://ancorathemes.com/
  Template: honor
  Version: 2.0
  Tags: light, responsive-layout, flexible-header, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
  Text Domain:  honor
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* My Account Menu Item - Logged In Indicator */
.menu-item-18090 a {
    position: relative !important;
    padding-left: 30px !important;
    padding-right: 20px !important;
}

/* User icon on the LEFT side - Hidden by default when logged out */
.menu-item-18090 a::before {
    content: '👤' !important;
    position: absolute !important;
    left: 8px !important;
    top: 32% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Show icon on hover when logged out */
.menu-item-18090 a:hover::before {
    opacity: 1 !important;
    visibility: visible !important;
}

/* When logged in - Always show icon */
body.logged-in .menu-item-18090 a::before {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Green dot indicator on the RIGHT side - Only when logged in, always visible */
body.logged-in .menu-item-18090 a::after {
    content: '' !important;
    position: absolute !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 8px !important;
    height: 8px !important;
    background: #10b981 !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3) !important;
    animation: pulse-dot 2s infinite !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
    }
}

/* WooCommerce Product Categories Widget - Clean Icon Design */
.widget_product_categories {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget_product_categories .product-categories {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget_product_categories .product-categories li {
	display: flex;
	align-items: center;
	padding: 20px 25px;
	margin: 0;
	border-bottom: 1px solid #e5e5e5;
	position: relative;
	transition: background-color 0.3s ease;
}

.widget_product_categories .product-categories li:last-child {
	border-bottom: none;
}

.widget_product_categories .product-categories li:hover {
	background-color: #f8f8f8;
}

/* Category link */
.widget_product_categories .product-categories li > a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #333;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	width: 100%;
}

/* Category thumbnail/icon - LEFT SIDE */
.widget_product_categories .product-categories li .category-image-link {
	width: 60px;
	height: 60px;
	margin-right: 20px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border-radius: 0;
	order: -1; /* Place icon first */
}

.widget_product_categories .product-categories li .category-image-link img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 0;
}

/* Hide count */
.widget_product_categories .product-categories li .count {
	display: none;
}

/* Hide all subcategories in widget - they will show in modal */
.widget_product_categories .product-categories li ul.children {
	display: none !important;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
	.widget_product_categories .product-categories li {
		padding: 15px 20px;
	}
	
	.widget_product_categories .product-categories li .category-image-link {
		width: 50px;
		height: 50px;
		margin-right: 15px;
	}
	
	.widget_product_categories .product-categories li > a {
		font-size: 14px;
	}
}

@media screen and (max-width: 480px) {
	.widget_product_categories .product-categories li {
		padding: 12px 15px;
	}
	
	.widget_product_categories .product-categories li .category-image-link {
		width: 40px;
		height: 40px;
		margin-right: 12px;
	}
	
	.widget_product_categories .product-categories li > a {
		font-size: 13px;
	}
}

/* Fix list mode for 4-column product grids - match 3-column design */
.shop_mode_list .products.columns-4 li.product {
	overflow: hidden;
	margin: 0;
	float: none !important;
	width: 100% !important;
}

.shop_mode_list .products.columns-4 li.product .post_item {
	overflow: hidden;
	text-align: left;
	border: none;
}

.shop_mode_list .products.columns-4 li.product + li.product .post_item {
	margin-top: 3em;
}

.shop_mode_list .products.columns-4 li.product .post_featured {
	float: left;
	margin: 0 2em 0 0;
	width: 50%;
	max-width: 368px;
	position: relative;
	border-radius: 3px 3px 0 0;
}

.shop_mode_list .products.columns-4 li.product .post_data {
	height: auto;
	overflow: hidden;
	text-align: left;
	padding: 0;
	width: 50%;
	max-width: 368px;
	float: left;
	box-sizing: border-box;
	border-radius: 0 0 3px 0;
	margin-right: 2em;
}

.shop_mode_list .products.columns-4 li.product .description {
	margin-bottom: 1.5em;
	line-height: 1.3em;
	overflow: hidden;
	max-height: 6.6em;
}

.shop_mode_list .products.columns-4 li.product .post_content {
	margin: 0 0 1.6em;
}

/* Clean Category List Design (Icon-Based Shortcode) */
.wc-categories-clean-list {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wc-category-clean-item {
	display: flex;
	align-items: center;
	padding: 20px 25px;
	border-bottom: 1px solid #e5e5e5;
	text-decoration: none;
	transition: background-color 0.3s ease;
	color: #333;
}

.wc-category-clean-item:last-child {
	border-bottom: none;
}

.wc-category-clean-item:hover {
	background-color: #f8f8f8;
}

.wc-category-clean-icon {
	width: 60px;
	height: 60px;
	margin-right: 20px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-category-clean-icon img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wc-category-clean-name {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #333;
}

/* Mobile Responsive for Clean Categories */
@media screen and (max-width: 768px) {
	.wc-category-clean-item {
		padding: 15px 20px;
	}
	
	.wc-category-clean-icon {
		width: 50px;
		height: 50px;
		margin-right: 15px;
	}
	
	.wc-category-clean-name {
		font-size: 14px;
	}
}

@media screen and (max-width: 480px) {
	.wc-category-clean-item {
		padding: 12px 15px;
	}
	
	.wc-category-clean-icon {
		width: 40px;
		height: 40px;
		margin-right: 12px;
	}
	
	.wc-category-clean-name {
		font-size: 13px;
	}
}

/* ==========================================================================
   WooCommerce My Account - Modern Design
   ========================================================================== */

/* Add background to parent section if using Elementor */
.elementor-section .elementor-widget-html {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%) !important;
    padding: 40px 20px !important;
}

/* Navigation Sidebar */
.woocommerce-MyAccount-navigation {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    padding: 0 !important;
    margin: 0 0 40px 0 !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    border: 1px solid rgba(102, 126, 234, 0.1) !important;
    opacity: 1 !important;
}

.woocommerce-MyAccount-navigation:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    border-top: none !important;
    background: transparent !important;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none !important;
}

.woocommerce-MyAccount-navigation ul li + li {
    border-top: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 30px !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    text-transform: none !important;
    background: transparent !important;
    opacity: 1 !important;
}

.woocommerce-MyAccount-navigation ul li a::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    transform: scaleY(0) !important;
    transition: transform 0.3s ease !important;
    opacity: 1 !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f0f3ff !important;
    color: #667eea !important;
    padding-left: 35px !important;
    transform: translateX(5px) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #e8ecff !important;
    color: #667eea !important;
    font-weight: 700 !important;
    padding-left: 35px !important;
    box-shadow: inset 0 2px 8px rgba(102, 126, 234, 0.1) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
    transform: scaleY(1) !important;
}

/* Icons */
.woocommerce-MyAccount-navigation-link--dashboard a::after {
    content: '📊' !important;
    font-size: 20px !important;
    margin-left: 10px !important;
}

.woocommerce-MyAccount-navigation-link--orders a::after {
    content: '📦' !important;
    font-size: 20px !important;
    margin-left: 10px !important;
}

.woocommerce-MyAccount-navigation-link--edit-address a::after {
    content: '📍' !important;
    font-size: 20px !important;
    margin-left: 10px !important;
}

.woocommerce-MyAccount-navigation-link--payment-methods a::after {
    content: '💳' !important;
    font-size: 20px !important;
    margin-left: 10px !important;
}

.woocommerce-MyAccount-navigation-link--edit-account a::after {
    content: '👤' !important;
    font-size: 20px !important;
    margin-left: 10px !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::after {
    content: '🚪' !important;
    font-size: 20px !important;
    margin-left: 10px !important;
}

/* Content Area */
.woocommerce-MyAccount-content {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    padding: 50px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(102, 126, 234, 0.1) !important;
    opacity: 1 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-content:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15) !important;
    border-color: rgba(102, 126, 234, 0.2) !important;
}

.woocommerce-MyAccount-content p {
    line-height: 1.8 !important;
    color: #333333 !important;
    margin-bottom: 15px !important;
    opacity: 1 !important;
}

.woocommerce-MyAccount-content p strong {
    color: #667eea !important;
    font-weight: 600 !important;
}

.woocommerce-MyAccount-content a {
    color: #667eea !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

.woocommerce-MyAccount-content a:hover {
    color: #764ba2 !important;
    text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 768px) {    
    .woocommerce-MyAccount-navigation {
        margin-bottom: 20px !important;
    }
}
