/**
 * Aunt Bill's Menu — Front-end shortcode styles.
 *
 * Provides sensible defaults. Override any of these in Elementor's
 * custom CSS panel or your theme stylesheet.
 *
 * @package AuntBillsMenu
 */

/* ------------------------------------------------------------------ */
/*  Price                                                             */
/* ------------------------------------------------------------------ */
.abm-price {
	display: inline-block;
	font-size: 1.35em;
	font-weight: 700;
	color: #222;
}

/* ------------------------------------------------------------------ */
/*  Featured badge                                                    */
/* ------------------------------------------------------------------ */
.abm-featured-badge {
	display: inline-block;
	padding: 4px 12px;
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	background: #53056A;
	border-radius: 3px;
}

/* ------------------------------------------------------------------ */
/*  Availability                                                      */
/* ------------------------------------------------------------------ */
.abm-availability {
	display: inline-block;
	font-size: 0.85em;
	font-weight: 600;
}
.abm-availability--available {
	color: #00a32a;
}
.abm-availability--unavailable {
	color: #999;
}

/* ------------------------------------------------------------------ */
/*  Order button                                                      */
/* ------------------------------------------------------------------ */
.abm-order-btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 1em;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #53056A;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.abm-order-btn:hover,
.abm-order-btn:focus {
	background: #3d0350;
	color: #fff;
	text-decoration: none;
}
.abm-order-btn--disabled {
	background: #999;
	cursor: not-allowed;
}
.abm-order-btn--disabled:hover {
	background: #999;
}

/* ------------------------------------------------------------------ */
/*  Dietary tags                                                      */
/* ------------------------------------------------------------------ */
.abm-tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}
.abm-tag {
	display: inline-block;
	padding: 3px 10px;
	font-size: 0.8em;
	color: #2e7d32;
	background: #e8f5e9;
	border-radius: 12px;
}

/* ------------------------------------------------------------------ */
/*  Modifiers                                                         */
/* ------------------------------------------------------------------ */
.abm-modifiers {
	margin: 1.25em 0;
}
.abm-modifiers__group {
	margin-bottom: 1em;
}
.abm-modifiers__group-name {
	display: block;
	margin-bottom: 0.35em;
	font-size: 0.95em;
}
.abm-modifiers__hint {
	font-weight: 400;
	font-size: 0.85em;
	color: #666;
}
.abm-modifiers__options {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.abm-modifiers__options li {
	display: inline-block;
	padding: 4px 12px;
	font-size: 0.85em;
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 16px;
}
.abm-modifiers__upcharge {
	color: #888;
	font-size: 0.9em;
}

/* ------------------------------------------------------------------ */
/*  Filter form (archive)                                             */
/* ------------------------------------------------------------------ */
.abm-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 1.5em;
	padding: 16px;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}
.abm-filters__select,
.abm-filters__search {
	padding: 8px 12px;
	font-size: 0.9em;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
}
.abm-filters__search {
	min-width: 180px;
}
.abm-filters__featured-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.9em;
	cursor: pointer;
}
.abm-filters__btn {
	padding: 8px 20px;
	font-size: 0.9em;
	font-weight: 600;
	color: #fff;
	background: #53056A;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.abm-filters__btn:hover {
	background: #3d0350;
}

/* ------------------------------------------------------------------ */
/*  Image                                                             */
/* ------------------------------------------------------------------ */
.abm-image {
	width: 100%;
	height: auto;
	border-radius: 6px;
}

/* ------------------------------------------------------------------ */
/*  Stars (shared display)                                            */
/* ------------------------------------------------------------------ */
.abm-stars {
	display: inline-flex;
	gap: 1px;
	vertical-align: middle;
}
.abm-stars__star {
	font-size: 1.2em;
	line-height: 1;
}
.abm-stars__star--full {
	color: #f0b429;
}
.abm-stars__star--half {
	color: #f0b429;
	opacity: 0.6;
}
.abm-stars__star--empty {
	color: #ccc;
}

/* ------------------------------------------------------------------ */
/*  Rating summary [abm_rating]                                       */
/* ------------------------------------------------------------------ */
.abm-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.95em;
}
.abm-rating__text {
	color: #555;
}

/* ------------------------------------------------------------------ */
/*  Reviews list [abm_reviews]                                        */
/* ------------------------------------------------------------------ */
.abm-reviews {
	margin: 1.5em 0;
}
.abm-reviews__empty {
	color: #888;
	font-style: italic;
}
.abm-reviews__item {
	padding: 16px 0;
	border-bottom: 1px solid #eee;
}
.abm-reviews__item:last-child {
	border-bottom: none;
}
.abm-reviews__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}
.abm-reviews__author {
	font-size: 0.95em;
}
.abm-reviews__date {
	font-size: 0.8em;
	color: #999;
}
.abm-reviews__body {
	font-size: 0.95em;
	line-height: 1.6;
}
.abm-reviews__body p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/*  Review form [abm_review_form]                                     */
/* ------------------------------------------------------------------ */
.abm-review-form {
	margin: 2em 0;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}
