/* Modern WooCommerce Single Product Styles */

.modern-product-layout {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.6;
	color: #2c3e50;
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Product Hero Section */
.product-hero {
	background: #fff;
	padding: 40px 0;
	border-bottom: 1px solid #e1e8ed;
}

.product-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 35px;
	align-items: start;
}

.product-info-wrapper {
	padding-left: 20px;
}

/* Modern Product Header */
.product-header-modern {
	margin-bottom: 40px;
}

.product-header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e2e8f0;
}

.product-category .category-link {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
}

.product-category .category-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.product-stock-status .stock-badge {
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.stock-badge.in-stock {
	background: #c6f6d5;
	color: #22543d;
	border: 1px solid #9ae6b4;
}

.stock-badge.out-of-stock {
	background: #fed7d7;
	color: #742a2a;
	border: 1px solid #feb2b2;
}

.stock-badge.on-backorder {
	background: #fbd38d;
	color: #744210;
	border: 1px solid #f6ad55;
}

.product-title-section {
	margin-bottom: 25px;
}

.product-title-enhanced {
	font-size: 2.8rem;
	font-weight: 800;
	margin: 0 0 20px 0;
	color: #1a202c;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.product-rating-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding: 20px;
	background: #f7fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
}

.rating-container {
	display: flex;
	align-items: center;
	gap: 15px;
}

.rating-container .star-rating {
	font-size: 1.3rem;
}

.rating-text .rating-count {
	color: #4a5568;
	font-size: 0.95rem;
	font-weight: 500;
}

.price-container .price {
	font-size: 2.2rem;
	font-weight: 800;
	color: #e53e3e;
	margin: 0;
}

.product-short-info {
	color: #4a5568;
	font-size: 1.1rem;
	line-height: 1.7;
	margin-bottom: 25px;
}

/* Product Description */
.product-description {
	margin-bottom: 30px;
}

.product-description p {
	font-size: 1.1rem;
	color: #4a5568;
	line-height: 1.7;
	margin: 0;
}

/* Enhanced Product Purchase Section */
.product-purchase-section {
	margin-bottom: 40px;
}

.purchase-container {
	background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
	border-radius: 20px;
	padding: 35px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-variations {
	margin-bottom: 30px;
}

.quantity-section {
	margin-bottom: 25px;
}

.quantity-label {
	display: block;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 12px;
	font-size: 1rem;
}

.quantity-input-wrapper {
	display: flex;
	align-items: center;
	gap: 0;
	background: white;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.3s ease;
}

.quantity-input-wrapper:focus-within {
	border-color: #667eea;
}

.quantity-btn {
	background: #f7fafc;
	border: none;
	width: 45px;
	height: 45px;
	font-size: 1.2rem;
	font-weight: 600;
	color: #4a5568;
	cursor: pointer;
	transition: all 0.3s ease;
	user-select: none;
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.quantity-btn:hover {
	background: #edf2f7;
	color: #2d3748;
}

.quantity-btn:active {
	transform: scale(0.95);
}

.quantity .qty {
	border: none;
	width: 60px;
	height: 45px;
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	color: #2d3748;
	background: transparent;
	padding: 0;
}

.quantity .qty:focus {
	outline: none;
}

/* Custom quantity input styling */
.quantity-input-wrapper input.qty {
	border: none;
	width: 60px;
	height: 45px;
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	color: #2d3748;
	background: transparent;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: textfield;
}

/* WooCommerce Standard Quantity Input Styling */
.quantity {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.quantity .minus,
.quantity .plus {
	background: #f7fafc;
	border: none;
	width: 45px;
	height: 45px;
	font-size: 1.2rem;
	font-weight: 600;
	color: #4a5568;
	cursor: pointer;
	transition: all 0.3s ease;
	user-select: none;
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
}

.quantity .minus:hover,
.quantity .plus:hover {
	background: #edf2f7;
	color: #2d3748;
}

.quantity .minus {
	order: 1;
}

.quantity .plus {
	order: 3;
}

.quantity .qty {
	order: 2;
	border: none;
	width: 60px;
	height: 45px;
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	color: #2d3748;
	background: transparent;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	border-radius: 0;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.quantity .qty:focus {
	outline: none;
}

.quantity-input-wrapper input.qty:focus {
	outline: none;
}

.product-actions {
	margin-bottom: 30px;
}

.enhanced-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 18px 40px;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
}

.enhanced-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;
}

.enhanced-btn:hover::before {
	left: 100%;
}

.enhanced-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-icon {
	font-size: 1.1rem;
}

.btn-text {
	flex-grow: 1;
}

.btn-price {
	font-size: 0.9rem;
	opacity: 0.9;
}

.product-meta-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
	gap: 20px;
}

.wishlist-btn,
.compare-btn {
	background: none;
	border: 2px solid #e2e8f0;
	color: #4a5568;
	padding: 10px 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.wishlist-btn:hover,
.compare-btn:hover {
	border-color: #667eea;
	color: #667eea;
	transform: translateY(-2px);
}

.social-share {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: #4a5568;
}

.social-share .social-links {
	gap: 8px;
}

.purchase-guarantee {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	padding: 25px;
	background: #f7fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
}

.guarantee-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: #2d3748;
	font-weight: 500;
}

.guarantee-item i {
	color: #48bb78;
	font-size: 1rem;
}

/* Variations */
.variations {
	margin-bottom: 20px;
}

.variations .label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #2d3748;
}

.variations select {
	width: 100%;
	padding: 12px;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 1rem;
	background: white;
	transition: border-color 0.3s ease;
}

.variations select:focus {
	outline: none;
	border-color: #3182ce;
}

/* Product Meta */
.product-meta {
	margin-bottom: 20px;
	padding: 20px;
	background: #edf2f7;
	border-radius: 8px;
	font-size: 0.9rem;
}

.product-meta .posted_in,
.product-meta .tagged_as {
	margin-bottom: 10px;
}

.product-meta a {
	color: #3182ce;
	text-decoration: none;
	transition: color 0.3s ease;
}

.product-meta a:hover {
	color: #2c5282;
}

/* Product Sharing */
.product-sharing {
	margin-top: 20px;
}

.product-sharing .social-links {
	display: flex;
	gap: 15px;
	align-items: center;
}

.product-sharing a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #4a5568;
	text-decoration: none;
	transition: all 0.3s ease;
}

