@media (max-width: 768px) {
	/* Alternate user detail text color: red and white */
	.navbar-user-left .navbar-text {
		color: #fff !important;
		background: #e53935;
		padding: 4px 10px;
		border-radius: 6px;
		font-weight: bold;
		margin-bottom: 4px;
		display: inline-block;
	}
	.user-details-dropdown .user-detail-row {
		color: #e53935 !important;
		background: #fff;
		border-radius: 4px;
		margin-bottom: 4px;
		padding: 6px 8px;
		font-weight: bold;
	}
	.user-details-dropdown .user-detail-label {
		color: #e53935 !important;
	}
}
/* Mobile-friendly header styles */
@media (max-width: 768px) {
	.navbar-header {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px 0;
	}
	.site-logo {
		height: 36px !important;
		margin-left: 0 !important;
		margin-right: 8px;
	}
	.navbar-cart-center {
		width: 100%;
		text-align: center;
		margin: 0 auto;
		position: static !important;
		transform: none !important;
	}
	.navbar-user-left {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 8px;
		margin-top: 8px;
	}
	.navbar-nav {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		margin: 0;
		padding: 0;
	}
	.navbar-nav > li {
		width: 100%;
		text-align: left;
		margin-bottom: 4px;
	}
	.navbar-toggle {
		margin-right: 8px;
	}
	.dropdown-menu {
		width: 90vw;
		left: 5vw !important;
		right: 5vw !important;
		min-width: unset;
	}
}
.cart-checkout-panel {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%);
	border-left: 2px solid #11998e;
	border-right: 2px solid #11998e;
	overflow-x: auto;
}
.cart-checkout-header, .cart-checkout-body {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%);
	min-width: 480px;
}
@media(max-width:768px){
	.cart-checkout-panel {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0;
		border-radius: 12px;
	}
	.cart-checkout-header, .cart-checkout-body {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		min-width: 320px;
	}
}
/* ================= PAGE ================= */

body{
background:#f1f3f6;
font-family:Arial;
padding-bottom:70px;
}

/* ================= MOBILE BOTTOM NAV ================= */

.mobile-bottom-bar{
position:fixed;
bottom:0;
left:0;
right:0;
height:60px;
background:#EBDFDF;
border-top:1px solid #ddd;
display:flex;
justify-content:space-between;
align-items:center;
z-index:9999;
}

.mobile-nav-items{
flex:1;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
text-decoration:none;
color:#F03C13;
font-size:12px;
}

.mobile-nav-items i{
font-size:24px;
margin-bottom:3px;
}

.mobile-nav-items:hover{
background:#f5f5f5;
color:#000;
}

/* ================= HEADER ================= */

.mobile-bottom-bar2{
position:fixed;
top:0;
left:0;
right:0;
height:60px;
background:#0B3042;
display:flex;
justify-content:space-between;
align-items:center;
z-index:9999;
}

.site-logo{
height:45px;
margin-left:5px;
}

.user-name{
color:#fff !important;
font-size:18px;
font-weight:bold;



}

/* ================= FILTER SIDEBAR ================= */

.filter-sidebar{
background:blue;
padding:15px;
border-radius:6px;
position:sticky;
top:80px;
height:90vh;
overflow:auto;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

/* ================= SEARCH ================= */

.header-search-box{
position:sticky;
top:65px;
background:#fff;
padding:10px;
border-radius:6px;
margin-bottom:15px;
z-index:100;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

/* ================= PRODUCT GRID ================= */

#get_product{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:12px;
}

/* ================= PRODUCT CARD ================= */

.product-card{
background:#fff;
border:1px solid #eee;
border-radius:6px;
padding:10px;
text-align:center;
transition:0.3s;
}

.product-card:hover{
box-shadow:0 4px 12px rgba(0,0,0,0.2);
transform:translateY(-3px);
}

.product-card img{
width:100%;
height:120px;
object-fit:contain;
}

.product-title{
font-size:13px;
height:35px;
overflow:hidden;
}

.product-price{
color:#e53935;
font-weight:bold;
}

/* ADD CART */

.add-cart-btn{
background:#4AE34A;
border:none;
font-size:13px;
width:100%;
border-radius:6px;
padding:6px;
}

.add-cart-btn:hover{
background:#fb641b;
}

/* CART BADGE */

.cart-badge{
position:absolute;
top:-6px;
right:35px;
background:red;
color:#fff;
font-size:10px;
padding:2px 6px;
border-radius:50%;
}

/* ================= MOBILE FILTER PANEL ================= */

.mobile-filter{
position:fixed;
top:0;
right:-100%;
width:70%;
height:100%;
background:linear-gradient(327deg,#22c1c3 0%,#e8d1a2 66%);
z-index:9999;
padding:20px;
overflow:auto;
transition:0.3s;
}

.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #EBDFDF;
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
}
/* product grid */
#get_product{
grid-template-columns:repeat(2,1fr);
}

/* smaller product image */
.product-card img{
height:120px;
object-fit:contain;
width:100%;
}

/* search sticky fix */
.mobile-nav-items {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #F03C13;
  font-size: 14px;
  gap: 6px;
}
		top:4px;
		left:4px;
		background:#ff9800;
		color:#fff;
		font-size:10px;
		padding:2px 6px;
		border-radius:3px;
	.mobile-nav-items i {
	  font-size: 24px;
	  margin-right: 6px;
	  margin-bottom: 0;
	}
		}

		/* DISCOUNT PRICE */
		.discount-price{
		color:#e53935;
		font-weight:bold;
		font-size:14px;
		margin-right:5px;
		}

		/* ORIGINAL PRICE */
		.original-price{
		color:#777;
		font-size:11px;
		text-decoration:line-through;
		}
