/*!
Theme Name: inhoby
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: inhoby
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

inhoby is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-size: 16px;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

#page {
	max-width: 1480px;
	margin: auto;
	padding: 0 15px;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	/*outline: 1px dotted ButtonText;*/
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	/*outline-offset: -2px;*/
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin-top: 0;
	margin-bottom: 15px;
	line-height: 1.2;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
/*a {*/
/*	color: #4169e1;*/
/*}*/

/*a:visited {*/
/*	color: #800080;*/
/*}*/

/*a:hover,*/
/*a:focus,*/
/*a:active {*/
/*	color: #191970;*/
/*}*/

a:focus {
	/*outline: thin dotted;*/
}

a:hover,
a:active {
	/*outline: 0;*/
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

input:focus,
select:focus {
	outline: none;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Show more/less button for product descriptions */
.show-more-btn:not(.show) {
	position: absolute;
	bottom: 0;
	text-align: center;
	width: 100%;
	height: 100px;
	background: linear-gradient(0deg, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0.5) 86%, rgba(245, 245, 245, 0) 100%);
	margin: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	font-weight: 500;
	text-decoration: none;
	color: #000;
	cursor: pointer;
	padding-bottom: 20px;
	border: none;
}

.show-more-btn.show {
	background: none;
	border: none;
	cursor: pointer;
	font-size: inherit;
	padding: 0;
	margin-top: 10px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	font-weight: 500;
	text-decoration: none;
	color: #000;
	width: 100%;
	padding-bottom: 20px;
}

.show-more-btn:hover {
	color: var(--color-primary);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-top: 0;
	padding-bottom: 0;
}

/* WooCommerce pagination (site-wide) */
.woocommerce-pagination {
	display: flex;
	justify-content: center;
	margin: 30px 0 30px;
	width: 100%;
}

.woocommerce nav.woocommerce-pagination ul {
	border: none !important;
	display: flex;
	gap: 5px;
}

.woocommerce-pagination .page-numbers {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	align-items: center;
	flex-wrap: wrap;
}

.woocommerce-pagination .page-numbers li {
	list-style: none;
	border: none !important;
	overflow: visible !important;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid var(--color-border, #E6E6E6);
	border-radius: 6px;
	background: #fff;
	color: var(--color-text, #111);
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: all .2s ease;
	line-height: 1;
}

.woocommerce-pagination .page-numbers a:hover {
	border-color: var(--color-primary, #4275f4) !important;
	color: var(--color-primary, #4275f4) !important;
	/*transform: translateY(-1px);*/
	background-color: #FFF !important;
	box-shadow: 0 2px 8px rgba(66, 133, 244, 0.15);
}

.woocommerce-pagination .page-numbers a:focus-visible {
	outline: 2px solid var(--color-primary, #4275f4);
	outline-offset: 2px;
}

.woocommerce-pagination .page-numbers .current {
	background: var(--color-primary, #4275f4) !important;
	border-color: var(--color-primary, #4275f4) !important;
	color: #fff !important;
}

.woocommerce-pagination .page-numbers .dots {
	background: transparent;
	border-color: transparent;
	color: #7C7C7C;
	min-width: auto;
	padding: 0 6px;
}

.woocommerce-pagination .page-numbers .prev,
.woocommerce-pagination .page-numbers .next {
	font-weight: 600;
}

.woocommerce-pagination .page-numbers .prev:hover,
.woocommerce-pagination .page-numbers .next:hover {
	background: #fff;
	/* keep arrows on white but accent border/text */
}

.woocommerce-pagination.woocommerce-pagination--without-numbers .page-numbers a,
.woocommerce-pagination.woocommerce-pagination--without-numbers .page-numbers span {
	min-width: auto;
	padding: 0 14px;
}

/* Compact on small screens */
@media (max-width: 600px) {
	.woocommerce-pagination {
		margin: 20px 0 0;
	}

	.woocommerce-pagination .page-numbers {
		gap: 6px;
	}

	.woocommerce-pagination .page-numbers a,
	.woocommerce-pagination .page-numbers span {
		min-width: 32px;
		height: 32px;
		padding: 0 10px;
		font-size: 13px;
		border-radius: 6px;
	}
}

/* Username Availability Feedback */
.wcfm-feedback-container,
.wcfm_user_name_verified {
	display: inline-flex;
	vertical-align: middle;
	margin-left: 10px;
	font-size: 13px;
	flex-wrap: wrap;
	align-items: center;
	position: relative;
	width: 100%;
	padding-left: 38%;
	margin-top: -10px;
}

.username-status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	white-space: nowrap;
}

.username-status i {
	font-style: italic;
}

.username-status.available {
	color: #28a745;
}

.username-status.unavailable {
	color: #dc3545;
}

.username-suggestions {
	display: block;
	font-size: 13px;
	color: #666;
	padding: 8px 12px;
	clear: both;
	width: fit-content;
}

.suggested-username {
	color: var(--color-primary, #C1004C);
	cursor: pointer;
	text-decoration: underline;
	margin-right: 5px;
}

.suggested-username:hover {
	text-decoration: none;
}

#user_name {

	display: inline-block;
	vertical-align: middle;
}

#user_name.is-valid {
	border-left: 5px solid #28a745 !important;
}

#user_name.is-invalid {
	border-left: 5px solid #dc3545 !important;
}


.wcfm-loading {
	color: #888;
	font-style: italic;
	white-space: nowrap;
}

@media(max-width:768px) {

	.wcfm-feedback-container,
	.wcfm_user_name_verified {
		margin-left: 0;
		padding-left: 0;

	}
}

/* --- Inhobi My Orders Card Layout --- */
.inhobi-orders-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.inhobi-order-card {
	display: flex;
	border: 1px solid #e0e0e0;
	background: #fff;
	padding: 20px;
	gap: 20px;
	align-items: stretch;
	transition: box-shadow 0.2s;
	border-radius: 4px;
}

.inhobi-order-card:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.inhobi-order-card__image {
	flex: 0 0 150px;
	width: 150px;
}

.inhobi-order-card__image img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.inhobi-order-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.inhobi-order-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 8px;
}

.inhobi-order-card__id-badge {
	border: 1px solid #4a90e2;
	color: #4a90e2;
	padding: 3px 8px;
	font-size: 13px;
	border-radius: 4px;
	font-weight: 500;
	line-height: 1.2;
}

.inhobi-order-card__price {
	font-size: 20px;
	font-weight: 700;
	color: #333;
}

.inhobi-order-card__title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #333;
	line-height: 1.3;
}

.inhobi-order-card__meta,
.inhobi-order-card__subtitle {
	font-size: 14px;
	color: #777;
	margin-bottom: 5px;
}

/* Bottom Stats Grid */
.inhobi-order-card__stats {
	display: flex;
	border-top: 1px solid #e0e0e0;
	padding-top: 15px;
	margin-top: auto;
}

.inhobi-order-card__stat-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	border-right: 1px solid #e0e0e0;
	padding: 0 15px;
	justify-content: center;
}

.inhobi-order-card__stat-item:first-child {
	padding-left: 0;
}

.inhobi-order-card__stat-item:last-child {
	border-right: none;
	padding-right: 0;
	align-items: flex-end;
}

.inhobi-order-card__stat-label {
	font-size: 12px;
	color: #999;
	margin-bottom: 4px;
	text-transform: capitalize;
}

.inhobi-order-card__stat-value {
	font-size: 14px;
	font-weight: 700;
	color: #333;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.inhobi-order-card__stat-value a {
	color: #4275f4;
}
.inhobi-order-card .button.view {
	background-color: #4275f4;
	color: #fff;
	border-radius: 4px;
	padding: 8px 16px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	display: inline-block;
	border: none;
	line-height: normal;
}

.inhobi-order-card .button.view:hover {
	background-color: #5b8aff !important;
	color: #fff !important;
}

@media (max-width: 768px) {
	.inhobi-order-card {
		flex-direction: column;
	}

	.inhobi-order-card__image {
		width: 100%;
		flex: 0 0 auto;
		margin-bottom: 15px;
	}

	.inhobi-order-card__image img {
		height: 200px;
	}

	.inhobi-order-card__stats {
		flex-wrap: wrap;
		gap: 15px;
		padding-top: 15px;
		margin-top: 15px;
	}

	.inhobi-order-card__stat-item {
		border-right: none;
		flex: 1 0 45%;
		padding: 0;
		align-items: flex-start;
	}

	.inhobi-order-card__stat-item:last-child {
		align-items: flex-start;
		/*flex-basis: 100%;*/
		margin-top: 10px;
	}
}

/* Multi-Item Card Support */
.inhobi-order-card--multi {
	flex-direction: column;
}

.inhobi-order-card--multi .inhobi-order-card__top {
	margin-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 12px;
}

.inhobi-order-card__items-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.inhobi-order-item {
	display: flex;
	gap: 15px;
	padding: 12px;
	border: 1px solid #f1f1f1;
	border-radius: 8px;
	background-color: #fafafa;
	align-items: center;
}

.inhobi-order-item:last-child {
	border-bottom: 1px solid #f1f1f1;
	margin-bottom: 0;
	padding-bottom: 12px;
}

.inhobi-order-item__image {
	flex: 0 0 70px;
	width: 70px;
}

.inhobi-order-item__image img {
	width: 100%;
	height: 70px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

.inhobi-order-item__details {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.inhobi-order-item__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.inhobi-order-item__title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
	line-height: 1.3;
}

.inhobi-order-item__qty {
	font-size: 13px;
	color: #777;
}

.inhobi-order-item__total {
	font-size: 15px;
	font-weight: 700;
	color: #333;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.inhobi-order-item__details {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.inhobi-order-item__total {
		align-self: flex-end;
	}
}

/* Vendor Orders Subnav */
.my-orders-subnav {
	display: inline-flex;
	background: #f1f3f5;
	padding: 4px;
	border-radius: 8px;
	gap: 0;
	margin: 0 0 20px;
}

.my-orders-subnav .tab {
	padding: 8px 24px;
	border-radius: 6px;
	color: #666;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.2s ease;
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: normal;
}

.my-orders-subnav .tab:hover {
	color: #333;
	background: rgba(0, 0, 0, 0.03);
}

.my-orders-subnav .tab.is-active {
	background: #4385F5;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 2px 4px rgba(67, 133, 245, 0.3);
}

/* Order Details View specific styles */
.inhobi-order-card--details {
	margin-top: 20px;
	padding: 20px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.inhobi-order-card__totals {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #f0f0f0;
}

.inhobi-order-card__total-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 14px;
}

.inhobi-order-card__total-label {
	font-weight: 500;
	color: #666;

}

.inhobi-order-card__total-value {
	font-weight: 700;
	color: #333;
}

.wc-item-meta {
	font-size: 13px;
	color: #777;
	margin: 4px 0 0;
	list-style: none;
	padding: 0;
}

/* Notification Styles */
.inhobi-order-notice {
	background-color: #f8fafc;
	border: 1px solid #e1e4e8;
	padding: 16px;
	border-radius: 8px;
	margin-bottom: 24px;
	color: #444;
	font-size: 14px;
	line-height: 1.5;
}

.inhobi-order-notice mark {
	background: transparent;
	color: #000;
	font-weight: 600;
	padding: 0;
}

/* Hide Store Meta in Order Items */
.wc-item-meta li:has(.wcfm_dashboard_item_title),
.wc-item-meta li .wcfm_dashboard_item_title {
	display: none !important;
}

/* Additionally hide the label if possible, though 'li:has' handles the whole row if supported. 
   Fallback for non-:has browsers to at least hide the link */
.wc-item-meta li .wcfm_dashboard_item_title {
	display: none;
}

.wc-item-meta li strong.wc-item-meta-label:contains("Store:") {
	display: none;
}

/* :contains is not standard CSS, so rely on :has for modern or JS. */
/* Better fallback: if we can't reliably select the text node 'Store:', 
   we might leave it if :has isn't supported, but :has is widely supported now in Chrome/Firefox/Safari. */
.wc-item-meta li .wcfm_dashboard_item_title {
	display: none;
}

.wc-item-meta li strong.wc-item-meta-label:contains("Store:") {
	display: none;
}

/* =========================================
   WCFM Vendor Order Details Styling
   ========================================= */

/* General Container */
#wcfm_order_details.wcfm-collapse {
	background: transparent;
	border: none;
	box-shadow: none;
}

#wcfm_order_details .wcfm-container {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	box-shadow: none !important;
	/* Override WCFM defaults */
	margin-bottom: 24px;
}

