/**
 * Arewa Recently Viewed Content - Frontend Styles
 * Card layout with text overlay on image
 */

/* Increased specificity to override theme styles */
body .arwrev-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 30px 20px;
}

body .arwrev-message {
	text-align: center;
	padding: 60px 20px;
	color: #666;
	font-size: 18px;
	background: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #e8e8e8;
	margin-bottom: 0;
}

/* Login Required Container */
body .arwrev-container.arwrev-login-required {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

body .arwrev-login-button-wrapper {
	margin-top: 25px;
	text-align: center;
}

body .arwrev-login-button {
	display: inline-block;
	padding: 14px 32px;
	background: #667eea;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

body .arwrev-login-button:hover {
	background: #5568d3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
	text-decoration: none !important;
}

body .arwrev-login-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

body .arwrev-actions {
	margin-bottom: 35px;
	text-align: right;
	padding: 0 20px;
}

body .arwrev-actions .button {
	padding: 12px 24px;
	background: #dc3545;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

body .arwrev-actions .button:hover {
	background: #c82333;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

body .arwrev-actions .button:active {
	transform: translateY(0);
}

body .arwrev-actions .button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

body .arwrev-grid {
	display: grid;
	gap: var(--arwrev-gap-desktop, 11px);
	margin-bottom: 40px;
	grid-template-columns: repeat(var(--columns-desktop, 6), 1fr);
}

/* Responsive Grid - Tablet */
@media (max-width: 1023px) {
	body .arwrev-container {
		max-width: 100%;
		padding: 20px 0;
		margin: 0;
	}

	body .arwrev-actions {
		padding: 0 15px;
	}

	body .arwrev-grid {
		grid-template-columns: repeat(var(--columns-tablet, 4), 1fr);
		gap: var(--arwrev-gap-tablet, 9px);
		padding: 0 8px;
	}
}

/* Responsive Grid - Mobile */
@media (max-width: 767px) {
	body .arwrev-container {
		max-width: 100%;
		padding: 15px 0;
		margin: 0;
	}

	body .arwrev-grid {
		grid-template-columns: repeat(var(--columns-mobile, 2), 1fr);
		gap: var(--arwrev-gap-mobile, 8px);
		padding: 0 5px;
	}

	body .arwrev-actions {
		text-align: center;
		margin-bottom: 25px;
		padding: 0 15px;
	}

	body .arwrev-actions .button {
		width: 100%;
		max-width: 300px;
	}

	body .arwrev-message {
		margin: 0 15px;
	}

	body .arwrev-login-button {
		padding: 12px 28px;
		font-size: 15px;
	}
}

@media (max-width: 767px) {
	body .arwrev-login-button {
		padding: 12px 24px;
		font-size: 14px;
		width: 100%;
		max-width: 280px;
	}
}

/* Card Item */
body .arwrev-item {
	background: #fff;
	border-radius: 12px;
	overflow: visible;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	position: relative;
}

body .arwrev-item:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}

/* Image Container with Overlay */
body .arwrev-item-image {
	position: relative;
	width: 100%;
	height: var(--image-height, 250px);
	overflow: hidden;
	background: #f5f5f5;
	border-radius: 12px 12px 0 0;
}

body .arwrev-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	image-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	backface-visibility: hidden;
	transform: translateZ(0);
}

body .arwrev-item:hover .arwrev-item-image img {
	transform: scale(1.08);
}

/* Play Button */
body .arwrev-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
	opacity: 1;
	transition: all 0.3s ease;
	pointer-events: none;
}

body .arwrev-play-button svg {
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
	transition: all 0.3s ease;
}

body .arwrev-item:hover .arwrev-play-button {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.1);
}

body .arwrev-item:hover .arwrev-play-button svg {
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

body .arwrev-play-button circle {
	transition: fill 0.3s ease;
}

body .arwrev-item:hover .arwrev-play-button circle {
	fill: rgba(255, 255, 255, 1);
}

body .arwrev-play-button path {
	transition: fill 0.3s ease;
}

body .arwrev-item:hover .arwrev-play-button path {
	fill: #667eea;
}

body .arwrev-placeholder-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 32px;
	opacity: 0.9;
}

/* Text Overlay */
body .arwrev-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
	padding: 20px 15px 15px;
	color: #fff;
	transform: translateY(0);
	transition: all 0.3s ease;
}

body .arwrev-item:hover .arwrev-overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

body .arwrev-overlay .arwrev-item-title {
	margin: 0 0 10px 0;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
	color: #fff;
	min-height: auto;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body .arwrev-overlay .arwrev-item-title a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s ease;
}

body .arwrev-overlay .arwrev-item-title a:hover {
	color: #fff;
	opacity: 0.9;
}

body .arwrev-overlay .arwrev-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.95);
	align-items: center;
}

