.grow-monster-device {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.grow-monster-tablet {
    width: 600px;
    height: 800px;
    border-radius: 20px;
}

.grow-monster-phone {
    width: 300px;
    height: 600px;
    border-radius: 15px;
}

.grow-monster-device-content {
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.grow-monster-device-content::-webkit-scrollbar {
    width: 8px;
}

.grow-monster-device-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.grow-monster-device-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}



/* Core accordion styling */
.grow-monster-accordion .accordion-item {
	margin-bottom: 10px;
}
.grow-monster-accordion .accordion-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}
.grow-monster-accordion .heading-text {
	flex: 1;
}
.grow-monster-accordion .accordion-icon {
	margin-left: 10px;
}
.grow-monster-accordion .accordion-content {
	border-style: solid;
	border-top: none; /* Optional if you want a unified border */
}

/* Vertical layout (default) */
.grow-monster-accordion.vertical .accordion-item {
	display: block;
}

/* Horizontal layout (very simple example) */
.grow-monster-accordion.horizontal {
	display: flex;
	flex-wrap: wrap;
}
.grow-monster-accordion.horizontal .accordion-item {
	/* Each item takes equal width, adjust as needed */
	flex: 1 1 30%;
	margin: 0 5px 10px 5px;
}

/* Grow Monster Search Widget Styling */
.grow-monster-search-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: relative;
	z-index: 99999;
}

.grow-monster-search-container {
	margin: 20px;
}

.grow-monster-search-container > div {
	display: inline-block;
	position: relative;
	/* Removed outer glow - filter: drop-shadow(0 1px #0091c2); */
}

/* Ensure search suggestions work regardless of menu state */
.grow-monster-search-container > div:hover {
	z-index: 100000;
}

.grow-monster-search-container > div:focus-within {
	z-index: 100000;
}

.grow-monster-search-container > div::after {
	content: "";
	background: white;
	width: 2px;
	height: 13px;
	position: absolute;
	top: 19px;
	right: 0px;
	transform: rotate(135deg);
}

.grow-monster-search-input {
	color: white;
	font-size: 16px;
	background: transparent;
	width: 22px;
	height: 22px;
	padding: 10px;
	border: solid 2px white;
	outline: none;
	border-radius: 35px;
	transition: width 0.5s;
}

.grow-monster-search-input::placeholder {
	color: #efefef;
	opacity: 0;
	transition: opacity 150ms ease-out;
}

.grow-monster-search-input:focus::placeholder {
	opacity: 1;
}

.grow-monster-search-input:focus,
.grow-monster-search-input:not(:placeholder-shown) {
	width: 250px;
}

/* Search Suggestions Container */
.grow-monster-search-suggestions {
    position: absolute;
    top: calc(var(--gma-top-spacing, 10px) + 40px);
    right: 0; /* Align to right edge - expands to left */
    width: var(--gma-results-width, 400px);
    max-height: var(--gma-results-height, 400px);
    overflow-y: var(--gma-scroll-enabled, auto);
    background: var(--gma-results-bg, #061e29);
    border: 1px solid var(--gma-results-border, rgba(255,255,255,0.2));
    border-radius: var(--gma-results-border-radius, 4px);
    box-shadow: 0 8px 25px rgba(6,30,41,0.8);
    z-index: 99999;
    padding: var(--gma-results-padding, 10px);
    padding-top: calc(var(--gma-results-padding, 10px) + 5px); /* Extra top spacing */
    display: none;
}

/* Search Suggestion Items */
.grow-monster-search-item {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	color: #ffffff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	transition: all 0.2s ease;
	cursor: pointer;
}

.grow-monster-search-item:last-child {
	border-bottom: none;
}

.grow-monster-search-item:hover,
.grow-monster-search-item.active {
	background: rgba(255,255,255,0.1);
	color: #ffffff;
	text-decoration: none;
}

/* Search Item Image */
.grow-monster-search-item-image {
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	margin-right: 12px;
	border-radius: 4px;
	overflow: hidden;
}

.grow-monster-search-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

/* Search Item Content */
.grow-monster-search-item-content {
	flex: 1;
	min-width: 0;
}

.grow-monster-search-item-title {
	color: #ffffff;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.grow-monster-search-item-price {
	color: rgba(255,255,255,0.8);
	font-weight: 400;
	font-size: 14px;
}

/* Search Highlight */
.grow-monster-search-item-title mark {
	background: rgba(255,255,255,0.2);
	color: #ffffff;
	padding: 1px 2px;
	border-radius: 2px;
	font-weight: 600;
}

/* View All Results Link */
.grow-monster-search-view-all {
	display: block;
	padding: 12px 16px;
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	text-align: center;
	font-weight: 500;
	font-size: 14px;
	border-top: 1px solid rgba(255,255,255,0.1);
	transition: all 0.2s ease;
}

.grow-monster-search-view-all:hover {
	background: rgba(255,255,255,0.1);
	color: #ffffff;
	text-decoration: none;
}

/* Loading State */
.grow-monster-search-loading {
	padding: 20px;
	text-align: center;
	color: rgba(255,255,255,0.7);
	font-size: 14px;
}

/* Error State */
.grow-monster-search-error {
	padding: 20px;
	text-align: center;
	color: rgba(255,100,100,0.8);
	font-size: 14px;
}

/* No Results State */
.grow-monster-search-no-results {
	padding: 20px;
	text-align: center;
	color: rgba(255,255,255,0.6);
	font-size: 14px;
}

/* Image accordion hover overlay */
.image-accordion-item {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 200px;
}
.image-accordion-item .image-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5);
}
.image-accordion-item .overlay-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
}