#wcfm_order_details .wcfm-page-headig {
	margin-bottom: 20px;
	background: transparent;
	padding: 0;
	border: none;
	display: flex;
	align-items: center;
	gap: 10px;
}

#wcfm_order_details .wcfm-page-heading-text {
	font-size: 24px;
	font-weight: 700;
	color: #111;
}

/* Headings inside containers */
.wcfm-container h2 {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 16px;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 10px;
}

/* Form Fields & Labels */
.wcfm-content p.form-field {
	margin-bottom: 16px;
}

.wcfm-content label {
	display: block;
	font-weight: 500;
	color: #555;
	margin-bottom: 6px;
	font-size: 14px;
}

/* Date & Text */
#orders_details_general_expander {
	font-size: 14px;
	color: #333;
}

/* Status Update Wrapper */
#wcfm_order_status_update_wrapper {
	background: #f8fafc;
	padding: 16px;
	border-radius: 8px;
	border: 1px solid #e1e4e8;
	margin-bottom: 20px;
}

#wcfm_order_status {
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	margin-right: 10px;
	min-width: 150px;
}

#wcfm_modify_order_status {
	background-color: #4385F5;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s;
}

#wcfm_modify_order_status:hover {
	background-color: #3367d6;
}

/* Textarea styling */
#vendor_shipping_comment {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 10px;
	font-size: 14px;
	min-height: 80px;
	resize: vertical;
}