body .arwrev-overlay .arwrev-item-type {
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(10px);
	color: #fff;
	padding: 4px 10px;
	border-radius: 12px;
	font-weight: 500;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

body .arwrev-overlay .arwrev-item-date {
	color: rgba(255, 255, 255, 0.9);
	font-size: 11px;
	flex: 1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Content (fallback when image is hidden) */
body .arwrev-item-content {
	padding: 18px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

body .arwrev-item-content .arwrev-item-title {
	margin: 0 0 12px 0;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 600;
	min-height: 48px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body .arwrev-item-content .arwrev-item-title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
}

body .arwrev-item-content .arwrev-item-title a:hover {
	color: #667eea;
}

body .arwrev-item-content .arwrev-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 13px;
	color: #666;
	align-items: center;
}

body .arwrev-item-content .arwrev-item-type {
	background: #f0f4ff;
	color: #4a6cf7;
	padding: 5px 12px;
	border-radius: 20px;
	font-weight: 500;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

body .arwrev-item-content .arwrev-item-date {
	color: #888;
	font-size: 12px;
	flex: 1;
}

/* Remove Button */
body .arwrev-remove-item {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #666;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.3s ease;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

body .arwrev-remove-item:hover {
	background: #dc3545;
	border-color: #dc3545;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

body .arwrev-remove-item:active {
	transform: translateY(0);
}

body .arwrev-remove-item:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Pagination */
body .arwrev-pagination {
	text-align: center;
	padding: 30px 20px 10px;
}

@media (max-width: 1023px) {
	body .arwrev-pagination {
		padding: 30px 15px 10px;
	}
}

@media (max-width: 767px) {
	body .arwrev-pagination {
		padding: 30px 10px 10px;
	}
}

body .arwrev-pagination .page-numbers {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

body .arwrev-pagination .page-numbers li {
	display: inline-block;
}

body .arwrev-pagination .page-numbers a,
body .arwrev-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	text-decoration: none;
	color: #495057;
	transition: all 0.3s ease;
	font-weight: 600;
	min-width: 45px;
	height: 45px;
	text-align: center;
	font-size: 15px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

body .arwrev-pagination .page-numbers a:hover {
	background: #667eea;
	border-color: #667eea;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

body .arwrev-pagination .page-numbers .current {
	background: #667eea;
	border-color: #667eea;
	color: #fff;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
	font-weight: 700;
}

/* Additional responsive adjustments */
@media (max-width: 480px) {
	body .arwrev-item-content {
		padding: 15px;
	}

	body .arwrev-item-content .arwrev-item-title {
		font-size: 15px;
		min-height: 45px;
	}

	body .arwrev-item-image {
		height: calc(var(--image-height, 250px) * 0.9);
	}

	body .arwrev-play-button svg {
		width: 40px;
		height: 40px;
	}

	body .arwrev-overlay {
		padding: 15px 12px 12px;
	}

	body .arwrev-overlay .arwrev-item-title {
		font-size: 14px;
	}

	body .arwrev-pagination .page-numbers {
		gap: 6px;
	}

	body .arwrev-pagination .page-numbers a,
	body .arwrev-pagination .page-numbers span {
		padding: 10px 14px;
		min-width: 40px;
		height: 40px;
		font-size: 14px;
	}
}

/* Loading state */
body .arwrev-loading {
	opacity: 0.6;
	pointer-events: none;
	position: relative;
}

body .arwrev-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	margin: -12px 0 0 -12px;
	border: 3px solid #667eea;
	border-top-color: transparent;
	border-radius: 50%;
	animation: arwrev-spin 0.7s linear infinite;
	z-index: 10;
}

@keyframes arwrev-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Smooth fade animations */
body .arwrev-item {
	animation: arwrev-fade-in 0.4s ease-out;
}

@keyframes arwrev-fade-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Modal Styles */
@keyframes arwrevFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

body .arwrev-modal-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0, 0, 0, 0.6) !important;
	backdrop-filter: blur(4px);
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 999999 !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	animation: arwrevFadeIn 0.3s ease-out forwards;
}

body .arwrev-modal {
	background: #fff !important;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
	max-width: 90%;
	width: 100%;
	max-width: 450px;
	margin: 20px;
	transform: scale(0.9);
	animation: arwrevModalSlideIn 0.3s ease-out forwards;
	overflow: hidden;
	position: relative !important;
	z-index: 1000000 !important;
	pointer-events: auto !important;
}

@keyframes arwrevModalSlideIn {
	from {
		transform: scale(0.9) translateY(-20px);
		opacity: 0;
	}
	to {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

@keyframes arwrevFadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes arwrevModalSlideOut {
	from {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
	to {
		transform: scale(0.9) translateY(-20px);
		opacity: 0;
	}
}

body .arwrev-modal-header {
	padding: 24px 24px 16px;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body .arwrev-modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #111827;
	line-height: 1.4;
}

body .arwrev-modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: #6b7280;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: all 0.2s ease;
	line-height: 1;
}

body .arwrev-modal-close:hover {
	background: #f3f4f6;
	color: #111827;
}

body .arwrev-modal-body {
	padding: 24px;
	color: #374151;
	line-height: 1.6;
	font-size: 15px;
}

body .arwrev-modal-footer {
	padding: 16px 24px 24px;
	border-top: 1px solid #e5e7eb;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

body .arwrev-modal-button {
	padding: 10px 24px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	min-width: 100px;
}

body .arwrev-modal-button-primary {
	background: #667eea;
	color: #fff;
}

body .arwrev-modal-button-primary:hover {
	background: #5568d3;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

body .arwrev-modal-button-secondary {
	background: #f3f4f6;
	color: #374151;
}

body .arwrev-modal-button-secondary:hover {
	background: #e5e7eb;
}

body .arwrev-modal-button-danger {
	background: #ef4444;
	color: #fff;
}

body .arwrev-modal-button-danger:hover {
	background: #dc2626;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

@media (max-width: 767px) {
	body .arwrev-modal {
		margin: 15px;
		max-width: calc(100% - 30px);
	}

	body .arwrev-modal-header {
		padding: 20px 20px 14px;
	}

	body .arwrev-modal-title {
		font-size: 18px;
	}

	body .arwrev-modal-body {
		padding: 20px;
		font-size: 14px;
	}

	body .arwrev-modal-footer {
		padding: 14px 20px 20px;
		flex-direction: column;
	}

	body .arwrev-modal-button {
		width: 100%;
		min-width: auto;
	}
}

/* ========================================
	ARTICLE LAYOUT STYLES - Magazine/News Design
	======================================== */

/* Magazine Grid Container */
body .arwrev-container .arwrev-magazine-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--arwrev-gap-desktop, 11px);
	margin-bottom: 40px;
}

/* Magazine Card */
body .arwrev-magazine-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	background: #f8f9fa;
}

body .arwrev-magazine-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body .arwrev-magazine-card-inner {
	position: relative;
	height: 100%;
}

/* Magazine Link */
body .arwrev-magazine-link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

/* Magazine Image Container */
body .arwrev-magazine-image {
	position: relative;
	width: 100%;
	height: 320px;
	overflow: hidden;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body .arwrev-magazine-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body .arwrev-magazine-card:hover .arwrev-magazine-thumbnail {
	transform: scale(1.08);
}

/* Placeholder for no image */
body .arwrev-magazine-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: rgba(255, 255, 255, 0.8);
}

/* Gradient Overlay - Only bottom 30-40% */
body .arwrev-magazine-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
	transition: background 0.4s ease;
	z-index: 1;
}

body .arwrev-magazine-card:hover .arwrev-magazine-overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.3));
}

/* Content Overlay - Positioned at bottom with controlled height */
body .arwrev-magazine-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 16px;
	z-index: 2;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
}

/* Top Meta */
body .arwrev-magazine-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	flex-wrap: wrap;
}

body .arwrev-magazine-category {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	color: #fff;
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

body .arwrev-magazine-date {
	color: rgba(255, 255, 255, 0.9);
	font-size: 11px;
	font-weight: 500;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Magazine Title */
body .arwrev-magazine-title {
	margin: 0 0 4px 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: all 0.3s ease;
}

body .arwrev-magazine-card:hover .arwrev-magazine-title {
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

/* Magazine Excerpt (always visible) */
body .arwrev-magazine-excerpt {
	margin: 2px 0 6px 0;
	opacity: 1;
	transform: translateY(0);
}

body .arwrev-magazine-excerpt p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Magazine Footer with Continue Reading Button */
body .arwrev-magazine-footer {
	margin-top: 4px;
}

body .arwrev-continue-reading-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	color: #fff;
	padding: 8px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body .arwrev-magazine-card:hover .arwrev-continue-reading-btn {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body .arwrev-btn-arrow {
	transition: transform 0.3s ease;
}

body .arwrev-magazine-card:hover .arwrev-btn-arrow {
	transform: translateX(4px);
}

/* Remove Button */
body .arwrev-remove-magazine-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.9);
	padding: 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	opacity: 0;
	transform: scale(0.8);
}

body .arwrev-magazine-card:hover .arwrev-remove-magazine-btn {
	opacity: 1;
	transform: scale(1);
}

body .arwrev-remove-magazine-btn:hover {
	background: #ef4444;
	border-color: #ef4444;
	color: #fff;
	transform: scale(1.1);
}

/* Tablet Styles */
@media (max-width: 1023px) {
	body .arwrev-container .arwrev-magazine-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--arwrev-gap-tablet, 9px);
		padding: 0 15px;
	}

	body .arwrev-magazine-image {
		height: 300px;
	}

	body .arwrev-magazine-content {
		padding: 14px;
	}

	body .arwrev-magazine-title {
		font-size: 16px;
		margin-bottom: 3px;
		-webkit-line-clamp: 2;
	}

	body .arwrev-magazine-excerpt {
		margin: 2px 0 5px 0;
	}

	body .arwrev-magazine-excerpt p {
		font-size: 12px;
	}

	body .arwrev-continue-reading-btn {
		font-size: 11px;
		padding: 7px 10px;
	}

	body .arwrev-magazine-footer {
		margin-top: 3px;
	}
}

/* Mobile Styles */
@media (max-width: 767px) {
	body .arwrev-container .arwrev-magazine-grid {
		grid-template-columns: 1fr;
		gap: var(--arwrev-gap-mobile, 8px);
		padding: 0 10px;
	}

	body .arwrev-magazine-card {
		border-radius: 12px;
	}

	body .arwrev-magazine-image {
		height: 280px;
	}

	body .arwrev-magazine-content {
		padding: 12px;
	}

	body .arwrev-magazine-title {
		font-size: 15px;
		margin-bottom: 3px;
	}

	body .arwrev-magazine-meta {
		margin-bottom: 5px;
		gap: 6px;
	}

	body .arwrev-magazine-category {
		font-size: 9px;
		padding: 3px 6px;
	}

	body .arwrev-magazine-date {
		font-size: 10px;
	}

	body .arwrev-magazine-excerpt {
		margin: 2px 0 4px 0;
	}

	body .arwrev-magazine-excerpt p {
		font-size: 12px;
		-webkit-line-clamp: 2;
	}

	body .arwrev-continue-reading-btn {
		font-size: 11px;
		padding: 6px 10px;
	}

	body .arwrev-magazine-footer {
		margin-top: 3px;
	}

	body .arwrev-remove-magazine-btn {
		opacity: 1;
		transform: scale(1);
		top: 8px;
		right: 8px;
		padding: 6px;
	}
}