.product-sharing a:hover {
	background: #3182ce;
	color: white;
	transform: translateY(-2px);
}

/* Product Details Section */
.product-details {
	padding: 60px 0;
	background: #f7fafc;
}

.product-details-tabs .wc-tabs {
	padding: 0;
}

.product-details-tabs .wc-tabs li {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin: 0;
}

.product-details-tabs .wc-tabs li.active {
	border-bottom-color: #3182ce;
	background: #f7fafc;
}

.product-details-tabs .wc-tabs a {
	padding: 20px 30px;
	font-weight: 600;
	color: #4a5568;
	text-decoration: none;
	transition: color 0.3s ease;
}

.product-details-tabs .wc-tabs li.active a {
	color: #3182ce;
}

.product-details-tabs .wc-tab {
	padding: 40px;
}

.product-details-tabs h2 {
	font-size: 1.5rem;
	margin-bottom: 20px;
	color: #1a202c;
}

/* Product Features Section */
.product-features-modern {
	padding: 80px 0;
	background: white;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: #1a202c;
	margin: 0 0 15px 0;
}

.section-header p {
	font-size: 1.2rem;
	color: #718096;
	margin: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

.feature-card {
	text-align: center;
	padding: 40px 30px;
	border-radius: 16px;
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 25px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 2rem;
}

.feature-content h3 {
	font-size: 1.3rem;
	font-weight: 600;
	color: #1a202c;
	margin: 0 0 15px 0;
}

.feature-content p {
	color: #4a5568;
	line-height: 1.6;
	margin: 0;
}

/* Testimonials Section */
.product-testimonials-modern {
	padding: 80px 0;
	background: #f7fafc;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 40px;
}

.testimonial-card {
	background: white;
	padding: 40px;
	border-radius: 16px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
	transition: all 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
	margin-bottom: 30px;
}

.testimonial-content p {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #2d3748;
	font-style: italic;
	margin: 0;
	position: relative;
}

.testimonial-content p::before {
	content: '"';
	font-size: 4rem;
	color: #e2e8f0;
	position: absolute;
	top: -10px;
	left: -20px;
	font-family: serif;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 20px;
}

.author-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-info h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1a202c;
	margin: 0 0 5px 0;
}

.author-info p {
	color: #718096;
	margin: 0;
	font-size: 0.9rem;
}

/* CTA Section */
.product-cta-modern {
	padding: 80px 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.cta-content {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 60px;
	align-items: center;
}

.cta-text h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 15px 0;
}

.cta-text p {
	font-size: 1.2rem;
	margin: 0;
	opacity: 0.9;
}

.cta-action .single_add_to_cart_button {
	background: white;
	color: #667eea;
	padding: 18px 50px;
	border: none;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cta-action .cta-button {
	display: inline-block;
	background: white;
	color: #667eea;
	padding: 18px 50px;
	border: none;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cta-action .cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
	.product-hero-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.product-info-wrapper {
		padding-left: 0;
	}

	.product-title-enhanced {
		font-size: 2.2rem;
	}

	.product-rating-price {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.price-container .price {
		font-size: 1.8rem;
	}

	.purchase-container {
		padding: 25px 20px;
	}

	.quantity {
		max-width: 200px;
	}

	.quantity .minus,
	.quantity .plus {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}

	.quantity .qty {
		width: 50px;
		height: 40px;
	}

	.product-meta-actions {
		flex-wrap: wrap;
		gap: 15px;
	}

	.purchase-guarantee {
		grid-template-columns: 1fr;
		gap: 15px;
		text-align: center;
	}

	.section-header h2 {
		font-size: 2rem;
	}

	.features-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.cta-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 30px;
	}

	.cta-text h2 {
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.product-hero {
		padding: 20px 0;
	}

	.product-title-enhanced {
		font-size: 1.8rem;
	}

	.price-container .price {
		font-size: 1.5rem;
	}

	.purchase-container {
		padding: 20px 15px;
	}

	.quantity .minus,
	.quantity .plus {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}

	.quantity .qty {
		width: 50px;
		height: 40px;
	}

	.enhanced-btn {
		padding: 15px 20px;
		font-size: 1rem;
		flex-direction: column;
		gap: 8px;
	}

	.btn-price {
		font-size: 0.8rem;
	}

	.product-meta-actions {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.wishlist-btn,
	.compare-btn {
		justify-content: center;
	}

	.product-details-tabs .wc-tab {
		padding: 20px;
	}

	.feature-card,
	.testimonial-card {
		padding: 25px 20px;
	}
}