/* Addresses Table Overhaul */
#orders_details_general_expander table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-top: 10px;
}

#orders_details_general_expander table th {
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f0f0;
	width: 50%;
}

#orders_details_general_expander table td {
	padding: 15px 0;
	vertical-align: top;
	color: #555;
	line-height: 1.6;
}

/* Items Table Styling */
.woocommerce_order_items {
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	/* For rounded corners on table */
	border-collapse: separate;
	border-spacing: 0;
}

.woocommerce_order_items thead th {
	background-color: #f9fafb;
	color: #6b7280;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}

.woocommerce_order_items tbody tr.item td {
	padding: 16px;
	border-bottom: 1px solid #f3f4f6;
	vertical-align: middle;
}

.woocommerce_order_items tbody tr:last-child td {
	border-bottom: none;
}

.woocommerce_order_items img {
	border-radius: 6px;
	border: 1px solid #eee;
	width: 60px;
	height: 60px;
	object-fit: cover;
}

.woocommerce_order_items .wc-order-item-name {
	font-weight: 500;
	color: #111;
	text-decoration: none;
	font-size: 14px;
}

/* Totals Section */
.wc-order-totals {
	width: 100%;
	margin-top: 20px;
	border-top: 2px solid #f0f0f0;
}

.wc-order-totals tr th,
.wc-order-totals tr td {
	padding: 10px 0;
	text-align: right !important;
	/* Override inline styles */
	font-size: 14px;
}

.wc-order-totals tr th {
	color: #666;
	font-weight: 500;
	padding-right: 20px;
	text-transform: capitalize;
	/* Fix lowercase logic labels */
}

.wc-order-totals tr td {
	color: #111;
	font-weight: 700;
}

/* Misc WCFM overrides */
.wcfmfa,
.wcfm-store-name-heading-text,
.wcfm_header_panel {
	/* Keeping these generally as is but ensuring they don't break layout */
}

/* Fix for Collapsible Headers usually looking ugly */
/* =========================================
   Mobile / Responsive Fixes for Vendor View
   ========================================= */
@media (max-width: 768px) {
	.inhobi-order-card__total-row {
		text-align: right;
	}
	.inhobi-order-card__total-label {
		text-align: left;
	}
	body #orders_details_items_expander table.woocommerce_order_items td.thumb{
		width: 70px;
		padding: 0 !important;
		height: 70px;
		margin-top: 10px !important;
	}
	body #orders_details_items_expander table.woocommerce_order_items td.thumb .wc-order-item-thumbnail {
		display:block!important;
		width: 100%;
		height: 100%;
	}
	body #orders_details_items_expander table.woocommerce_order_items td.thumb img {
		width: 100%;
		height: 100% !important;
	}
	/* Reduce container padding on mobile */
	#wcfm_order_details .wcfm-container {
		padding: 12px;
	}

	/* Stack Status Update Controls */
	#wcfm_order_status_update_wrapper p.form-field {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	#wcfm_order_status {
		margin-right: 0;
		width: 100%;
	}

	#wcfm_modify_order_status {
		width: 100%;
	}

	/* Stack Address Columns */
	#orders_details_general_expander table tr {
		display: block;
		width: 100%;
	}

	#orders_details_general_expander table th,
	#orders_details_general_expander table td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
		padding: 5px 0;
	}

	#orders_details_general_expander table th {
		margin-top: 20px;
		border-bottom: 1px solid #eee;
	}

	/* Reflow Products Table to Cards matching Buyer View */
	.woocommerce_order_items {
		border: none;
		background: transparent;
	}

	.woocommerce_order_items thead {
		display: none;
	}

	.woocommerce_order_items tbody {
		display: block;
		width: 100%;
	}

	/* Card Container: Grid Layout */
	.woocommerce_order_items tbody tr.item {
		display: grid;
		grid-template-columns: 70px 1fr;
		/* Image | Content */
		grid-template-areas:
			"thumb details"
			"thumb footer";
		background: #fff;
		border: 1px solid #e5e7eb;
		border-radius: 12px;
		margin-bottom: 16px;
		padding: 12px;
		gap: 12px;
		position: relative;
		align-items: start;
	}

	/* 1. Image (Thumbnail) */
	.woocommerce_order_items td.thumb {
		grid-area: thumb;
		display: block !important;
		padding: 0;
		border: none;
		align-self: center;
		/* Center vertically relative to card height if nice, or start */
		align-self: start;
	}

	.woocommerce_order_items td.thumb img {
		display: block;
		width: 60px;
		height: 60px;
		object-fit: cover;
		border-radius: 6px;
		border: 1px solid #f0f0f0;
	}

	/* 2. Details (Name + Button) */
	.woocommerce_order_items td.name {
		grid-area: details;
		display: block;
		padding: 0;
		/* Make space for Qty absolute top-right */
		padding-right: 30px;
		border: none;
		text-align: left;
	}

	.woocommerce_order_items .wc-order-item-name {
		font-size: 15px;
		font-weight: 600;
		color: #333;
		line-height: 1.3;
		display: block;
		margin-bottom: 8px;
	}

	.wcvc-order-chat .button {
		padding: 6px 14px;
		font-size: 13px;
		font-weight: 500;
		background-color: #4385F5;
		color: #fff;
		border-radius: 4px;
		border: none;
	}

	/* 3. Quantity */
	/* Position absolute top-right of the relative card */
	.woocommerce_order_items td.wcfm_item_qty {
		display: block;
		position: absolute;
		top: 12px;
		right: 12px;
		border: none;
		padding: 0;
		font-size: 14px;
		color: #777;
		font-weight: 500;
	}

	.woocommerce_order_items td.wcfm_item_qty small.times {
		display: none;
	}

	.woocommerce_order_items td.wcfm_item_qty::before {
		content: "x";
		margin-right: 2px;
	}

	/* 4. Price (Total) */
	/* We target the 5th column (Total) and position it at the bottom right area */
	.woocommerce_order_items td.line_cost:nth-of-type(5) {
		grid-area: footer;
		display: block;
		text-align: right;
		border: none;
		padding: 0;
		margin-top: 4px;
		align-self: end;
	}

	.woocommerce_order_items td.line_cost:nth-of-type(5) .amount {
		font-size: 16px;
		font-weight: 700;
		color: #333;
	}

	/* 5. Hide Earnings/Redundant columns */
	.woocommerce_order_items td.item_cost,
	.woocommerce_order_items td.line_cost:nth-of-type(6) {
		display: none !important;
	}

	/* Reset generic styles */
	.woocommerce_order_items tbody tr.item td::before {
		content: none !important;
	}
}