.whiskeyMateImage {
	height: 200px;
	background: #000;
}

h1, h2 {
	color: #FB5607;
}

h3, h5 {
	color: #3A86FF;
}

.subtitle {
	color: #FFBE0B;
}

.whiskeyMateLinkColors .active {
	color: #fb5607 !important;
}

.whiskeyMateLinkColors a {
	color: #FFBE0B !important;
}

.nav-pills .nav-link.active {
	background-color: black;
}

.nav-pills .nav-link:hover {
	background-color: #2C2C2E;
}

.social-icon {
	width: 20px;
	height: 20px;
	margin-right: 5px;
}

.fab {
	font-size: 20px; /* Adjust size as needed */
	margin-right: 5px;
}

.snapchat-responsive {
	max-width: 100%;
	height: auto;
	overflow: hidden;
}

.snapchat-embed {
	max-width: 100%;
	width: 100%;
	height: auto;
}

/* Ensure consistent button height for web login options */
#apple-login,
#google-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.5rem 1rem;
}

@media (max-width: 1400px) {
	.snapchat-responsive {
		display: none;
	}
}

body { 
	background-color: #f8f9fa; 
}

.hidden { 
	display: none; 
}

/* Premium teaser helpers (web) */
.wm-blur {
	filter: blur(7px);
	user-select: none;
	pointer-events: none;
}

.wm-premium-teaser {
	position: relative;
}

.wm-premium-overlay {
	position: relative;
}

/* Fitz floating bubble + modal chat */
.wm-fitz-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 190, 11, 0.6);
	background: #111;
}

.wm-fitz-fab {
	position: fixed;
	right: 18px;
	/* Place Fitz in the top-right so it doesn't overlap the scroll-to-top button (bottom-right). */
	top: calc(env(safe-area-inset-top, 0px) + 84px);
	width: 62px;
	height: 62px;
	border-radius: 999px;
	border: 2px solid rgba(255, 190, 11, 0.75);
	background: rgba(0, 0, 0, 0.92);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

@media (max-width: 576px) {
	.wm-fitz-fab {
		/* Slightly tighter on small screens */
		top: calc(env(safe-area-inset-top, 0px) + 72px);
		right: 12px;
	}
}

.wm-fitz-fab:hover {
	transform: translateY(-1px);
}

.wm-fitz-fab-img {
	width: 54px;
	height: 54px;
	border-radius: 999px;
	object-fit: cover;
}

.wm-fitz-fab-fallback {
	color: #FFBE0B;
	font-size: 22px;
}

.wm-fitz-chat {
	min-height: 360px;
}

.wm-fitz-messages {
	max-height: 52vh;
	overflow: auto;
	padding: 6px 2px;
}

.wm-fitz-bubble {
	max-width: 78%;
	padding: 10px 12px;
	border-radius: 14px;
	line-height: 1.25;
	white-space: pre-wrap;
}

.wm-fitz-bubble-user {
	background: #3A86FF;
	color: #fff;
	border-top-right-radius: 6px;
}

.wm-fitz-bubble-assistant {
	background: #f1f3f5;
	color: #111;
	border-top-left-radius: 6px;
	border: 1px solid rgba(0,0,0,0.08);
}

.wm-fitz-msg-left,
.wm-fitz-msg-right {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.wm-fitz-msg-avatar {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	object-fit: cover;
	background: #111;
	border: 1px solid rgba(0,0,0,0.15);
	flex: 0 0 auto;
}

.wm-user-initials {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #111;
	color: #FFBE0B;
	border: 1px solid rgba(255, 190, 11, 0.65);
	font-weight: 700;
	font-size: 14px;
	flex: 0 0 auto;
}


#faqSearchInput { 
	margin-bottom: 20px; 
}

.faq-block {
	background: white;
	border-left: 5px solid #FFBE0B;
	padding: 15px;
	margin-bottom: 20px;
	box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

ul, ol { 
	color: #555; 
}

li { 
	margin-bottom: 10px; 
}

#scrollTopBtn {
	padding: 10px 20px;
	font-size: 16px;
	background-color: #FB5607;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	opacity: 0.7;
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
	z-index: 1000;
}

.faq-block:first-of-type {
	margin-top: 30px; /* Adjust this value as needed */
}

#scrollTopBtn:hover {
	opacity: 1;
}

.sticky-top {
	position: sticky;
	top: 0;
	z-index: 1020 !important; /* Keep this lower than modal and backdrop */
}

