
/* ================= GLOBAL BASE =================== */


html {
	height: 100%;
}

body {
	background: url("/media/gym1.png") no-repeat center center fixed;
	background-size: cover;
	color: #555;
	font-family: "Lato";
}

.auth-btn {
	width: 120px;
	/* uniform width */
}


.navbar-nav > .nav-item {
    margin-right: 3rem;
}


/* ================= UTILITIES ===================== */

/* From Bulma */
.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
}

.logo-font {
	text-transform: uppercase;
}

.main-logo-link {
	width: fit-content;
}

.text-black {
	color: #000;
}

.border-black {
	border: 1px solid #000 !important;
}

/* NOTE: renamed meaning — this is RED, not black */
.bg-black {
	background-color: #dc3545 !important;
}

a:hover,
a:focus {
    text-decoration-thickness: 2px;
}


.btn-primary,
.btn-success,
.btn-info {
  color: #fff;
}

.btn-primary {
  background-color: #004085;
}

.btn-success {
  background-color: #1e7e34;
}

.btn-info {
  background-color: #117a8b;
}


.btn-outline-black {
	background-color: #fff;
	color: #000 !important;
	border: 1px solid #000;
}

.btn-outline-black:hover,
.btn-outline-black:active,
.btn-outline-black:focus {
	background-color: #000;
	color: #fff !important;
}


/* -------------------------------- Media Queries */

/* Slightly larger container on xl screens */
@media (min-width: 1200px) {
	.container {
		max-width: 80%;
	}
}

/* Allauth form formatting */

.allauth-form-inner-content p {
	margin-top: 1.5rem;
	/* mt-4 */
	color: #6c757d;
	/* text-secondary */
}

.allauth-form-inner-content input {
	border-color: #000;
	border-radius: 0;
}

.allauth-form-inner-content label:not([for='id_remember']) {
	display: none;
}

.allauth-form-inner-content input::placeholder {
	color: #aab7c4;
}

.allauth-form-inner-content button,
.allauth-form-inner-content input[type='submit'] {
	/* btn */
	display: inline-block;
	font-weight: 400;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: #000;
	border: 1px solid #000;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0;

	/* standard bootstrap btn transitions */
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.allauth-form-inner-content button:hover,
.allauth-form-inner-content input[type='submit']:hover {
	color: #fff;
	background-color: #222;
	border-color: #222;
}

.allauth-form-inner-content a {
	color: #17a2b8;
	/* text-info */
}


/* ================= LINKS ========================= */

.btt-link,
.update-link,
.remove-item {
	cursor: pointer;
}

a.category-badge>span.badge:hover {
	background-color: #212529 !important;
	color: #fff !important;
}

input[name="q"]::placeholder {
	color: #aab7c4;
}


/* ================================================= */
/* ================= OVERLAY ======================= */
/* ================================================= */

.overlay {
	position: fixed;
	inset: 0;
	background-color: #fff;
	z-index: -1;
}


/* -----BACK TO TOP ------ */

.btt-button {
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 42px;
	height: 42px;
}


/* ================= TOASTS ======================== */

.message-container {
	position: fixed;
	top: 72px;
	right: 15px;
	z-index: 9999999999;
}

.custom-toast {
	overflow: visible;
}

.toast-capper {
	height: 2px;
}


/* Bootstrap color helpers */
.arrow-primary {
	border-bottom-color: #007bff !important;
}

.arrow-secondary {
	border-bottom-color: #6c757d !important;
}

.arrow-success {
	border-bottom-color: #28a745 !important;
}

.arrow-danger {
	border-bottom-color: #dc3545 !important;
}

.arrow-warning {
	border-bottom-color: #ffc107 !important;
}

.arrow-info {
	border-bottom-color: #17a2b8 !important;
}

.arrow-light {
	border-bottom-color: #f8f9fa !important;
}

.arrow-dark {
	border-bottom-color: #343a40 !important;
}


/* ================= LAYOUT ======================== */


/* XL container width */
@media (min-width: 1200px) {
	.container {
		max-width: 80%;
	}
}


/* ================= FIXED NAVBAR ================== */

@media (min-width: 992px) {
	.fixed-top-desktop-only {
		position: fixed;
		inset: 0 0 auto 0;
		z-index: 1030;
	}

	.header-container {
		padding-top: 164px;
	}
}

@media (max-width: 991px) {
	.header-container {
		padding-top: 116px;
	}

	body {
		height: auto;
	}
}

/* ================= CART TABLE ==================== */

/* Desktop & Tablet */
@media (min-width: 768px) {
	table.cart-table {
		width: 100%;
		border-collapse: collapse;
	}

	table.cart-table th,
	table.cart-table td {
		vertical-align: middle;
	}
}

/* Mobile */
@media (max-width: 767px) {

	table.cart-table,
	table.cart-table tbody,
	table.cart-table tr,
	table.cart-table td {
		display: block;
		width: 100%;
	}

	table.cart-table thead {
		display: none;
	}

	table.cart-table tbody tr {
		background-color: #fff;
		border: 1px solid #dee2e6;
		border-radius: 6px;
		padding: 12px;
		margin-bottom: 1rem;
	}

	table.cart-table tbody td {
		padding: 6px 0;
		text-align: left !important;
	}

	table.cart-table tbody td:last-child {
		text-align: right;
		font-weight: 600;
	}
}


/* ================= PRODUCT IMAGE ================= */

.cart-product-image {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.cart-product-image img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.cart-product-image img {
		width: 70px;
		height: 70px;
	}
}


/* ================= SUBSCRIPTIONS ================= */

.cart-subscription-row td {
	vertical-align: middle;
}

@media (min-width: 768px) {
	.cart-subscription-row {
		display: table-row;
	}
}

@media (max-width: 767px) {
	.cart-subscription-row {
		display: block;
		background-color: #fff;
		border: 1px solid #dee2e6;
		border-radius: 6px;
		padding: 12px;
		margin-bottom: 1rem;
	}

	.cart-subscription-row td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 6px 0;
		text-align: left !important;
	}

	.cart-subscription-row td:last-child {
		justify-content: flex-end;
		font-weight: 600;
	}
}


