/* =======================
   GLOBAL LAYOUT FIX (Sticky Footer)
======================= */
html, body {
	height: 100%;
}

body {
	font-size: 14px;
	display: flex;
	flex-direction: column;
	padding-bottom: 140px;
}

.osahan-favorites {
	flex: 1;
}

@media (min-width: 1400px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: 1220px!important;
	}
}

/* =======================
   BANNER SLIDER WITH TEXT & BUTTONS
======================= */
.osahan-slider {
	padding: 0;
	position: relative;
}
.osahan-slider-item {
	position: relative;
}
.osahan-slider-item img {
	width: 100%;
	height: auto;
	border-radius: 0;
}
.slider-text-overlay {
	position: absolute;
	top: 50%;
	left: 5%;
	transform: translateY(-50%);
	color: #fff;
	text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
	z-index: 2;
	max-width: 80%;
}
.slider-text-overlay h2 {
	font-weight: 800;
	margin-bottom: 10px;
	text-transform: capitalize;
	font-family: cursive;
}

/* Center Order Now Button Styling */
.banner-order-btn {
	margin-top: 20px;
	display: inline-block;
	cursor: pointer;
	transition: transform 0.3s ease;
}
.banner-order-btn:hover {
	transform: scale(1.05);
}
.banner-order-btn img {
	max-width: 180px;
	height: auto;
}

/* Bottom Feature Buttons Container - HIDDEN ON MOBILE */
.banner-features {
	display: none; /* Hide by default */
	position: absolute;
	bottom: 30px;
	left: 10%;
	gap: 15px;
	z-index: 3;
}

.feature-btn {
	color: #333;
	font-size: 14px;
	font-weight: 800;
	padding: 15px 20px;
	background: #ffffff;
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	border: 1px solid #ddd;
}

.feature-btn i {
	color: #2e7d32;
	font-size: 18px;
	font-weight: 800;
}

@media (min-width: 768px) {
	.slider-text-overlay {
		left: 10%;
	}
	.slider-text-overlay h2 {
		font-size: 4.5rem;
	}
	.banner-order-btn img {
		max-width: 250px;
	}
	/* Show features only on Desktop */
	.banner-features {
		display: flex; 
	}
}

/* Adjust text size on small screens */
@media (max-width: 576px) {
	.slider-text-overlay h2 {
		font-size: 1.8rem;
	}
	.banner-order-btn img {
		max-width: 140px;
	}
}

.slick-dots {
	bottom: 15px;
}

/* =======================
   QTY CONTROL
======================= */
.qty-control {
	display: inline-flex;
	align-items: center;
	background: #fff3cd;
	border-radius: 50px;
	padding: 5px 15px;
	margin-top: 10px;
}

.qty-btn {
	background: none;
	border: none;
	color: #d35400;
	font-weight: 600;
	font-size: 16px;
	padding: 0 10px;
	cursor: pointer;
	transition: transform 0.2s;
}

.qty-btn:hover {
	transform: scale(1.1);
}

.qty-btn:disabled {
	color: #ccc;
	cursor: not-allowed;
	transform: none;
}

.qty-val {
	font-weight: 600;
	color: #d35400;
	min-width: 28px;
	text-align: center;
	font-size: 14px;
}

/* =======================
   PRICING
======================= */
.pricing-container {
	margin: 10px 0;
}

.original-price {
	font-size: 12px;
	text-decoration: line-through;
	opacity: 0.7;
}

.current-price {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #ff6f00 !important;
}

/* =======================
   CART FOOTER
======================= */
.cart-footer {
	position: fixed;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 30px);
	max-width: 1220px;
	background: #fff;
	box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
	padding: 15px 20px;
	z-index: 1000;
	font-size: 14px;
	transition: transform 0.3s ease;
	border-top: 1px solid #f0f0f0;
	border-radius: 50px;
}

.cart-footer * {
	font-size: inherit;
}

.cart-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cart-left {
	display: flex;
	align-items: center;
	gap: 25px;
}

.cart-icon-wrapper {
	position: relative;
	background: #ffc107;
	border-radius: 12px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 20px;
}

.cart-icon {
	font-size: 24px;
	color: #fff;
}

.cart-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ff7810;
	color: #fff;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
	border: 2px solid #fff;
}

.cart-details {
	display: flex;
	align-items: center;
	gap: 0;
}

.cart-item,
.cart-price,
.cart-total {
	display: flex;
	flex-direction: column;
	padding: 0 20px;
	position: relative;
}

.cart-item::after,
.cart-price::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 30px;
	width: 1px;
	background: #e0e0e0;
}

.label {
	font-size: 14px!important;
	color: #717171!important;
	margin-bottom: 3px;
}

.cart-item .value,
.cart-price .value {
	font-size: 14px!important;
	color: #717171!important;
	font-weight: bold;
}

.cart-total .value {
	font-size: 14px;
	font-weight: 700;
	color: #ff6f00;
}

.cart-right {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-right: 20px;
}

.savings-info {
	display: flex;
	align-items: center;
	gap: 15px;
}

.you-saved,
#addMoreSaveText {
	color: #2e7d32;
	font-weight: 600;
	font-size: 14px;
}

.divider {
	color: #ccc;
	font-size: 16px;
}

.btn-checkout {
	background: #2e7d32;
	color: #fff;
	border: none;
	padding: 12px 30px;
	border-radius: 25px;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.3s ease;
}

.btn-checkout:hover {
	background: #1b5e20;
	color:#fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.cart-footer.highlight {
	animation: cartPulse 0.5s ease;
}