/* Small Mobile Styles */
@media (max-width: 480px) {
	body .arwrev-container .arwrev-magazine-grid {
		gap: var(--arwrev-gap-mobile, 8px);
		padding: 0 8px;
	}

	body .arwrev-magazine-image {
		height: 240px;
	}

	body .arwrev-magazine-content {
		padding: 10px;
	}

	body .arwrev-magazine-title {
		font-size: 14px;
		margin-bottom: 2px;
	}

	body .arwrev-magazine-category {
		font-size: 8px;
		padding: 2px 4px;
	}

	body .arwrev-magazine-date {
		font-size: 9px;
	}

	body .arwrev-magazine-excerpt {
		margin: 1px 0 3px 0;
	}

	body .arwrev-magazine-excerpt p {
		font-size: 11px;
	}

	body .arwrev-continue-reading-btn {
		font-size: 10px;
		padding: 5px 8px;
	}

	body .arwrev-magazine-footer {
		margin-top: 2px;
	}
}

/* Animation for magazine cards */
body .arwrev-magazine-card {
	animation: arwrev-magazine-fade-in 0.6s ease-out;
}

@keyframes arwrev-magazine-fade-in {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Loading state for magazine */
body .arwrev-magazine-grid.arwrev-loading .arwrev-magazine-card {
	opacity: 0.6;
	pointer-events: none;
}

/* Focus states for accessibility */
body .arwrev-magazine-link:focus {
	outline: 3px solid #667eea;
	outline-offset: 2px;
	border-radius: 16px;
}

body .arwrev-remove-magazine-btn:focus {
	outline: 2px solid #fff;
	outline-offset: 2px;
	border-radius: 8px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	body .arwrev-magazine-overlay {
		background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.4));
	}

	body .arwrev-magazine-category {
		background: #000;
		color: #fff;
		border: 2px solid #fff;
	}

	body .arwrev-magazine-title {
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	body .arwrev-magazine-card,
	body .arwrev-magazine-thumbnail,
	body .arwrev-magazine-overlay,
	body .arwrev-magazine-excerpt,
	body .arwrev-remove-magazine-btn {
		transition: none;
	}

	body .arwrev-magazine-card:hover {
		transform: none;
	}

	body .arwrev-magazine-card:hover .arwrev-magazine-thumbnail {
		transform: none;
	}
}

/* ========================================
	SHOP LAYOUT STYLES - Professional Card Grid
	======================================== */

/* Shop Container */
body .arwrev-shop-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 30px 20px;
}

/* Shop Grid - 4 columns desktop, 3 columns tablet, 2 columns mobile */
body .arwrev-shop-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--arwrev-gap-desktop, 11px);
	margin-bottom: 40px;
}

/* Shop Card */
body .arwrev-shop-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

body .arwrev-shop-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Shop Image Container */
body .arwrev-shop-image {
	position: relative;
	width: 100%;
	height: 280px;
	overflow: hidden;
	background: #f8f9fa;
}

body .arwrev-shop-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

body .arwrev-shop-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body .arwrev-shop-card:hover .arwrev-shop-thumbnail {
	transform: scale(1.08);
}

/* Shop Placeholder */
body .arwrev-shop-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: rgba(255, 255, 255, 0.8);
	gap: 8px;
}

body .arwrev-shop-placeholder span {
	font-size: 14px;
	font-weight: 500;
}

/* Sale Badge */
body .arwrev-shop-sale-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #ef4444;
	color: #fff;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 5;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
	animation: arwrev-pulse 2s infinite;
}

@keyframes arwrev-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

/* Recently Viewed Badge */
body .arwrev-shop-viewed-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	color: #fff;
	padding: 6px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 4px;
	z-index: 5;
	opacity: 0;
	transform: translateY(-10px);
	transition: all 0.3s ease;
}

body .arwrev-shop-card:hover .arwrev-shop-viewed-badge {
	opacity: 1;
	transform: translateY(0);
}

