/*
 Theme Name:   Splendour Child Theme
 Theme URI:    https://splendour.themerex.net
 Description:  Splendour Child Theme
 Author:       ThemeREX
 Author URI:   https://themerex.net/
 Template:     splendour
 Version:      1.0.0
 Tags:         flexible-header, 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:  splendour
*/


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

.menu_mobile .menu_mobile_inner {
	background: #fff;
}

.menu_mobile .menu_mobile_header_wrap {
	padding: 15px 22px !important;
}

@media (max-width: 767px) {
	.menu_mobile .menu_mobile_header_wrap {
		padding: 20px 22px !important;
	}
}

@media (max-width: 1279px) {
	.sc_layouts_row.sc_layouts_row_fixed_on.sc_layouts_row_fixed_always .custom-logo-link img, .sc_layouts_row.sc_layouts_row_fixed_on.sc_layouts_row_fixed_always .sc_layouts_logo img, .search_modern .search_header_wrap .logo_image, .menu_mobile .sc_layouts_logo img {
		max-height: 50px !important;
	}
}
	
.sc_layouts_menu .menu-item-has-children > a {
    padding-right: 1.6em !important;
}
.sc_layouts_menu .menu-item-has-children > a > span {
    display: block;
}
.sc_layouts_menu .menu-item-has-children > a > span::after {
    content: '';
    display: inline-block;
    width: .7em; /* Adjust size as needed */
    height: .7em; /* Adjust size as needed */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    right: .5em; /* Adjust spacing from the right */
    top: 50%;
    transform: translateY(-50%); /* Vertically center the icon */
    /* Optional: Add a transition for rotation on hover/focus if desired */
    transition: transform 0.3s ease;
}
.sc_layouts_menu .menu-item-has-children.current-menu-item > a > span::after,
.sc_layouts_menu .menu-item-has-children.current-menu-ancestor > a > span::after,
.sc_layouts_menu .menu-item-has-children.focus > a > span::after, /* For keyboard navigation */
.sc_layouts_menu .menu-item-has-children:hover > a > span::after {
    transform: translateY(-50%) rotate(180deg); /* Or 180deg for down arrow */
}

.sc_layouts_menu li > a {
    white-space: nowrap;
}

header .sc_layouts_cart_link {
    padding: 17px 40px 18px;
    font-size: 17px;
    background: var(--theme-color-text_link);
    color: var(--theme-color-inverse_link);
    cursor: pointer;
}
header .sc_layouts_cart_link .sc_layouts_cart_icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--theme-color-inverse_link) !important;
}
header .sc_layouts_cart_link .sc_layouts_cart_details {
    display: inline-block !important;
    margin-left: 25px !important;
}
header .sc_layouts_cart_link .sc_layouts_cart_label {
    color: var(--theme-color-inverse_link) !important;
    line-height: 21px !important;
}
header .sc_layouts_cart_link .sc_layouts_cart_totals {
    display: none !important;
}
header .sc_layouts_cart_link .sc_layouts_cart_items_short {
    right: auto !important;
    top: 50% !important;
    transform: translateX(6px) !important;
    bottom: auto !important;
    color: var(--theme-color-text_link);
    background: var(--theme-color-inverse_link);
}