/* Messages page: keep right panel centered while scrolling long thread lists */
@media (min-width: 768px) {
	.wm-messages-layout {
		align-items: flex-start;
	}

	/* Left column: make threads list the scroll container */
	#threads-list {
		max-height: calc(100vh - 260px);
		overflow-y: auto;
	}

	/* Right column: sticky viewport block with centered content */
	.wm-messages-right-sticky {
		position: sticky;
		top: calc(env(safe-area-inset-top, 0px) + 140px);
		max-height: calc(100vh - 170px);
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 12px;
	}

	/* Messages area scrolls internally */
	.wm-thread-messages {
		max-height: 44vh;
		overflow: auto;
	}
}

.modal-backdrop {
    z-index: 1040 !important; /* Make sure the backdrop is above the navbar */
}

.modal {
    z-index: 1050 !important; /* Ensure the modal is above the backdrop */
}

@media (min-width: 992px) {
    #nav-login {
        margin-left: auto;
    }
}

.whiskey-card {
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.whiskey-card:hover {
    transform: scale(1.05);
}

.whiskey-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

/* Center the image in the modal */
.modal-body img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Styling for the modal content */
.modal-content {
    border-radius: 10px;
}

.wm-detail-grid .wm-kv {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	border: 1px solid rgba(0,0,0,0.06);
	border-radius: 12px;
	background: #fff;
}

.wm-detail-grid .wm-kv i {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 14px;
}

.wm-icon-orange { background: rgba(251, 86, 7, 0.12); color: #FB5607; }
.wm-icon-blue { background: rgba(58, 134, 255, 0.12); color: #3A86FF; }
.wm-icon-yellow { background: rgba(255, 190, 11, 0.20); color: #b07c00; }
.wm-icon-green { background: rgba(40, 167, 69, 0.15); color: #198754; }
.wm-icon-red { background: rgba(220, 53, 69, 0.12); color: #dc3545; }
.wm-icon-gray { background: rgba(108, 117, 125, 0.12); color: #6c757d; }

.wm-detail-grid .wm-kv .wm-kv-label {
	font-size: 12px;
	color: #6c757d;
	line-height: 1.1;
}
.wm-detail-grid .wm-kv .wm-kv-value {
	font-weight: 600;
	color: #212529;
	line-height: 1.2;
}

.wm-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #3A86FF;
}

.wm-form-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 10px;
	padding-top: 6px;
	border-top: 1px solid rgba(0,0,0,0.06);
	color: #3A86FF;
}

.wm-form-section-title i {
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	font-size: 12px;
	flex: 0 0 auto;
}

.wm-form-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #212529;
}

.wm-form-label i {
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 11px;
	flex: 0 0 auto;
}

.wm-addbottle-imgcard .card-header {
	background: rgba(0,0,0,0.25);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wm-addbottle-imgcard .card-body {
	padding: 10px;
}

.wm-addbottle-imgcard img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
	width: 100%;
	background: #111;
}

.accordion-button i {
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 11px;
}

.wm-muted {
	color: #6c757d;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-header .btn-close {
    background: none;
    border: none;
}

.modal-title {
    font-size: 1.5rem;
    color: #343a40;
}

.modal-body {
    padding: 20px;
}

.modal-body h5 {
    font-size: 1.75rem;
    margin-top: 10px;
}

.modal-body h6 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #6c757d;
}

.modal-body p {
    margin-bottom: 10px;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

#image-carousel {
    height: 125px;
    overflow: hidden; /* Ensures content outside the carousel is not visible */
}

#image-carousel .carousel-item img {
    height: 100%;
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image fits within the specified height */
}

.carousel-inner {
    display: flex;
}

.carousel-item {
    flex: 0 0 auto; /* Prevent the items from shrinking */
    width: 100px; /* Set a fixed width for each item */
}

.carousel-item img {
    width: 100px;
    height: 125px;
    object-fit: cover;
}

.whiskey-details .row > .col-md-6 {
    margin-bottom: 15px;
}

.whiskey-modal-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.collection-section {
    border: 2px solid #FB5607;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

.collection-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-item {
    width: 300px;
    aspect-ratio: 16 / 9;
    background-color: black;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    margin: 0 10px;
    position: relative;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.collection-item:hover {
    transform: scale(1.05);
}

.collection-item.active {
    outline: 4px solid #FFBE0B;
}

.collection-item p {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.wm-collimg-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 10px;
}

@media (max-width: 768px) {
	.wm-collimg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.wm-collimg-card {
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.wm-collimg-thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #111;
	display: block;
}

.wm-collimg-meta {
	padding: 8px 10px;
	display: grid;
	gap: 6px;
}

.wm-collimg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	justify-content: space-between;
}

.wm-collimg-actions .btn {
	padding: 0.25rem 0.5rem;
	font-size: 0.85rem;
}

.wm-collimg-cover {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-size: 0.85rem;
}

.section-header {
	font-size: 1.5em;
	margin-bottom: 10px;
}

.disclaimer {
	background-color: #FFF3CD;
	border: 1px solid #FFEEBA;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 20px;
	text-align: center;
}

#nav-cart-container {
	display: flex;
	align-items: center;
	padding-right: 0.5rem;
}

#nav-cart-container .nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 0.5rem;
}

#nav-cart-container .badge {
	font-size: 0.65rem;
	min-width: 1.2rem;
	height: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Utility for section headers on About page */
.section-title {
	color: #FB5607 !important;
}

/* About the Developer - Card styles */
.dev-card {
	border: 0;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.dev-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}

/* Accent bar and color system for dev cards */
.dev-card::before {
	content: "";
	display: block;
	height: 4px;
	border-radius: 16px 16px 0 0;
	background: var(--accent, linear-gradient(90deg, #E9ECEF, #F1F3F5));
}

.dev-card.wm { --accent: linear-gradient(90deg, #FB5607, #FFBE0B); --accent-color: #FB5607; }
.dev-card.drift { --accent: linear-gradient(90deg, #3A86FF, #99C2FF); --accent-color: #3A86FF; }
.dev-card.birdie { --accent: linear-gradient(90deg, #EF1C24, #FF9AA2); --accent-color: #EF1C24; }

.dev-icon {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
	padding: 6px;
    border: 2px solid var(--accent-color, #E9ECEF);
}

.dev-badge {
	font-size: 0.75rem;
	background: #EFF8FF;
	color: #3A86FF;
	border-radius: 999px;
	padding: 4px 10px;
}

.dev-cta {
	border-color: var(--accent-color, #E9ECEF);
	color: #0F172A;
}

.dev-cta:hover {
	background: rgba(251, 86, 7, 0.05);
	border-color: var(--accent-color, #DEE2E6);
}

/* Spacing inside the dev cards */
.dev-card .card-body {
	padding: 20px 22px;
	gap: 12px;
}

.dev-card .card-body > img {
	flex-shrink: 0;
}

/* Tech Stack cards */
.stack-card {
	border: 0;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
	box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
	height: 100%;
	transition: transform .2s ease, box-shadow .2s ease;
}

.stack-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(16, 24, 40, 0.1);
}

.stack-card::before {
	content: "";
	display: block;
	height: 3px;
	border-radius: 14px 14px 0 0;
	background: var(--accent, linear-gradient(90deg, #E9ECEF, #F1F3F5));
}

.stack-card .card-body {
	padding: 18px 20px;
}

.stack-card h3 {
	margin: 0 0 8px 0;
	font-size: 0.9rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #6c757d;
}

.stack-card ul {
	margin: 0;
	padding-left: 18px;
}

.stack-card li {
	margin-bottom: 6px;
}

/* Equal-height grid for stack cards */
.stack-grid > [class^="col-"],
.stack-grid > [class*=" col-"] {
	display: flex;
	flex: 1 0 0;
}

.stack-grid .stack-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.stack-card .card-body {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Alternate accents for stack cards */
.stack-grid > div:nth-child(1) .stack-card { --accent: linear-gradient(90deg, #FB5607, #FFBE0B); }
.stack-grid > div:nth-child(2) .stack-card { --accent: linear-gradient(90deg, #3A86FF, #99C2FF); }
.stack-grid > div:nth-child(3) .stack-card { --accent: linear-gradient(90deg, #EF1C24, #FF9AA2); }
.stack-grid > div:nth-child(4) .stack-card { --accent: linear-gradient(90deg, #FFBE0B, #FFD166); }
.stack-grid > div:nth-child(5) .stack-card { --accent: linear-gradient(90deg, #3A86FF, #8AB6FF); }
.stack-grid > div:nth-child(6) .stack-card { --accent: linear-gradient(90deg, #FB5607, #FF9F50); }