/* Remove Button */
body .arwrev-shop-remove-btn {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(0, 0, 0, 0.1);
	color: #666;
	padding: 8px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	opacity: 0;
	transform: translateY(-50%) scale(0.8);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

body .arwrev-shop-card:hover .arwrev-shop-remove-btn {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

body .arwrev-shop-remove-btn:hover {
	background: #ef4444;
	border-color: #ef4444;
	color: #fff;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Shop Content */
body .arwrev-shop-content {
	padding: 16px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

/* Shop Title */
body .arwrev-shop-title {
	margin: 0 0 8px 0;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
	min-height: 44px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body .arwrev-shop-title-link {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.3s ease;
}

body .arwrev-shop-title-link:hover {
	color: #667eea;
}

/* Shop Price */
body .arwrev-shop-price {
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: 700;
	color: #667eea;
}

body .arwrev-shop-price del {
	color: #999;
	font-weight: 400;
	font-size: 14px;
	margin-right: 8px;
}

body .arwrev-shop-price ins {
	text-decoration: none;
	color: #ef4444;
}

/* Shop Actions */
body .arwrev-shop-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

/* Shop Buttons */
body .arwrev-shop-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

body .arwrev-shop-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

body .arwrev-shop-btn:hover::before {
	left: 100%;
}

/* View Product Button */
body .arwrev-shop-btn-view {
	background: #f8f9fa;
	color: #495057;
	border: 2px solid #e9ecef;
}

body .arwrev-shop-btn-view:hover {
	background: #667eea;
	border-color: #667eea;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Add to Cart Button */
body .arwrev-shop-btn-cart {
	background: #667eea;
	color: #fff;
	border: 2px solid #667eea;
}

body .arwrev-shop-btn-cart:hover {
	background: #5568d3;
	border-color: #5568d3;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

body .arwrev-shop-btn-cart:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Shop Meta */
body .arwrev-shop-meta {
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid #f1f3f4;
}

body .arwrev-shop-date {
	color: #6c757d;
	font-size: 12px;
	font-weight: 500;
}

/* Tablet Styles - 3 columns */
@media (max-width: 1023px) {
	body .arwrev-shop-container {
		padding: 20px 15px;
	}

	body .arwrev-shop-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--arwrev-gap-tablet, 9px);
	}

	body .arwrev-shop-image {
		height: 240px;
	}

	body .arwrev-shop-content {
		padding: 14px;
	}

	body .arwrev-shop-title {
		font-size: 15px;
		min-height: 40px;
		margin-bottom: 6px;
	}

	body .arwrev-shop-price {
		font-size: 16px;
		margin-bottom: 10px;
	}

	body .arwrev-shop-btn {
		padding: 10px 14px;
		font-size: 13px;
	}

	body .arwrev-shop-actions {
		gap: 6px;
		margin-bottom: 10px;
	}
}

/* Mobile Styles - 2 columns */
@media (max-width: 767px) {
	body .arwrev-shop-container {
		padding: 15px 10px;
	}

	body .arwrev-shop-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--arwrev-gap-mobile, 8px);
	}

	body .arwrev-shop-card {
		border-radius: 12px;
	}

	body .arwrev-shop-image {
		height: 180px;
	}

	body .arwrev-shop-content {
		padding: 12px;
	}

	body .arwrev-shop-title {
		font-size: 14px;
		min-height: 36px;
		margin-bottom: 6px;
	}

	body .arwrev-shop-price {
		font-size: 15px;
		margin-bottom: 8px;
	}

	body .arwrev-shop-btn {
		padding: 8px 10px;
		font-size: 12px;
		gap: 6px;
	}

	body .arwrev-shop-btn svg {
		width: 14px;
		height: 14px;
	}

	body .arwrev-shop-actions {
		gap: 6px;
		margin-bottom: 8px;
	}

	/* Always show remove button on mobile */
	body .arwrev-shop-remove-btn {
		opacity: 1;
		transform: translateY(-50%) scale(1);
		right: 8px;
		padding: 6px;
	}

	body .arwrev-shop-viewed-badge {
		opacity: 1;
		transform: translateY(0);
		top: 8px;
		right: 8px;
		padding: 4px 8px;
		font-size: 10px;
	}

	body .arwrev-shop-sale-badge {
		top: 8px;
		left: 8px;
		padding: 4px 8px;
		font-size: 10px;
	}

	body .arwrev-shop-meta {
		padding-top: 6px;
	}
}

/* Small Mobile Styles */
@media (max-width: 480px) {
	body .arwrev-shop-grid {
		gap: var(--arwrev-gap-mobile, 8px);
	}

	body .arwrev-shop-image {
		height: 160px;
	}

	body .arwrev-shop-content {
		padding: 10px;
	}

	body .arwrev-shop-title {
		font-size: 13px;
		min-height: 32px;
		margin-bottom: 4px;
	}

	body .arwrev-shop-price {
		font-size: 14px;
		margin-bottom: 6px;
	}

	body .arwrev-shop-btn {
		padding: 7px 8px;
		font-size: 11px;
	}

	body .arwrev-shop-actions {
		gap: 5px;
		margin-bottom: 6px;
	}

	body .arwrev-shop-meta {
		padding-top: 4px;
	}
}

/* Animation for shop cards */
body .arwrev-shop-card {
	animation: arwrev-shop-fade-in 0.6s ease-out;
}

@keyframes arwrev-shop-fade-in {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Loading state for shop */
body .arwrev-shop-grid.arwrev-loading .arwrev-shop-card {
	opacity: 0.6;
	pointer-events: none;
}

/* Focus states for accessibility */
body .arwrev-shop-link:focus,
body .arwrev-shop-title-link:focus,
body .arwrev-shop-btn:focus {
	outline: 3px solid #667eea;
	outline-offset: 2px;
	border-radius: 8px;
}

body .arwrev-shop-remove-btn:focus {
	outline: 2px solid #ef4444;
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	body .arwrev-shop-card {
		border: 2px solid #000;
	}

	body .arwrev-shop-btn-view {
		background: #fff;
		color: #000;
		border: 2px solid #000;
	}

	body .arwrev-shop-btn-cart {
		background: #000;
		color: #fff;
		border: 2px solid #000;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	body .arwrev-shop-card,
	body .arwrev-shop-thumbnail,
	body .arwrev-shop-btn,
	body .arwrev-shop-remove-btn,
	body .arwrev-shop-viewed-badge {
		transition: none;
	}

	body .arwrev-shop-card:hover {
		transform: none;
	}

	body .arwrev-shop-card:hover .arwrev-shop-thumbnail {
		transform: none;
	}

	body .arwrev-shop-btn:hover {
		transform: none;
	}

	body .arwrev-shop-sale-badge {
		animation: none;
	}
}

/* Print styles */
@media print {
	body .arwrev-shop-remove-btn,
	body .arwrev-shop-viewed-badge,
	body .arwrev-shop-actions {
		display: none !important;
	}

	body .arwrev-shop-card {
		box-shadow: none;
		border: 1px solid #ccc;
	}
}

/* ========================================
	CAROUSEL LAYOUT STYLES - Professional Horizontal Carousel
	======================================== */

/* Carousel Container */
body .arwrev-layout-carousel {
	max-width: 100%;
	margin: 0 auto;
	padding: 40px 0;
	background: transparent !important;
	box-sizing: border-box;
}

/* Desktop: Add 20px padding */
@media (min-width: 1024px) {
	body .arwrev-layout-carousel {
		padding: 40px 20px;
	}
}

/* Carousel Wrapper */
body .arwrev-carousel-container {
	position: relative;
	overflow: visible;
	border-radius: 0;
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	width: 100%;
	box-sizing: border-box;
}

body .arwrev-carousel-wrapper {
	overflow: hidden !important; /* FORCE overflow hidden */
	position: relative;
	margin: 0;
	background: transparent !important;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

/* Carousel Track - Horizontal Scrolling */
body .arwrev-carousel-track {
	display: flex;
	flex-wrap: nowrap !important; /* Prevent wrapping */
	gap: var(--arwrev-gap-desktop, 11px);
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
	width: auto !important; /* Let it calculate based on items */
	box-sizing: border-box;
	margin: 0 !important; /* Remove any auto margins */
	padding: 0 !important;
}

/* Smooth auto-play transitions */
body .arwrev-carousel-track.arwrev-auto-playing {
	transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Enhanced hover effects for auto-play */
body .arwrev-carousel-container:hover .arwrev-carousel-track {
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Auto-play indicator (optional) */
body .arwrev-carousel-container::before {
	content: '';
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	border-radius: 2px;
	opacity: 0.6;
	animation: arwrev-auto-play-pulse 4s infinite;
	z-index: 5;
}

body .arwrev-carousel-container:hover::before {
	animation-play-state: paused;
	opacity: 0.3;
}

@keyframes arwrev-auto-play-pulse {
	0%, 100% {
		opacity: 0.6;
		transform: translateX(-50%) scaleX(1);
	}
	50% {
		opacity: 1;
		transform: translateX(-50%) scaleX(1.2);
	}
}

/* Ensure carousel items are properly sized */
body .arwrev-item-carousel {
	flex: 0 0 auto !important; /* NEVER grow or shrink */
	flex-shrink: 0 !important; /* Force no shrinking */
	background: #fff !important;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	height: 400px;
	display: flex !important;
	flex-direction: column !important;
	box-sizing: border-box !important; /* FORCE border-box */
	margin: 0 !important; /* NO auto margins */
	padding: 0 !important;
}

/* Desktop (>1024px): 3 slides with 10px gap */
@media (min-width: 1024px) {
	body .arwrev-item-carousel {
		width: calc((100% - 20px) / 3) !important; /* FORCE exact width */
		min-width: calc((100% - 20px) / 3) !important;
		max-width: calc((100% - 20px) / 3) !important;
	}
}

/* Tablet (768px - 1023px): 2 slides with 10px gap */
@media (min-width: 768px) and (max-width: 1023px) {
	body .arwrev-item-carousel {
		width: calc((100% - 10px) / 2) !important; /* FORCE exact width */
		min-width: calc((100% - 10px) / 2) !important;
		max-width: calc((100% - 10px) / 2) !important;
	}
}

/* Mobile (<768px): 1 slide, full width, no gap visible */
@media (max-width: 767px) {
	body .arwrev-item-carousel {
		width: 100% !important; /* FORCE full width */
		min-width: 100% !important;
		max-width: 100% !important;
	}

	/* Remove gap on mobile to prevent showing next slide */
	body .arwrev-carousel-track {
		gap: 0 !important;
	}
}

/* Carousel card wrapper */
body .arwrev-carousel-card {
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	position: relative !important;
	overflow: hidden !important;
	border-radius: 20px !important;
}

body .arwrev-item-carousel:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

/* Image Container - Full Card Coverage */
body .arwrev-carousel-image-container {
	position: relative;
	width: 100%;
	height: 100%; /* Full height of card for overlay design */
	overflow: hidden;
	border-radius: 20px; /* Full border radius */
}

/* Override Elementor image styles specifically for carousel images */
body .arwrev-carousel-image-container img,
body .arwrev-carousel-image-container .arwrev-carousel-image,
.arwrev-carousel-image-container img,
.arwrev-carousel-image-container .arwrev-carousel-image {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: block !important;
	position: relative !important;
}

body .arwrev-carousel-image-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

/* Carousel Image - Full Coverage with High Quality - Override Elementor styles */
body .arwrev-carousel-image {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important; /* Override Elementor max-width */
	object-fit: cover !important;
	object-position: center !important;
	transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	backface-visibility: hidden;
	image-rendering: auto; /* Better quality rendering */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	border: none !important; /* Override Elementor border */
	border-radius: 0 !important; /* Override Elementor border-radius */
	box-shadow: none !important; /* Override Elementor box-shadow */
}

body .arwrev-item-carousel:hover .arwrev-carousel-image {
	transform: scale(1.1);
}

/* Placeholder Image */
body .arwrev-carousel-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.8);
	font-size: 48px;
	font-weight: 300;
	position: relative;
}

body .arwrev-carousel-placeholder::before {
	content: "🎬";
	font-size: 72px;
	opacity: 0.7;
	animation: arwrev-float 3s ease-in-out infinite;
}

@keyframes arwrev-float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-10px); }
}

/* Gradient Overlay - Professional Magic Effect - LIMITED TO IMAGE CONTAINER ONLY */
body .arwrev-carousel-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0; /* This should only cover the image container, not extend beyond */
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.3) 0%,
		rgba(0, 0, 0, 0.1) 20%,
		rgba(0, 0, 0, 0.2) 50%,
		rgba(0, 0, 0, 0.7) 80%,
		rgba(0, 0, 0, 0.95) 100%
	);
	opacity: 1; /* Always visible for text readability */
	transition: all 0.4s ease;
	z-index: 1; /* Lower z-index so content can be above it */
	pointer-events: none; /* Don't block clicks */
}