.abm-review-form__title {
	margin: 0 0 16px;
	font-size: 1.2em;
}
.abm-review-form .comment-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 0.9em;
}
.abm-review-form .comment-form input[type="text"],
.abm-review-form .comment-form input[type="email"],
.abm-review-form .comment-form input[type="url"],
.abm-review-form .comment-form textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.95em;
}
.abm-review-form .comment-form textarea {
	resize: vertical;
}
.abm-review-form .comment-form p {
	margin-bottom: 12px;
}
.abm-review-form .abm-order-btn {
	background: transparent;
	color: #53056A;
	border: 2px solid #53056A;
}
.abm-review-form .abm-order-btn:hover,
.abm-review-form .abm-order-btn:focus {
	background: #53056A;
	color: #fff;
	border-color: #53056A;
}

/* Star picker */
.abm-star-picker {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 12px;
}
.abm-star-picker__label {
	font-weight: 600;
	font-size: 0.9em;
	margin-right: 6px;
}
.abm-star-picker__star {
	cursor: pointer;
	font-size: 1.6em;
	line-height: 1;
	color: #ccc;
	transition: color 0.15s ease;
}
.abm-star-picker__star--active,
.abm-star-picker__star:hover {
	color: #f0b429;
}
.abm-star-picker__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}
.abm-star-picker__icon {
	pointer-events: none;
}

/* ------------------------------------------------------------------ */
/*  Review landing page [abm_review_landing]                          */
/* ------------------------------------------------------------------ */
.abm-landing__header {
	text-align: center;
	margin-bottom: 1.5em;
}
.abm-landing__title {
	margin: 0 0 0.25em;
	font-size: 1.8em;
}
.abm-landing__subtitle {
	color: #666;
	font-size: 1.05em;
	margin: 0;
}
.abm-landing__controls {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	margin-bottom: 1.5em;
}
.abm-landing__search {
	width: 100%;
	max-width: 400px;
	padding: 10px 16px;
	font-size: 1em;
	border: 2px solid #e0e0e0;
	border-radius: 24px;
	outline: none;
	transition: border-color 0.2s;
}
.abm-landing__search:focus {
	border-color: #53056A;
}
.abm-landing__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}
.abm-landing .abm-landing__tab {
	padding: 6px 16px;
	font-size: 0.85em;
	font-weight: 600;
	color: #555;
	background: #f0f0f0;
	border: 2px solid transparent;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.2s;
}
.abm-landing .abm-landing__tab:hover {
	background: #e8e0ec;
	color: #53056A;
}
.abm-landing .abm-landing__tab.abm-landing__tab--active {
	background: #53056A;
	color: #fff;
	border-color: #53056A;
}
.abm-landing__grid {
	display: grid;
	grid-template-columns: repeat(var(--abm-cols, 3), 1fr);
	gap: 20px;
}
.abm-landing__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, transform 0.2s;
}
.abm-landing__card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
	text-decoration: none;
	color: inherit;
}
.abm-landing__card-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5f5f5;
}
.abm-landing__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.abm-landing__card-img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	color: #ccc;
}
.abm-landing__card-img--placeholder svg {
	width: 48px;
	height: 48px;
	opacity: 0.4;
}
.abm-landing__card-body {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}
.abm-landing__card-name {
	font-size: 0.95em;
	line-height: 1.3;
}
.abm-landing__card-rating {
	font-size: 0.8em;
	color: #666;
}
.abm-landing__card-rating--none {
	font-style: italic;
	color: #999;
}
.abm-landing__card-btn {
	display: inline-block;
	margin-top: auto;
	padding: 6px 14px;
	font-size: 0.8em;
	font-weight: 700;
	text-align: center;
	color: #53056A;
	border: 2px solid #53056A;
	border-radius: 4px;
	transition: all 0.2s;
}
.abm-landing__card:hover .abm-landing__card-btn {
	background: #53056A;
	color: #fff;
}
.abm-landing__no-results {
	text-align: center;
	color: #888;
	font-style: italic;
	padding: 2em 0;
}

/* ------------------------------------------------------------------ */
/*  Responsive                                                        */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
	.abm-landing__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.abm-filters {
		flex-direction: column;
		align-items: stretch;
	}
	.abm-filters__select,
	.abm-filters__search,
	.abm-filters__btn {
		width: 100%;
	}
	.abm-order-btn {
		display: block;
		width: 100%;
		text-align: center;
	}
	.abm-landing__grid {
		grid-template-columns: 1fr;
	}
	.abm-landing__tabs {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	.abm-landing__tab {
		white-space: nowrap;
	}
}