@keyframes cartPulse {
	0% { transform: translateX(-50%) scale(1); }
	50% { transform: translateX(-50%) scale(1.02); box-shadow: 0 -4px 20px rgba(0,0,0,0.15); }
	100% { transform: translateX(-50%) scale(1); }
}

/* =======================
   COMPANY FOOTER (FIXED ISSUE SOLVED)
======================= */
.company-footer {
	margin-top: auto;
	background: #1a1a1a;
	width: 100%;
}

/* =======================
   MOBILE RESPONSIVE FIX
======================= */
@media (max-width: 768px) {
	.cart-footer {
		left: 0 !important;
		transform: none !important;
		width: 100% !important;
		max-width: 100% !important;
		border-radius: 15px 15px 0 0 !important;
	}
	
	.cart-info {
		flex-direction: row !important;
		flex-wrap: wrap !important;
	}
	
	.cart-left {
		width: auto !important;
		flex: 1 !important;
	}
	
	.cart-right {
		width: auto !important;
		margin-right: 10px !important;
	}
	
	.cart-icon-wrapper {
		padding: 8px;
		margin-left: 10px;
	}
	
	.cart-icon {
		font-size: 20px;
	}
	
	.cart-badge {
		width: 18px;
		height: 18px;
		font-size: 14px;
	}
	
	.cart-details {
		flex: 1;
		gap: 15px;
	}
	
	.cart-item,
	.cart-price,
	.cart-total {
		padding: 0 10px;
	}
	
	.cart-item::after,
	.cart-price::after {
		height: 25px;
	}
	
	.label {
		font-size: 11px !important;
	}
	
	.cart-item .value,
	.cart-price .value {
		font-size: 12px !important;
	}
	
	.cart-total .value {
		font-size: 13px;
	}
	
	.cart-right {
		width: 100%;
		flex-direction: column;
		gap: 10px;
		margin-right: 0;
		padding: 0 15px;
	}
	
	.savings-info {
		width: 100%;
		justify-content: center;
		font-size: 12px;
	}
	
	.you-saved,
	#addMoreSaveText {
		font-size: 12px;
	}
	
	.btn-checkout {
		width: 100%;
		padding: 12px;
		font-size: 14px;
	}
	
	body {
		padding-bottom: 220px !important;
	}
	
	.col-md-4 {
		margin-bottom: 15px !important;
	}
	
	.col-md-4:last-child {
		margin-bottom: 180px !important;
	}
	
	.qty-control {
		display: inline-flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		padding: 4px 12px !important;
		margin-top: 8px !important;
	}
	
	.qty-btn {
		padding: 0 8px !important;
		font-size: 14px !important;
	}
	
	.qty-val {
		min-width: 24px !important;
		font-size: 13px !important;
	}
	
	.d-flex.justify-content-between.align-items-center.mb-2 {
		flex-wrap: nowrap !important;
		min-height: 55px;
		align-items: center !important;
	}
	
	.pricing-container {
		flex-shrink: 0;
		margin: 0 !important;
	}
}

@media (max-width: 576px) {
	.cart-details {
		gap: 10px;
	}
	
	.cart-item,
	.cart-price,
	.cart-total {
		padding: 0 5px;
	}
	
	.cart-item::after,
	.cart-price::after {
		display: none;
	}
	
	.label {
		font-size: 14px !important;
	}
	
	.cart-item .value,
	.cart-price .value {
		font-size: 14px !important;
	}
	
	.cart-total .value {
		font-size: 14px;
	}
	
	.cart-icon-wrapper {
		padding: 6px;
	}
	
	.cart-icon {
		font-size: 18px;
	}
	
	.d-flex.justify-content-between.align-items-center.mb-2 {
		flex-direction: row !important;
		align-items: center !important;
	}
	
	.pricing-container {
		margin-right: 5px !important;
	}
	
	.qty-control {
		padding: 3px 10px !important;
	}
	
	.qty-btn {
		padding: 0 6px !important;
		font-size: 13px !important;
	}
	
	.qty-val {
		min-width: 22px !important;
		font-size: 12px !important;
	}
	
	.col-md-4:last-child {
		margin-bottom: 200px !important;
	}
}

@media (max-width: 767px) {
	.cart-left {
		gap: 15px;
	}

	.cart-item,
	.cart-price,
	.cart-total {
		padding: 0 8px;
	}

	.btn-checkout {
		padding: 10px 20px;
		font-size: 14px;
	}

	.cart-footer {
		bottom: 60px;
		border-radius: 15px 15px 0 0;
	}

	body {
		padding-bottom: 220px !important;
	}
}

.grid-card {
	overflow: visible !important;
}

.list-card-body {
	overflow: visible !important;
}

/* =======================
FLOATING SOCIAL ICONS (FIXED RIGHT CENTER)
======================= */
.floating-social-icons {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000; /* Stays above cart footer & modals */
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: floatSocial 3.5s ease-in-out infinite;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Hover Effects */
.social-icon:hover {
    transform: scale(1.15) translateX(-8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.social-icon:hover svg {
    transform: rotate(15deg) scale(1.1);
}

/* Platform Brand Colors */
.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }
.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); 
}

/* Smooth Floating Animation */
@keyframes floatSocial {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 10px)); }
}

/* Pause animation on hover for better UX */
.floating-social-icons:hover {
    animation-play-state: paused;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .floating-social-icons {
        right: 12px;
        gap: 10px;
    }
    .social-icon {
        width: 42px;
        height: 42px;
    }
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}