body .arwrev-item-carousel:hover .arwrev-carousel-overlay {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.4) 0%,
		rgba(0, 0, 0, 0.2) 20%,
		rgba(0, 0, 0, 0.3) 50%,
		rgba(0, 0, 0, 0.8) 80%,
		rgba(0, 0, 0, 0.98) 100%
	);
}

/* Top Meta - Categories & Date */
body .arwrev-carousel-top-meta {
	position: absolute;
	top: 24px;
	left: 24px;
	right: 24px;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 12px;
}

body .arwrev-carousel-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body .arwrev-carousel-category {
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	color: #fff;
	padding: 8px 16px;
	border-radius: 24px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

body .arwrev-item-carousel:hover .arwrev-carousel-category {
	background: rgba(255, 255, 255, 0.35);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

body .arwrev-carousel-date {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	color: rgba(255, 255, 255, 0.95);
	padding: 8px 14px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.2);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Content Section - OVERLAY on image, not separate section */
body .arwrev-carousel-content {
	position: absolute; /* Back to absolute positioning for overlay */
	bottom: 0;
	left: 0;
	right: 0;
	padding: 24px 20px 20px; /* Overlay padding */
	background: transparent; /* Transparent background, gradient overlay handles it */
	color: #fff; /* White text for overlay */
	border-radius: 0; /* No border radius needed */
	z-index: 3; /* Above overlay */
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* Title */
body .arwrev-carousel-title {
	margin: 0 0 16px 0;
	font-size: 24px; /* Larger for overlay design */
	line-height: 1.2;
	font-weight: 800;
	color: #fff; /* White for overlay */
	text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8); /* Strong text shadow for readability */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: all 0.3s ease;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body .arwrev-carousel-title a {
	color: #fff; /* White for overlay */
	text-decoration: none;
	transition: all 0.3s ease;
}

body .arwrev-carousel-title a:hover {
	color: #fff;
	opacity: 0.9;
	text-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
}

body .arwrev-item-carousel:hover .arwrev-carousel-title {
	transform: translateY(-4px); /* Subtle lift on hover */
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.9);
}

/* Price */
body .arwrev-carousel-price {
	margin-bottom: 20px;
	font-size: 22px; /* Larger for overlay */
	font-weight: 800;
	color: #fff !important; /* White for overlay */
	text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8); /* Strong shadow for readability */
	display: flex !important;
	align-items: center;
	gap: 12px;
	opacity: 1 !important; /* Always visible */
	visibility: visible !important;
	z-index: 10;
}

body .arwrev-carousel-price del {
	color: rgba(255, 255, 255, 0.7); /* Light white for strikethrough */
	font-weight: 500;
	font-size: 18px;
	text-decoration: line-through;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

body .arwrev-carousel-price ins {
	text-decoration: none;
	color: #10b981; /* Green for sale price */
	text-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
	font-weight: 800;
}

/* Action Buttons */
body .arwrev-carousel-actions {
	display: flex !important;
	gap: 12px; /* Reduced gap */
	flex-wrap: wrap;
	opacity: 1 !important; /* Always visible */
	visibility: visible !important;
	transform: translateY(0) !important; /* Always in position */
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 10;
}

body .arwrev-item-carousel:hover .arwrev-carousel-actions {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
}

body .arwrev-carousel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px; /* Reduced gap */
	padding: 10px 16px; /* Smaller padding */
	border: none;
	border-radius: 12px; /* Smaller border radius */
	font-size: 13px; /* Smaller font size */
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	text-shadow: none;
	position: relative;
	overflow: hidden;
	min-width: 120px; /* Smaller min width */
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

body .arwrev-carousel-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.6s ease;
}

body .arwrev-carousel-btn:hover::before {
	left: 100%;
}

/* Add to Cart Button */
body .arwrev-carousel-btn-cart {
	background: rgba(16, 185, 129, 0.95) !important; /* Semi-transparent green */
	color: #fff !important;
	border: 2px solid rgba(16, 185, 129, 0.6) !important;
	box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body .arwrev-carousel-btn-cart:hover {
	background: rgba(16, 185, 129, 1) !important;
	border-color: rgba(16, 185, 129, 0.8) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5) !important;
}

/* View Product Button */
body .arwrev-carousel-btn-view {
	background: rgba(255, 255, 255, 0.2) !important; /* Semi-transparent white */
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.4) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body .arwrev-carousel-btn-view:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	border-color: rgba(255, 255, 255, 0.6) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3) !important;
}

/* Remove Button */
body .arwrev-carousel-remove {
	position: absolute;
	top: 24px;
	right: 24px;
	background: rgba(239, 68, 68, 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 2px solid rgba(239, 68, 68, 0.4);
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 20 !important; /* Higher z-index to be above everything */
	opacity: 0;
	transform: scale(0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
	pointer-events: auto !important; /* Ensure it's clickeable */
}

body .arwrev-item-carousel:hover .arwrev-carousel-remove {
	opacity: 1;
	transform: scale(1);
}

body .arwrev-carousel-remove:hover {
	background: rgba(239, 68, 68, 1);
	border-color: rgba(239, 68, 68, 0.8);
	transform: scale(1.1);
	box-shadow: 0 16px 40px rgba(239, 68, 68, 0.5);
}

/* Navigation Buttons - OVERLAY ON IMAGE for all screen sizes */
body .arwrev-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.7) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border: 3px solid rgba(255, 255, 255, 0.3) !important;
	color: #fff !important;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	cursor: pointer !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1000 !important; /* Very high z-index to be above everything */
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
	opacity: 0.9 !important;
	visibility: visible !important;
	pointer-events: auto !important; /* Ensure they're clickeable */
	user-select: none;
	outline: none !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

body .arwrev-carousel-prev {
	left: 10px; /* Inside, overlaying the first item */
}

body .arwrev-carousel-next {
	right: 10px; /* Inside, overlaying the last item */
}

body .arwrev-carousel-nav:hover {
	background: rgba(0, 0, 0, 0.9) !important;
	border-color: rgba(255, 255, 255, 0.6) !important;
	color: #fff !important;
	transform: translateY(-50%) scale(1.1) !important;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4) !important;
	opacity: 1 !important;
}

body .arwrev-carousel-nav:active {
	transform: translateY(-50%) scale(1.05) !important;
}

body .arwrev-carousel-nav:focus {
	outline: 3px solid rgba(255, 255, 255, 0.5) !important;
	outline-offset: 2px;
}

body .arwrev-carousel-nav:disabled {
	opacity: 0.3 !important;
	cursor: not-allowed !important;
	transform: translateY(-50%) scale(1) !important;
	background: rgba(0, 0, 0, 0.4) !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	color: rgba(255, 255, 255, 0.5) !important;
	pointer-events: none !important;
}

body .arwrev-carousel-nav svg {
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease;
	pointer-events: none; /* Prevent SVG from blocking clicks */
}

body .arwrev-carousel-prev:hover svg {
	transform: translateX(-3px);
}

body .arwrev-carousel-next:hover svg {
	transform: translateX(3px);
}