/* ================= DESKTOP ONLY ================= */

@media(min-width:768px){

.mobile-bottom-bar{
display:none;
}

}
/* ================= DESKTOP ONLY ================= */
/* ================= DESKTOP ONLY ================= */

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

.cart-action-help {
	margin-bottom: 0;
	border-radius: 8px;
	border-left: 4px solid #0d7377;
}

.cart-action-help-list {
	margin: 8px 0 0 0;
	padding-left: 20px;
}

.cart-action-help-list li {
	margin-bottom: 4px;
}

.cart-checkout-panel {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.cart-checkout-panel .panel-body {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.cart-checkout-body {
	min-width: 0;
}

.cart-checkout-header {
	background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
	color: #fff;
	margin: 0 -15px;
	padding: 12px 15px;
	font-size: 14px;
	border-bottom: 3px solid #0d7377;
	min-width: 480px;
}

.cart-panel-heading {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	font-size: 18px;
	padding: 14px 18px;
	border: none;
}

.cart-checkout-header .col-md-3,
.cart-checkout-header .col-xs-3,
.cart-checkout-header [class*="col-"] {
	padding-top: 8px;
	padding-bottom: 8px;
}

.cart-checkout-row {
	margin: 0 -15px;
	padding: 12px 15px;
	border-bottom: 1px solid #e0e0e0;
	align-items: center;
	min-width: 480px;
}

.cart-checkout-row.cart-row-color1 {
	background: #fff9e6;
}

.cart-checkout-row.cart-row-color2 {
	background: #e6f7ff;
}

.cart-checkout-row.cart-row-color3 {
	background: #f0ffe6;
}

.cart-checkout-row:hover {
	background: #fffef5 !important;
	box-shadow: inset 0 0 0 1px rgba(102, 126, 234, 0.2);
}

.cart-cell-img,
.cart-cell-name,
.cart-cell-brand,
.cart-cell-stock,
.cart-cell-qty,
.cart-cell-price,
.cart-cell-total,
.cart-cell-action {
	padding-top: 8px;
	padding-bottom: 8px;
	min-width: 0;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.cart-cell-brand,
.cart-cell-stock {
	font-size: 12px;
	color: #555;
}

.cart-stamp-img {
	width: 80px;
	height: 80px;
	min-width: 80px;
	min-height: 80px;
	object-fit: cover;
	border-radius: 8px;
	border: 2px solid #ddd;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-cell-name {
	font-weight: 600;
	color: #333;
	font-size: 13px;
	line-height: 1.3;
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
}

.cart-cell-qty .form-control,
.cart-cell-price .form-control,
.cart-cell-total .form-control {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-weight: 600;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.cart-cell-total .form-control {
	background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
	color: #2d3436;
	border-color: #fdcb6e;
}

.cart-cell-action .btn-group-vertical .btn {
	margin-bottom: 4px;
	border-radius: 6px;
}

.cart-cell-action .btn-danger {
	background: #e74c3c;
	border-color: #c0392b;
}

.cart-cell-action .btn-primary {
	background: #3498db;
	border-color: #2980b9;
}

.cart-checkout-total-row {
	background: linear-gradient(135deg, #2d3436 0%, #636e72 100%) !important;
	color: #fff;
	margin: 0 -15px;
	padding: 16px 15px;
	border-radius: 0 0 10px 10px;
}

.cart-checkout-total-row .net_total {
	color: #dfe6e9;
	font-size: 20px !important;
}

.desktop-checkout-btn .btn-success {
	background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
	border: none;
	border-radius: 8px;
	padding: 12px 24px;
	font-weight: bold;
	box-shadow: 0 4px 12px rgba(0, 182, 122, 0.4);
	margin-top: 15px;
}

.desktop-checkout-btn .btn-success:hover {
	background: linear-gradient(135deg, #00917a 0%, #7ab82e 100%);
	box-shadow: 0 6px 16px rgba(0, 182, 122, 0.5);
	color: #fff;
}

.mobile-checkout-bar {
	background: linear-gradient(135deg, #0B3042 0%, #1a4d6d 100%);
	padding: 15px;
	border-radius: 10px;
	margin-top: 15px;
	box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
}

.mobile-checkout-bar .mobile-total {
	display: block;
}

.mobile-checkout-bar .net_total {
	display: block;
	color: #fff;
	font-size: 16px;
	margin-bottom: 10px;
}

.mobile-checkout-bar .btn-success {
	background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
	border: none;
	border-radius: 8px;
	font-weight: bold;
	padding: 14px;
}

@media (max-width: 768px) {
	.cart-checkout-panel .panel-body {
		padding-left: 8px;
		padding-right: 8px;
	}

	.cart-checkout-header {
		font-size: 11px;
		padding: 10px 8px;
		min-width: 460px;
	}

	.cart-checkout-header [class*="col-"] {
		padding-left: 4px;
		padding-right: 4px;
	}

	.cart-stamp-img {
		width: 50px;
		height: 50px;
		min-width: 50px;
		min-height: 50px;
	}

	.cart-cell-name {
		font-size: 11px;
	}

	.cart-checkout-row {
		padding: 10px 8px;
		min-width: 460px;
	}

	.cart-checkout-row [class*="col-"] {
		padding-left: 4px;
		padding-right: 4px;
	}

	.cart-cell-qty .form-control,
	.cart-cell-price .form-control,
	.cart-cell-total .form-control {
		font-size: 12px;
		padding: 4px 6px;
	}

	.cart-cell-action .btn-group-vertical .btn {
		padding: 4px 8px;
	}

	.cart-cell-action .glyphicon {
		font-size: 12px;
	}
}
