/* ================================================
   PRETPOT PRODUCT LISTINGS STYLE 1
   ================================================ */

.pretpot-pls1-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/* ========== HEADING ========== */
.pretpot-pls1-heading {
	margin-bottom: 30px;
}

.pretpot-pls1-heading h2 {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 10px 0;
}

.pretpot-pls1-subheading {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* ========== VIEW SWITCHER ========== */
.pretpot-pls1-switcher {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 30px;
}

.pretpot-pls1-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background-color: #f0f0f0;
	color: #666;
	border: none;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pretpot-pls1-view-btn svg {
	width: 16px;
	height: 16px;
}

.pretpot-pls1-view-btn.active {
	background-color: #000;
	color: #fff;
}

.pretpot-pls1-view-btn:hover {
	opacity: 0.8;
}

/* ========== LIST VIEW ========== */
.pretpot-pls1-list {
	display: none;
	flex-direction: column;
	gap: 20px;
}

.pretpot-pls1-list.active {
	display: flex;
}

.pretpot-pls1-list-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 20px;
	padding: 15px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 15px;
	opacity: 0;
	transform: translateY(20px);
}

/* ========== GRID VIEW ========== */
.pretpot-pls1-grid {
	display: none;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	justify-items: center;
	max-width: 100%;
}

.pretpot-pls1-grid.active {
	display: grid;
}

.pretpot-pls1-grid-item {
	display: flex;
	flex-direction: column;
	padding: 15px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 15px;
	width: 100%;
	max-width: 400px;
	opacity: 0;
	transform: scale(0.9);
}

.pretpot-pls1-grid-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
	width: 100%;
}

.pretpot-pls1-grid-left {
	flex: 1;
	min-width: 0;
}

.pretpot-pls1-grid-right {
	flex-shrink: 0;
	align-self: center;
}

/* ========== PRODUCT IMAGE ========== */
.pretpot-pls1-image {
	flex-shrink: 0;
	overflow: hidden;
}

.pretpot-pls1-list .pretpot-pls1-image {
	width: 80px;
	height: 80px;
}

.pretpot-pls1-grid .pretpot-pls1-image {
	width: 100%;
	height: 200px;
	margin-bottom: 15px;
}

.pretpot-pls1-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

/* ========== PRODUCT CONTENT ========== */
.pretpot-pls1-content {
	flex: 1;
	min-width: 0;
}

.pretpot-pls1-grid-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pretpot-pls1-title {
	font-size: 18px;
	font-weight: 600;
	color: #000;
	margin: 0 0 5px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pretpot-pls1-grid .pretpot-pls1-title {
	white-space: normal;
	line-height: 1.4;
}

.pretpot-pls1-subtitle {
	font-size: 14px;
	color: #666;
	margin: 0 0 2px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pretpot-pls1-price {
	font-size: 14px;
	color: #000;
	font-weight: 500;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pretpot-pls1-grid .pretpot-pls1-price {
	margin-top: 2px;
}

/* ========== PRODUCT ACTION ========== */
.pretpot-pls1-action {
	flex-shrink: 0;
}

.pretpot-pls1-btn {
	display: inline-block;
	padding: 8px 16px;
	background-color: #000;
	color: #fff;
	text-decoration: none;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.pretpot-pls1-btn:hover {
	background-color: #f0f0f0;
	color: #000;
}

.pretpot-pls1-grid-right .pretpot-pls1-btn {
	padding: 8px 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
	.pretpot-pls1-heading h2 {
		font-size: 24px;
	}
	
	.pretpot-pls1-switcher {
		flex-wrap: wrap;
	}
	
	.pretpot-pls1-view-btn {
		padding: 10px 20px;
		font-size: 13px;
	}
	
	/* Grid stays 2 columns on mobile as per requirement */
	.pretpot-pls1-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.pretpot-pls1-grid-item {
		max-width: 100%;
	}
	
	.pretpot-pls1-list-item {
		gap: 15px;
	}
	
	.pretpot-pls1-list .pretpot-pls1-image {
		width: 60px;
		height: 60px;
	}
	
	.pretpot-pls1-title {
		font-size: 16px;
	}
	
	.pretpot-pls1-subtitle,
	.pretpot-pls1-price {
		font-size: 13px;
	}
	
	.pretpot-pls1-btn {
		padding: 6px 14px;
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.pretpot-pls1-heading h2 {
		font-size: 20px;
	}
	
	.pretpot-pls1-view-btn {
		flex: 1;
		justify-content: center;
	}
	
	.pretpot-pls1-list .pretpot-pls1-image {
		width: 50px;
		height: 50px;
	}
	
	.pretpot-pls1-grid .pretpot-pls1-image {
		height: 120px;
	}
	
	.pretpot-pls1-grid-bottom {
		gap: 10px;
	}
	
	.pretpot-pls1-title {
		font-size: 14px;
	}
}