/* Hide pagination completely for carousel layout */
body .arwrev-layout-carousel .arwrev-pagination,
body .arwrev-container .arwrev-pagination,
.arwrev-layout-carousel + .arwrev-pagination,
.arwrev-carousel-container ~ .arwrev-pagination,
.arwrev-carousel-container + .arwrev-pagination,
.arwrev-layout-carousel ~ .arwrev-pagination {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Also hide any pagination that might appear after carousel */
.arwrev-carousel-container + * .arwrev-pagination,
.arwrev-layout-carousel + * .arwrev-pagination,
.arwrev-carousel-container ~ * .arwrev-pagination {
	display: none !important;
	visibility: hidden !important;
}

/* Hide pagination for any container that has carousel */
.arwrev-container:has(.arwrev-carousel-container) .arwrev-pagination,
.arwrev-container:has(.arwrev-carousel-track) .arwrev-pagination {
	display: none !important;
	visibility: hidden !important;
}

/* Dots Indicator - HIDDEN for carousel */
body .arwrev-carousel-dots {
	display: none !important; /* Hide pagination dots */
	visibility: hidden !important;
}

body .arwrev-carousel-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(102, 126, 234, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	padding: 0;
}

body .arwrev-carousel-dot.active {
	background: #667eea;
	transform: scale(1.2);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

body .arwrev-carousel-dot:hover {
	background: rgba(102, 126, 234, 0.6);
	transform: scale(1.1);
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 1023px) {
	body .arwrev-layout-carousel {
		padding: 30px 15px;
	}

	body .arwrev-carousel-container {
		padding: 0 !important;
		background: transparent !important;
	}

	body .arwrev-carousel-wrapper {
		margin: 0; /* Remove side margins on tablet */
		background: transparent !important;
	}

	body .arwrev-carousel-track {
		gap: var(--arwrev-gap-tablet, 9px);
	}

	body .arwrev-item-carousel {
		flex: 0 0 calc(50% - 12px); /* Two items on tablet */
		height: 350px; /* Reduced height */
		min-width: 300px;
		max-width: 450px;
	}

	body .arwrev-carousel-title {
		font-size: 20px; /* Smaller on tablet */
		margin-bottom: 10px;
	}

	body .arwrev-carousel-price {
		font-size: 18px; /* Smaller on tablet */
		margin-bottom: 14px;
	}

	body .arwrev-carousel-content {
		padding: 14px 16px; /* Adjusted padding */
	}

	/* Navigation Buttons - OVERLAY ON IMAGE for tablet */
	body .arwrev-carousel-nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: rgba(0, 0, 0, 0.7) !important;
		backdrop-filter: blur(10px) !important;
		-webkit-backdrop-filter: blur(10px) !important;
		border: 2px solid rgba(255, 255, 255, 0.3) !important;
		color: #fff !important;
		width: 48px;
		height: 48px;
		border-radius: 50%;
		z-index: 100 !important;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
		opacity: 0.9 !important;
		transition: all 0.3s ease !important;
	}

	body .arwrev-carousel-prev {
		left: 10px; /* Inside, overlaying items */
	}

	body .arwrev-carousel-next {
		right: 10px; /* Inside, overlaying items */
	}

	body .arwrev-carousel-nav:hover {
		background: rgba(0, 0, 0, 0.9) !important;
		border-color: rgba(255, 255, 255, 0.6) !important;
		color: #fff !important;
		transform: translateY(-50%) scale(1.1) !important;
		opacity: 1 !important;
	}

	body .arwrev-carousel-nav svg {
		width: 20px;
		height: 20px;
	}
}

/* Mobile Styles */
@media (max-width: 767px) {
	body .arwrev-layout-carousel {
		padding: 20px 10px;
	}

	body .arwrev-carousel-container {
		padding: 0 !important;
		background: transparent !important;
	}

	body .arwrev-carousel-wrapper {
		margin: 0; /* Remove side margins on mobile */
		background: transparent !important;
	}

	body .arwrev-carousel-track {
		gap: var(--arwrev-gap-mobile, 8px);
	}

	body .arwrev-item-carousel {
		flex: 0 0 calc(90% - 8px); /* Almost full width on mobile */
		height: 320px; /* Smaller height for mobile */
		min-width: 280px;
		max-width: 400px;
	}

	body .arwrev-carousel-title {
		font-size: 18px; /* Smaller on mobile */
		margin-bottom: 8px;
	}

	body .arwrev-carousel-price {
		font-size: 16px; /* Smaller on mobile */
		margin-bottom: 12px;
	}

	body .arwrev-carousel-content {
		padding: 12px 14px; /* Smaller padding */
	}

	body .arwrev-carousel-btn {
		padding: 8px 12px; /* Smaller buttons */
		font-size: 12px;
		gap: 6px;
		min-width: 100px;
	}

	body .arwrev-carousel-actions {
		gap: 8px;
	}

	/* Navigation Buttons - OVERLAY ON IMAGE for mobile */
	body .arwrev-carousel-nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: rgba(0, 0, 0, 0.8) !important;
		backdrop-filter: blur(8px) !important;
		-webkit-backdrop-filter: blur(8px) !important;
		border: 2px solid rgba(255, 255, 255, 0.4) !important;
		color: #fff !important;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		z-index: 100 !important;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
		opacity: 0.9 !important;
		transition: all 0.3s ease !important;
	}

	body .arwrev-carousel-prev {
		left: 10px; /* Inside, overlaying items */
	}

	body .arwrev-carousel-next {
		right: 10px; /* Inside, overlaying items */
	}

	body .arwrev-carousel-nav:hover,
	body .arwrev-carousel-nav:active {
		background: rgba(0, 0, 0, 0.95) !important;
		border-color: rgba(255, 255, 255, 0.7) !important;
		color: #fff !important;
		transform: translateY(-50%) scale(1.05) !important;
		opacity: 1 !important;
	}

	body .arwrev-carousel-nav svg {
		width: 18px;
		height: 18px;
	}

	body .arwrev-carousel-remove {
		opacity: 1;
		transform: scale(1);
		width: 40px;
		height: 40px;
	}

	body .arwrev-carousel-top-meta {
		top: 20px;
		left: 20px;
		right: 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	body .arwrev-carousel-category {
		font-size: 11px;
		padding: 6px 12px;
	}

	body .arwrev-carousel-date {
		font-size: 10px;
		padding: 6px 10px;
	}
}

/* Small Mobile Styles */
@media (max-width: 480px) {
	body .arwrev-layout-carousel {
		padding: 5px 5px;
	}

	body .arwrev-carousel-container {
		padding: 0 !important;
		background: transparent !important;
	}

	body .arwrev-carousel-wrapper {
		margin: 0; /* Remove side margins on small mobile */
		background: transparent !important;
	}

	body .arwrev-carousel-track {
		gap: var(--arwrev-gap-mobile, 8px);
	}

	body .arwrev-item-carousel {
		flex: 0 0 calc(95% - 6px); /* Almost full width */
		height: 300px;
		min-width: 260px;
		max-width: 350px;
	}

	body .arwrev-carousel-title {
		font-size: 16px;
		margin-bottom: 6px;
	}

	body .arwrev-carousel-price {
		font-size: 15px;
		margin-bottom: 10px;
	}

	body .arwrev-carousel-content {
		padding: 10px 12px;
	}

	body .arwrev-carousel-btn {
		padding: 7px 10px;
		font-size: 11px;
		min-width: 90px;
	}

	/* Navigation Buttons - even more prominent on small mobile */
	body .arwrev-carousel-nav {
		width: 40px;
		height: 40px;
		background: rgba(0, 0, 0, 0.85) !important;
		border: 2px solid rgba(255, 255, 255, 0.5) !important;
	}

	body .arwrev-carousel-prev {
		left: 10px;
	}

	body .arwrev-carousel-next {
		right: 10px;
	}

	body .arwrev-carousel-nav svg {
		width: 16px;
		height: 16px;
	}

	body .arwrev-carousel-remove {
		width: 36px;
		height: 36px;
		top: 16px;
		right: 16px;
	}
}

/* Animation for carousel items */
body .arwrev-item-carousel {
	animation: arwrev-carousel-slide-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes arwrev-carousel-slide-in {
	from {
		opacity: 0;
		transform: translateX(60px) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

/* Loading state */
body .arwrev-carousel-container.arwrev-loading {
	opacity: 0.6;
	pointer-events: none;
}

body .arwrev-carousel-container.arwrev-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 4px solid #667eea;
	border-top-color: transparent;
	border-radius: 50%;
	animation: arwrev-spin 1s linear infinite;
	z-index: 20;
}

/* Focus states for accessibility */
body .arwrev-carousel-image-link:focus {
	outline: 3px solid #667eea;
	outline-offset: 4px;
	border-radius: 24px;
}

body .arwrev-carousel-btn:focus {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

body .arwrev-carousel-nav:focus {
	outline: 3px solid #667eea;
	outline-offset: 3px;
}

body .arwrev-carousel-remove:focus {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	body .arwrev-carousel-overlay {
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.9) 0%,
			rgba(0, 0, 0, 0.5) 25%,
			rgba(0, 0, 0, 0.5) 60%,
			rgba(0, 0, 0, 0.98) 100%
		);
	}

	body .arwrev-carousel-category {
		background: rgba(0, 0, 0, 0.8);
		border: 2px solid #fff;
	}

	body .arwrev-carousel-btn {
		border-width: 3px;
	}

	body .arwrev-carousel-nav {
		border-width: 4px;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	body .arwrev-item-carousel,
	body .arwrev-carousel-image,
	body .arwrev-carousel-overlay,
	body .arwrev-carousel-content,
	body .arwrev-carousel-actions,
	body .arwrev-carousel-remove,
	body .arwrev-carousel-btn,
	body .arwrev-carousel-nav,
	body .arwrev-carousel-track {
		transition: none;
	}

	body .arwrev-item-carousel:hover {
		transform: none;
	}

	body .arwrev-item-carousel:hover .arwrev-carousel-image {
		transform: none;
	}

	body .arwrev-item-carousel:hover .arwrev-carousel-title {
		transform: none;
	}
}

/* Print styles */
@media print {
	body .arwrev-carousel-remove,
	body .arwrev-carousel-actions,
	body .arwrev-carousel-nav,
	body .arwrev-carousel-dots {
		display: none !important;
	}

	body .arwrev-carousel-overlay {
		background: none !important;
	}

	body .arwrev-carousel-title,
	body .arwrev-carousel-price {
		color: #000 !important;
		text-shadow: none !important;
	}

	body .arwrev-carousel-track {
		display: block !important;
	}

	body .arwrev-item-carousel {
		display: block !important;
		page-break-inside: avoid;
		margin-bottom: 20px;
	}
}
/* Enhanced Carousel Animations and Effects */

/* Staggered animation for items */
body .arwrev-item-carousel:nth-child(1) { animation-delay: 0s; }
body .arwrev-item-carousel:nth-child(2) { animation-delay: 0.1s; }
body .arwrev-item-carousel:nth-child(3) { animation-delay: 0.2s; }
body .arwrev-item-carousel:nth-child(4) { animation-delay: 0.3s; }
body .arwrev-item-carousel:nth-child(5) { animation-delay: 0.4s; }
body .arwrev-item-carousel:nth-child(6) { animation-delay: 0.5s; }

/* Item animation states */
body .arwrev-item-carousel.arwrev-item-animate {
	animation: arwrev-item-slide-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes arwrev-item-slide-in {
	from {
		opacity: 0.7;
		transform: translateY(20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Enhanced hover states */
body .arwrev-item-carousel.arwrev-item-hovered {
	transform: translateY(-16px) scale(1.03);
	box-shadow: 0 32px 100px rgba(0, 0, 0, 0.3);
	z-index: 5;
}

body .arwrev-item-carousel.arwrev-item-dimmed {
	opacity: 0.7;
	transform: scale(0.98);
}

body .arwrev-item-carousel.arwrev-item-hovered .arwrev-carousel-image {
	transform: scale(1.15);
}

body .arwrev-item-carousel.arwrev-item-hovered .arwrev-carousel-overlay {
	opacity: 1;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.6) 0%,
		rgba(0, 0, 0, 0.3) 25%,
		rgba(0, 0, 0, 0.3) 60%,
		rgba(0, 0, 0, 0.98) 100%
	);
}

/* Removing animation */
body .arwrev-item-carousel.arwrev-item-removing {
	opacity: 0;
	transform: scale(0.8) translateY(-20px);
	pointer-events: none;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body .arwrev-carousel-remove.arwrev-removing {
	background: rgba(239, 68, 68, 1);
	transform: scale(1.3);
	animation: arwrev-pulse-remove 0.6s ease-in-out infinite;
}

@keyframes arwrev-pulse-remove {
	0%, 100% { transform: scale(1.3); }
	50% { transform: scale(1.4); }
}

/* Dragging state */
body .arwrev-carousel-container.arwrev-dragging {
	cursor: grabbing;
	user-select: none;
}

body .arwrev-carousel-container.arwrev-dragging .arwrev-item-carousel {
	pointer-events: none;
}

body .arwrev-carousel-container.arwrev-dragging .arwrev-carousel-track {
	transition: none !important;
}

/* Carousel visibility animation */
body .arwrev-carousel-container.arwrev-carousel-visible {
	animation: arwrev-carousel-container-fade-in 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes arwrev-carousel-container-fade-in {
	from {
		opacity: 0;
		transform: translateY(60px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Navigation button enhancements */
body .arwrev-carousel-nav:hover svg {
	animation: arwrev-nav-bounce 0.6s ease-in-out;
}

@keyframes arwrev-nav-bounce {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-3px); }
	75% { transform: translateX(3px); }
}

body .arwrev-carousel-prev:hover svg {
	animation: arwrev-nav-bounce-left 0.6s ease-in-out;
}

@keyframes arwrev-nav-bounce-left {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(-4px); }
}

body .arwrev-carousel-next:hover svg {
	animation: arwrev-nav-bounce-right 0.6s ease-in-out;
}

@keyframes arwrev-nav-bounce-right {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(4px); }
}

/* Dot animations */
body .arwrev-carousel-dot {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body .arwrev-carousel-dot:hover {
	transform: scale(1.2);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

body .arwrev-carousel-dot.active {
	animation: arwrev-dot-pulse 2s ease-in-out infinite;
}

@keyframes arwrev-dot-pulse {
	0%, 100% {
		transform: scale(1.2);
		box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
	}
	50% {
		transform: scale(1.3);
		box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
	}
}

/* Button hover enhancements */
body .arwrev-carousel-btn:hover {
	animation: arwrev-btn-glow 0.3s ease-out forwards;
}

@keyframes arwrev-btn-glow {
	to {
		box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
	}
}

body .arwrev-carousel-btn-cart:hover {
	animation: arwrev-btn-cart-glow 0.3s ease-out forwards;
}

@keyframes arwrev-btn-cart-glow {
	to {
		box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
	}
}

/* Focus enhancements for accessibility */
body .arwrev-item-carousel:focus {
	outline: 3px solid #667eea;
	outline-offset: 4px;
	border-radius: 24px;
	transform: translateY(-8px) scale(1.02);
}

body .arwrev-item-carousel:focus .arwrev-carousel-overlay {
	opacity: 1;
}

body .arwrev-item-carousel:focus .arwrev-carousel-actions {
	opacity: 1;
	transform: translateY(0);
}

/* Shimmer loading effect */
body .arwrev-item-carousel.arwrev-loading {
	position: relative;
	overflow: hidden;
}

body .arwrev-item-carousel.arwrev-loading::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.4),
		transparent
	);
	animation: arwrev-shimmer 2s infinite;
	z-index: 20;
}

@keyframes arwrev-shimmer {
	0% { left: -100%; }
	100% { left: 100%; }
}

/* Enhanced mobile interactions */
@media (max-width: 767px) {
	body .arwrev-item-carousel {
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	body .arwrev-item-carousel:active {
		transform: scale(0.98);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	}

	body .arwrev-carousel-btn:active {
		transform: scale(0.95);
	}

	body .arwrev-carousel-nav:active {
		transform: translateY(-50%) scale(0.95);
	}
}

/* Dark mode support - Remove dark backgrounds */
@media (prefers-color-scheme: dark) {
	body .arwrev-carousel-container {
		background: transparent !important;
	}

	body .arwrev-item-carousel {
		background: #fff; /* Keep cards white for contrast */
		box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
	}

	body .arwrev-item-carousel:hover {
		box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
	}

	body .arwrev-carousel-placeholder {
		background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	}

	body .arwrev-carousel-nav {
		background: rgba(255, 255, 255, 0.95);
		border-color: rgba(102, 126, 234, 0.3);
	}

	body .arwrev-carousel-nav:hover {
		background: #667eea;
	}

	body .arwrev-carousel-dot {
		background: rgba(102, 126, 234, 0.4);
	}

	body .arwrev-carousel-dot.active {
		background: #667eea;
	}
}

/* Performance optimizations */
body .arwrev-carousel-image,
body .arwrev-carousel-overlay,
body .arwrev-carousel-content,
body .arwrev-carousel-actions,
body .arwrev-carousel-track {
	will-change: transform, opacity;
}

/* GPU acceleration */
body .arwrev-item-carousel,
body .arwrev-carousel-track {
	transform: translateZ(0);
	backface-visibility: hidden;
}

/* Smooth scrolling for carousel container */
body .arwrev-carousel-container {
	scroll-behavior: smooth;
}

/* Custom scrollbar for carousel (if needed) */
body .arwrev-carousel-wrapper::-webkit-scrollbar {
	display: none;
}

body .arwrev-carousel-wrapper {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* High specificity override for Elementor image styles in carousel */
.arwrev-carousel-container .arwrev-carousel-image-container img,
.arwrev-carousel-container .arwrev-carousel-image-container .arwrev-carousel-image,
body .arwrev-carousel-container .arwrev-carousel-image-container img,
body .arwrev-carousel-container .arwrev-carousel-image-container .arwrev-carousel-image,
.elementor .arwrev-carousel-container .arwrev-carousel-image-container img,
.elementor .arwrev-carousel-container .arwrev-carousel-image-container .arwrev-carousel-image {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: block !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Ensure image link container doesn't interfere */
.arwrev-carousel-container .arwrev-carousel-image-link,
body .arwrev-carousel-container .arwrev-carousel-image-link {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	position: relative !important;
	overflow: hidden !important;
}

/* Force carousel content to be overlaid on image */
.arwrev-carousel-container .arwrev-carousel-content,
body .arwrev-carousel-container .arwrev-carousel-content {
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 10 !important;
	background: transparent !important;
	color: #fff !important;
	display: flex !important;
	flex-direction: column !important;
	padding: 24px 20px 20px !important;
	border-radius: 0 !important;
}

/* Force buttons and price to be visible */
.arwrev-carousel-container .arwrev-carousel-price,
.arwrev-carousel-container .arwrev-carousel-actions,
.arwrev-carousel-container .arwrev-carousel-btn,
body .arwrev-carousel-container .arwrev-carousel-price,
body .arwrev-carousel-container .arwrev-carousel-actions,
body .arwrev-carousel-container .arwrev-carousel-btn {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: relative !important;
	z-index: 15 !important;
}
/* Additional mobile enhancements for carousel navigation */
@media (max-width: 767px) {
	/* Ensure buttons are always visible on mobile */
	body .arwrev-carousel-nav {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}

	/* Add subtle pulse animation to indicate interactivity */
	body .arwrev-carousel-nav::before {
		content: '';
		position: absolute;
		top: -2px;
		left: -2px;
		right: -2px;
		bottom: -2px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.2);
		animation: arwrev-nav-pulse 2s infinite;
		z-index: -1;
	}

	@keyframes arwrev-nav-pulse {
		0%, 100% {
			opacity: 0;
			transform: scale(1);
		}
		50% {
			opacity: 0.3;
			transform: scale(1.1);
		}
	}

	/* Pause pulse animation on hover/active */
	body .arwrev-carousel-nav:hover::before,
	body .arwrev-carousel-nav:active::before {
		animation-play-state: paused;
		opacity: 0;
	}

	/* Better touch targets */
	body .arwrev-carousel-nav {
		min-width: 44px;
		min-height: 44px;
	}
}

/* Tablet specific enhancements */
@media (min-width: 768px) and (max-width: 1023px) {
	/* Slightly larger buttons on tablet */
	body .arwrev-carousel-nav {
		min-width: 48px;
		min-height: 48px;
	}
}
/* Desktop specific enhancements for 3-item layout */
@media (min-width: 1024px) {
	/* Ensure proper spacing for 3 items */
	body .arwrev-carousel-track {
		gap: var(--arwrev-gap-desktop, 11px);
	}

	/* Optimize item sizes for 3-column layout */
	body .arwrev-item-carousel {
		flex: 0 0 calc(33.333% - 16px);
		min-width: 320px;
		max-width: 420px;
		height: 380px; /* Slightly smaller height for better proportion */
	}

	/* Adjust content for smaller cards */
	body .arwrev-carousel-title {
		font-size: 20px;
		line-height: 1.3;
		margin-bottom: 12px;
	}

	body .arwrev-carousel-price {
		font-size: 18px;
		margin-bottom: 16px;
	}

	body .arwrev-carousel-content {
		padding: 20px 16px 16px;
	}

	body .arwrev-carousel-btn {
		padding: 9px 14px;
		font-size: 12px;
		min-width: 110px;
	}

	body .arwrev-carousel-actions {
		gap: 10px;
	}

	/* Navigation buttons - desktop overlay style */
	body .arwrev-carousel-nav {
		background: rgba(0, 0, 0, 0.6) !important;
		border: 2px solid rgba(255, 255, 255, 0.4) !important;
		width: 52px;
		height: 52px;
		opacity: 0.8;
	}

	body .arwrev-carousel-nav:hover {
		background: rgba(0, 0, 0, 0.85) !important;
		border-color: rgba(255, 255, 255, 0.7) !important;
		opacity: 1;
		transform: translateY(-50%) scale(1.08) !important;
	}

	body .arwrev-carousel-prev {
		left: 16px;
	}

	body .arwrev-carousel-next {
		right: 16px;
	}
}

/* Large desktop - optimize for even better 3-item display */
@media (min-width: 1200px) {
	body .arwrev-layout-carousel {
		max-width: 1200px;
		padding: 50px 20px;
	}

	body .arwrev-carousel-track {
		gap: var(--arwrev-gap-desktop, 11px);
	}

	body .arwrev-item-carousel {
		flex: 0 0 calc(33.333% - 18px);
		min-width: 350px;
		max-width: 400px;
		height: 400px;
	}

	body .arwrev-carousel-title {
		font-size: 22px;
		margin-bottom: 14px;
	}

	body .arwrev-carousel-price {
		font-size: 20px;
		margin-bottom: 18px;
	}

	body .arwrev-carousel-content {
		padding: 22px 18px 18px;
	}

	body .arwrev-carousel-nav {
		width: 56px;
		height: 56px;
	}

	body .arwrev-carousel-prev {
		left: 18px;
	}

	body .arwrev-carousel-next {
		right: 18px;
	}
}
/* Guest User Styles */
body .arwrev-container.arwrev-guest-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

body .arwrev-container.arwrev-guest-empty .arwrev-message {
	font-size: 20px;
	color: #333;
	margin-bottom: 15px;
}

body .arwrev-container.arwrev-guest-empty .arwrev-submessage {
	text-align: center;
	color: #666;
	font-size: 16px;
	margin-bottom: 0;
	padding: 0 20px;
	line-height: 1.5;
}

/* Guest tracking indicator (optional) */
body .arwrev-guest-indicator {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: rgba(102, 126, 234, 0.9);
	color: white;
	padding: 8px 12px;
	border-radius: 20px;
	font-size: 12px;
	z-index: 1000;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s ease;
}

body .arwrev-guest-indicator.show {
	opacity: 1;
	transform: translateY(0);
}

/* Mobile WebView optimizations */
@media (max-width: 767px) {
	body .arwrev-container.arwrev-guest-empty .arwrev-message {
		font-size: 18px;
		padding: 40px 15px 15px;
	}

	body .arwrev-container.arwrev-guest-empty .arwrev-submessage {
		font-size: 14px;
		padding: 0 15px;
	}

	body .arwrev-login-button {
		padding: 12px 24px;
		font-size: 14px;
	}
}

/* WebView specific styles */
@media (max-width: 480px) {
	body .arwrev-container {
		padding: 1px 1px;
	}

	body .arwrev-guest-indicator {
		bottom: 15px;
		right: 15px;
		font-size: 11px;
		padding: 6px 10px;
	}
}