/* ================= FILE INPUT ==================== */

.btn-file {
	position: relative;
	overflow: hidden;
}

.btn-file input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}


/* ================= CHECKBOX ====================== */

.custom-checkbox .custom-control-label::before {
	border-radius: 0;
	border-color: #dc3545;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
	background-color: #dc3545;
	border-color: #dc3545;
}

/* ================= CHECKOUT ====================== */

.cart-checkout-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	width: 100%;
}

@media (max-width: 767px) {
	.cart-checkout-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cart-checkout-actions .btn {
		width: 100%;
		text-align: center;
	}
}


/* =========== DISABLED QTY BUTTON ================= */

.decrement-qty:disabled {
	background-color: #adb5bd !important;
	border-color: #adb5bd !important;
	color: #fff !important;
	cursor: not-allowed;
	opacity: 1;
	pointer-events: none;
}


.post-image-medium {
	width: 300px;
	height: 250px;
	border-radius: 12px;
	overflow: hidden;
	background-color: #f8f9fa;
}


.post-image-medium img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Comments width control */
.comments-wrapper {
	max-width: 70%;
	margin-left: auto;
	margin-right: auto;
}

/* Mobile fallback */
@media (max-width: 768px) {
	.comments-wrapper {
		max-width: 100%;
	}
}

/* 70% horizontal rule */
.content-divider {
	width: 70%;
	margin: 3rem auto;
	border-top: 1px solid #e5e5e5;
}

/* Mobile fallback */
@media (max-width: 768px) {
	.content-divider {
		width: 100%;
	}
}


.post-image-wrapper {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background-color: #f8f9fa;
}

.post-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* Reaction container */
.reaction-bar {
	display: flex;
	gap: 16px;
	align-items: center;
}

/* Clickable icon */
.reaction-icon {
	cursor: pointer;
	font-size: 1.3rem;
	user-select: none;
	display: inline-flex;
	align-items: center;
	transition: opacity 0.15s ease;
}

.reaction-icon:hover {
	opacity: 0.85;
}

/* Like (red heart) */
.heart-like {
	color: #e63946;
}

/* Unlike (bootstrap grey) */
.heart-unlike {
	color: #adb5bd;
}

/* Count badge */
.reaction-icon .badge {
	font-size: 0.75rem;
	font-weight: 500;
}

.post-image-wrapper {
	max-height: 300px;
	/* Adjust as needed */
	overflow: hidden;
}

.post-image-wrapper img {
	width: 100%;
	height: auto;
	object-fit: cover;
	/* Ensure images fill the space without distortion */
}

.cart-table td {
    vertical-align: middle;
}

footer a {
  color: #212529;
}
footer a:hover {
  color: #000;
}

/* ----submit searcgh button---- */
.btn-black {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.btn-black:hover,
.btn-black:focus,
.btn-black:active {
    background-color: #222 !important;
    color: #fff !important;
}

