/**
 * Wine Curated Pro - Modern Frontend Styles
 * დახვეწილი დიზაინი ყველა შორტკოდისთვის
 */

/* ==========================================================================
   CSS Variables - ფერები და პარამეტრები
   ========================================================================== */
/* SCREENSHOT-PERFECT: Exact colors from user's screenshots */
:root {
	/* Text Colors - From Screenshots */
	--color-text: #000; /* Pure black for headings */
	--color-text-body: #333; /* Dark gray for body text */
	--color-text-light: #666; /* Medium gray for meta */
	--color-text-lighter: #999; /* Light gray */

	/* Background Colors */
	--color-bg: #fff; /* White */
	--color-bg-alt: #f8f8f8; /* Off-white */

	/* Border Colors */
	--color-border: #e5e5e5; /* Very light gray */

	/* Accent Colors - CRITICAL: Buttons are BLACK in screenshots */
	--color-stars: #f39c12; /* Gold/orange for stars */
	--color-button: #000; /* BLACK for buttons (not wine red!) */
	--color-button-hover: #333; /* Lighter black on hover */

	/* Shadows - VERY subtle in screenshots */
	--shadow-subtle: 0 2px 4px rgba(0,0,0,0.05);
	--shadow-medium: 0 4px 12px rgba(0,0,0,0.1);

	/* Accent Colors - Changed to GRAY (was red #d13a3a) */
	--color-accent: #333; /* Dark gray for hover states */

	/* Layout */
	--wcp-radius: 8px;
	--wcp-transition: all 0.2s ease;
}

/* ==========================================================================
   Grid Shortcode - თანამედროვე ბადე სტილი
   ========================================================================== */
/* CRITICAL FIX: Reduced massive margins */
.wcpro-grid-wrapper {
	margin: 30px 0; /* Reduced from 60px */
	padding: 0;
}

.wcpro-grid {
	display: grid;
	gap: 20px; /* Reduced from 32px */
	margin: 0;
	padding: 0;
	list-style: none;
}

.wcpro-grid.wcpro-grid-col-2 { grid-template-columns: repeat(2, 1fr); }
.wcpro-grid.wcpro-grid-col-3 { grid-template-columns: repeat(3, 1fr); }
.wcpro-grid.wcpro-grid-col-4 { grid-template-columns: repeat(4, 1fr); }
.wcpro-grid.wcpro-grid-col-6 { grid-template-columns: repeat(6, 1fr); }

/* Grid Item Card - CRITICAL FIX: Simple white background */
/* SCREENSHOT-PERFECT: Simple white card from screenshots */
.wcpro-grid-item {
	background: #fff;
	border-radius: var(--wcp-radius);
	overflow: hidden;
	box-shadow: var(--shadow-subtle);
	transition: var(--wcp-transition);
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--color-border);
	padding: 20px;
}

.wcpro-grid-item:hover {
	transform: translateY(-4px); /* Simple lift from screenshots */
	box-shadow: var(--shadow-medium); /* Slightly stronger on hover */
}

/* Badge System - მოდერნიზირებული ბეიჯები */
.wcpro-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 8px 18px;
	border-radius: 25px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	z-index: 10;
	color: #fff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(10px);
	animation: badgePulse 2s ease-in-out infinite;
}

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

.wcpro-badge-editors_choice {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wcpro-badge-best_seller {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.wcpro-badge-best_value {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.wcpro-badge-best_price {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Image Container */
.wcpro-item-image {
	position: relative;
	width: 100%;
	height: 320px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--wcp-cream) 0%, #fff 100%);
}

.wcpro-item-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
	opacity: 0;
	transition: opacity 0.4s;
}

.wcpro-grid-item:hover .wcpro-item-image::after {
	opacity: 1;
}

.wcpro-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wcpro-grid-item:hover .wcpro-item-image img {
	transform: scale(1.1) rotate(1deg);
}

/* Content Area */
.wcpro-item-content {
	padding: 28px;
	flex: 1;
	display: flex;
	flex-direction: column;
	background: #fff;
}

.wcpro-item-title {
	margin: 0 0 12px 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--wcp-text-dark);
	font-family: 'Georgia', serif;
}

.wcpro-item-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wcpro-item-title a:hover {
	color: var(--color-accent); /* Dark gray #333, NOT RED */
	text-decoration: none;
}

.wcpro-producer {
	margin: 0 0 18px 0;
	font-size: 13px;
	color: var(--wcp-text-light);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.2px;
}

.wcpro-excerpt {
	margin: 0 0 auto 20px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--wcp-text-dark);
	flex: 1;
}

/* Rating */
.wcpro-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	padding: 12px 18px;
	background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(139, 0, 0, 0.1) 100%);
	border-radius: 50px;
	width: fit-content;
}

.wcpro-rating-value {
	font-size: 28px;
	font-weight: 800;
	color: var(--wcp-wine-red);
	font-family: 'Georgia', serif;
}

/* Price */
.wcpro-price {
	font-size: 20px;
	font-weight: 700;
	color: var(--wcp-wine-red);
	margin-bottom: 22px;
	font-family: 'Georgia', serif;
	display: flex;
	align-items: baseline;
	gap: 8px;
}

/* Button - თანამედროვე დიზაინი */
.wcpro-button {
	display: inline-block;
	padding: 12px 24px;
	background: var(--color-button); /* BLACK from screenshots */
	color: #fff;
	text-decoration: none;
	border-radius: 4px; /* Simple rounded corners from screenshots */
	font-weight: 600;
	text-align: center;
	transition: var(--wcp-transition);
	font-size: 16px;
	border: none;
	cursor: pointer;
}

.wcpro-button:hover {
	background: var(--color-button-hover); /* Lighter black */
	color: #fff;
}

/* ==========================================================================
   List Shortcode - დახვეწილი სია
   ========================================================================== */
.wcpro-list-wrapper {
	margin: 60px 0;
	background: linear-gradient(145deg, #ffffff 0%, var(--wcp-cream) 100%);
	border-radius: var(--wcp-radius);
	padding: 50px;
	box-shadow: var(--wcp-shadow);
	border: 1px solid var(--wcp-border);
}

.wcpro-list {
	list-style: none;
	counter-reset: wine-counter;
	padding: 0;
	margin: 0;
	position: relative;
}

.wcpro-list::before {
	content: "";
	position: absolute;
	left: 25px;
	top: 60px;
	bottom: 60px;
	width: 2px;
	background: linear-gradient(180deg, var(--wcp-wine-red) 0%, var(--wcp-gold) 100%);
	opacity: 0.2;
}

.wcpro-list-item {
	position: relative;
	padding: 35px;
	padding-left: 90px;
	margin-bottom: 35px;
	background: #fff;
	border-radius: var(--wcp-radius);
	border-left: 5px solid var(--wcp-wine-red);
	transition: var(--wcp-transition);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.wcpro-list-item:hover {
	transform: translateX(10px);
	box-shadow: var(--wcp-shadow);
	border-left-color: var(--wcp-gold);
}

.wcpro-list-item:last-child {
	margin-bottom: 0;
}

/* Numbered List - ლამაზი ნუმერაცია */
.wcpro-list-numbered .wcpro-list-item::before {
	counter-increment: wine-counter;
	content: counter(wine-counter);
	position: absolute;
	left: -25px;
	top: 35px;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--wcp-wine-red) 0%, var(--wcp-burgundy) 100%);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 800;
	box-shadow: 0 6px 20px rgba(139, 0, 0, 0.35);
	border: 4px solid #fff;
	font-family: 'Georgia', serif;
}

/* Bulleted List */
.wcpro-list-bulleted .wcpro-list-item::before {
	content: "◆";
	position: absolute;
	left: -25px;
	top: 35px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: var(--wcp-wine-red);
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.wcpro-list-item-content {
	padding-left: 0;
}

.wcpro-list-item-title {
	margin: 0 0 15px 0;
	font-size: 24px;
	font-weight: 800;
	color: var(--wcp-text-dark);
	line-height: 1.3;
	font-family: 'Georgia', serif;
}

.wcpro-list-item-description {
	margin: 0 0 20px 0;
	font-size: 16px;
	line-height: 1.8;
	color: var(--wcp-text-dark);
}

.wcpro-list-item-meta {
	display: flex;
	align-items: center;
	gap: 25px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

/* Star Rating */
.wcpro-star-rating {
	display: flex;
	gap: 4px;
}

.wcpro-star-rating .star {
	color: var(--wcp-gold);
	font-size: 20px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Partial star wrapper styles - FIXED ALIGNMENT */
.wcpro-star-rating .star-partial-wrapper {
	position: relative;
	display: inline-block;
	line-height: 1;
	vertical-align: top;
}

.wcpro-star-rating .star-partial-wrapper .star {
	margin: 0;
	padding: 0;
	line-height: 1;
	display: block;
}

/* Empty star (background) */
.wcpro-star-rating .star-partial-wrapper .star-empty {
	color: #e0e0e0;
	position: relative;
}

/* Partial fill (overlay) - PERFECT ALIGNMENT */
.wcpro-star-rating .star-partial-wrapper .star-partial-fill {
	color: #f39c12;
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	white-space: nowrap;
}

.wcpro-list-item-price {
	font-size: 22px;
	font-weight: 800;
	color: var(--wcp-wine-red);
	font-family: 'Georgia', serif;
	padding: 8px 18px;
	background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(139, 0, 0, 0.1) 100%);
	border-radius: 50px;
}

.wcpro-list-item-cta {
	display: inline-block;
	padding: 14px 28px;
	background: linear-gradient(135deg, var(--wcp-wine-red) 0%, var(--wcp-burgundy) 100%);
	color: #fff;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 700;
	transition: var(--wcp-transition);
	box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.wcpro-list-item-cta:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
	color: #fff;
}

/* ==========================================================================
   Hero Shortcode - განსაკუთრებული Hero სექცია
   ========================================================================== */
.wcpro-hero-wrapper {
	margin: 80px 0;
	position: relative;
}

.wcpro-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;
	background: linear-gradient(135deg, #fff 0%, var(--wcp-cream) 100%);
	border-radius: var(--wcp-radius);
	padding: 70px;
	box-shadow: var(--wcp-shadow);
	position: relative;
	overflow: hidden;
	border: 1px solid var(--wcp-border);
}

.wcpro-hero::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, rgba(139, 0, 0, 0.05) 0%, transparent 70%);
	pointer-events: none;
}

/* Hero Badge */
.wcpro-hero-badge {
	position: absolute;
	top: 35px;
	right: 35px;
	padding: 12px 28px;
	border-radius: 35px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #fff;
	z-index: 10;
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
	animation: badgePulse 2s ease-in-out infinite;
}

/* Hero Image */
.wcpro-hero-image {
	position: relative;
	border-radius: var(--wcp-radius);
	overflow: hidden;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
	border: 5px solid #fff;
}

.wcpro-hero-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(45deg, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
	opacity: 0;
	transition: opacity 0.4s;
}

.wcpro-hero:hover .wcpro-hero-image::after {
	opacity: 1;
}

.wcpro-hero-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wcpro-hero:hover .wcpro-hero-image img {
	transform: scale(1.05);
}

/* Hero Content */
.wcpro-hero-content {
	position: relative;
	z-index: 1;
}

.wcpro-hero-title {
	margin: 0 0 20px 0;
	font-size: 48px;
	font-weight: 900;
	line-height: 1.1;
	color: var(--wcp-text-dark);
	font-family: 'Georgia', serif;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wcpro-hero-producer {
	margin: 0 0 25px 0;
	font-size: 18px;
	color: var(--wcp-text-light);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2.5px;
}

.wcpro-hero-rating {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 30px;
	padding: 18px 32px;
	background: linear-gradient(135deg, var(--wcp-wine-red) 0%, var(--wcp-burgundy) 100%);
	border-radius: 60px;
	color: #fff;
	box-shadow: 0 8px 30px rgba(139, 0, 0, 0.35);
}

.wcpro-rating-number {
	font-size: 42px;
	font-weight: 900;
	font-family: 'Georgia', serif;
}

.wcpro-rating-label {
	font-size: 20px;
	font-weight: 600;
}

.wcpro-hero-excerpt {
	margin: 0 0 35px 0;
	font-size: 18px;
	line-height: 1.9;
	color: var(--wcp-text-dark);
}

/* Hero Specs */
.wcpro-hero-specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-bottom: 35px;
	padding: 28px;
	background: #fff;
	border-radius: var(--wcp-radius);
	border: 2px solid var(--wcp-border);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.wcpro-spec {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wcpro-spec-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--wcp-text-light);
	font-weight: 700;
}

.wcpro-spec-value {
	font-size: 17px;
	font-weight: 700;
	color: var(--wcp-text-dark);
	font-family: 'Georgia', serif;
}

/* Hero Price */
.wcpro-hero-price {
	display: inline-flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 30px;
	font-family: 'Georgia', serif;
}

.wcpro-price-label {
	font-size: 16px;
	color: var(--wcp-text-light);
	font-weight: 600;
}

.wcpro-price-value {
	font-size: 38px;
	font-weight: 900;
	color: var(--wcp-wine-red);
}

/* Hero Button */
.wcpro-hero-button {
	display: inline-block;
	padding: 12px 30px;
	background: var(--color-button); /* BLACK from screenshots */
	color: #fff;
	text-decoration: none;
	border-radius: 4px; /* Simple from screenshots */
	font-weight: 700;
	font-size: 16px;
	transition: var(--wcp-transition);
}

.wcpro-hero-button:hover {
	background: var(--color-button-hover); /* Lighter black */
	color: #fff;
}

/* Hero Layout Variations */
.wcpro-hero-right .wcpro-hero-image {
	order: 2;
}

.wcpro-hero-right .wcpro-hero-content {
	order: 1;
}

.wcpro-hero-center .wcpro-hero {
	grid-template-columns: 1fr;
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
}

.wcpro-hero-center .wcpro-hero-image {
	max-width: 600px;
	margin: 0 auto 50px;
}

/* ==========================================================================
   Compare Shortcode - შედარების ლამაზი კარტები
   ========================================================================== */
.wcpro-compare-wrapper {
	margin: 80px 0;
}

.wcpro-compare-grid {
	display: grid;
	gap: 35px;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.wcpro-compare-item {
	background: linear-gradient(145deg, #ffffff 0%, var(--wcp-cream) 100%);
	border-radius: var(--wcp-radius);
	padding: 35px;
	box-shadow: var(--wcp-shadow);
	transition: var(--wcp-transition);
	position: relative;
	border: 2px solid transparent;
}

.wcpro-compare-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--wcp-wine-red) 0%, var(--wcp-gold) 100%);
	border-radius: var(--wcp-radius) var(--wcp-radius) 0 0;
	opacity: 0;
	transition: opacity 0.3s;
}

.wcpro-compare-item:hover {
	transform: translateY(-10px);
	box-shadow: var(--wcp-shadow-hover);
	border-color: var(--wcp-wine-red);
}

.wcpro-compare-item:hover::before {
	opacity: 1;
}

.wcpro-compare-image {
	width: 100%;
	height: 320px;
	border-radius: var(--wcp-radius);
	overflow: hidden;
	margin-bottom: 28px;
	background: #fff;
	border: 3px solid var(--wcp-border);
}

.wcpro-compare-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.wcpro-compare-item:hover .wcpro-compare-image img {
	transform: scale(1.08);
}

.wcpro-compare-title {
	margin: 0 0 12px 0;
	font-size: 24px;
	font-weight: 800;
	color: var(--wcp-text-dark);
	line-height: 1.3;
	font-family: 'Georgia', serif;
}

.wcpro-compare-producer {
	margin: 0 0 18px 0;
	font-size: 13px;
	color: var(--wcp-text-light);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.wcpro-compare-rating {
	margin-bottom: 22px;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--wcp-wine-red) 0%, var(--wcp-burgundy) 100%);
	color: #fff;
	border-radius: 60px;
	display: inline-block;
	font-weight: 800;
	font-size: 20px;
	box-shadow: 0 6px 20px rgba(139, 0, 0, 0.25);
}

.wcpro-compare-specs {
	background: #fff;
	border-radius: var(--wcp-radius);
	padding: 22px;
	margin-bottom: 22px;
	border: 2px solid var(--wcp-border);
}

.wcpro-compare-specs .wcpro-spec {
	padding: 12px 0;
	border-bottom: 1px solid var(--wcp-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
}

.wcpro-compare-specs .wcpro-spec:last-child {
	border-bottom: none;
}

.wcpro-compare-specs strong {
	color: var(--wcp-text-light);
	font-weight: 700;
}

.wcpro-compare-price {
	font-size: 28px;
	font-weight: 900;
	color: var(--wcp-wine-red);
	margin-bottom: 22px;
	font-family: 'Georgia', serif;
}

.wcpro-compare-button {
	display: block;
	width: 100%;
	padding: 12px 24px;
	background: var(--color-button); /* BLACK from screenshots */
	color: #fff;
	text-decoration: none;
	border-radius: 4px; /* Simple from screenshots */
	font-weight: 600;
	text-align: center;
	transition: var(--wcp-transition);
	font-size: 16px;
	border: none;
	cursor: pointer;
}

.wcpro-compare-button:hover {
	background: var(--color-button-hover); /* Lighter black */
	color: #fff;
}

/* ==========================================================================
   Responsive Design - ყველა ეკრანზე მორგებული
   ========================================================================== */
@media (max-width: 1200px) {
	.wcpro-grid.wcpro-grid-col-4,
	.wcpro-grid.wcpro-grid-col-6 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 1024px) {
	.wcpro-grid.wcpro-grid-col-3,
	.wcpro-grid.wcpro-grid-col-4,
	.wcpro-grid.wcpro-grid-col-6 {
		grid-template-columns: repeat(2, 1fr);
	}

	.wcpro-hero {
		gap: 50px;
		padding: 50px;
	}

	.wcpro-hero-title {
		font-size: 40px;
	}
}

@media (max-width: 768px) {
	.wcpro-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.wcpro-hero {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 40px;
	}

	.wcpro-hero-right .wcpro-hero-image,
	.wcpro-hero-right .wcpro-hero-content {
		order: initial;
	}

	.wcpro-hero-title {
		font-size: 36px;
	}

	.wcpro-hero-specs {
		grid-template-columns: 1fr;
	}

	.wcpro-list-wrapper {
		padding: 35px;
	}

	.wcpro-list::before {
		display: none;
	}

	.wcpro-list-item {
		padding-left: 70px;
	}
}

@media (max-width: 480px) {
	/* MOBILE-OPTIMIZED: Compact, clean design for phones */

	/* Grid Shortcode - Compact */
	.wcpro-grid-wrapper {
		margin: 20px 0; /* Reduced from 30px */
	}

	.wcpro-grid {
		grid-template-columns: 1fr;
		gap: 16px; /* Reduced from 20px */
	}

	.wcpro-grid-item {
		padding: 16px; /* Reduced from 20px */
	}

	.wcpro-item-image {
		height: 220px; /* Reduced from 320px */
	}

	.wcpro-item-content {
		padding: 20px; /* Reduced from 28px */
	}

	.wcpro-item-title {
		font-size: 18px; /* Reduced from 22px */
		margin-bottom: 10px;
	}

	.wcpro-producer {
		font-size: 12px;
		margin-bottom: 14px;
	}

	.wcpro-excerpt {
		font-size: 14px;
		margin-bottom: 14px;
	}

	.wcpro-badge {
		top: 12px;
		right: 12px;
		padding: 6px 12px;
		font-size: 10px;
	}

	.wcpro-button {
		padding: 10px 20px;
		font-size: 14px;
	}

	/* List Shortcode - Compact */
	.wcpro-list-wrapper {
		margin: 20px 0; /* Reduced from 60px */
		padding: 20px; /* Reduced from 25px */
	}

	.wcpro-list-item {
		padding: 20px; /* Reduced from 25px */
		padding-left: 60px;
		margin-bottom: 16px; /* Reduced from 35px */
	}

	.wcpro-list-numbered .wcpro-list-item::before {
		width: 45px; /* Reduced from 50px */
		height: 45px;
		font-size: 20px; /* Reduced from 22px */
		left: -18px;
	}

	.wcpro-list-item-title {
		font-size: 18px; /* Reduced from 24px */
		margin-bottom: 10px;
	}

	.wcpro-list-item-description {
		font-size: 14px; /* Reduced from 16px */
		margin-bottom: 14px;
	}

	.wcpro-list-item-cta {
		padding: 10px 20px; /* Reduced from 14px 28px */
		font-size: 14px;
	}

	/* Hero Shortcode - Compact */
	.wcpro-hero-wrapper {
		margin: 20px 0; /* Reduced from 80px */
	}

	.wcpro-hero {
		padding: 20px; /* Reduced from 30px */
		gap: 24px;
	}

	.wcpro-hero-title {
		font-size: 24px; /* Reduced from 32px */
		margin-bottom: 12px;
	}

	.wcpro-hero-producer {
		font-size: 14px; /* Reduced from 18px */
		margin-bottom: 16px;
	}

	.wcpro-hero-excerpt {
		font-size: 15px; /* Reduced from 18px */
		margin-bottom: 20px;
	}

	.wcpro-hero-rating {
		padding: 12px 20px; /* Reduced from 18px 32px */
		margin-bottom: 20px;
	}

	.wcpro-rating-number {
		font-size: 28px; /* Reduced from 42px */
	}

	.wcpro-rating-label {
		font-size: 16px; /* Reduced from 20px */
	}

	.wcpro-hero-specs {
		padding: 16px; /* Reduced from 28px */
		gap: 12px;
		margin-bottom: 20px;
	}

	.wcpro-spec-value {
		font-size: 15px; /* Reduced from 17px */
	}

	.wcpro-hero-price .wcpro-price-value {
		font-size: 28px; /* Reduced from 38px */
	}

	.wcpro-hero-button {
		padding: 10px 24px;
		font-size: 14px;
	}

	.wcpro-hero-badge {
		top: 16px;
		right: 16px;
		padding: 8px 16px;
		font-size: 11px;
	}

	/* Compare Shortcode - Compact */
	.wcpro-compare-wrapper {
		margin: 20px 0; /* Reduced from 80px */
	}

	.wcpro-compare-item {
		padding: 20px; /* Reduced from 35px */
	}

	.wcpro-compare-image {
		height: 200px; /* Reduced from 320px */
		margin-bottom: 16px;
	}

	.wcpro-compare-title {
		font-size: 18px; /* Reduced from 24px */
		margin-bottom: 10px;
	}

	.wcpro-compare-rating {
		font-size: 16px; /* Reduced from 20px */
		padding: 10px 18px;
		margin-bottom: 16px;
	}

	.wcpro-compare-specs {
		padding: 16px; /* Reduced from 22px */
		margin-bottom: 16px;
	}

	.wcpro-compare-specs .wcpro-spec {
		padding: 10px 0;
		font-size: 14px;
	}

	.wcpro-compare-price {
		font-size: 22px; /* Reduced from 28px */
		margin-bottom: 16px;
	}

	.wcpro-compare-button {
		padding: 10px 20px;
		font-size: 14px;
	}
}

/* ==========================================================================
   Animations - ანიმაციები
   ========================================================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wcpro-grid-item,
.wcpro-list-item,
.wcpro-compare-item {
	animation: fadeInUp 0.7s ease-out backwards;
}

.wcpro-grid-item:nth-child(1) { animation-delay: 0.1s; }
.wcpro-grid-item:nth-child(2) { animation-delay: 0.2s; }
.wcpro-grid-item:nth-child(3) { animation-delay: 0.3s; }
.wcpro-grid-item:nth-child(4) { animation-delay: 0.4s; }
.wcpro-grid-item:nth-child(5) { animation-delay: 0.5s; }
.wcpro-grid-item:nth-child(6) { animation-delay: 0.6s; }

/* ==========================================================================
   Ordered List Template - REDESIGNED to match user's live site screenshot
   2-Column Layout: [Image LEFT | Content RIGHT]
   Simple, clean, professional - BLACK buttons, NO RED colors
   Title format: "1. Category. Wine Name Year - Region"
   ========================================================================== */

.wcpro-ordered-list-container {
	margin: 30px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Individual Card - Simple 2-Column Layout */
.wcpro-ol-card {
	display: flex;
	align-items: flex-start;
	gap: 25px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 30px;
	transition: all 0.2s ease;
}

.wcpro-ol-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* Image Section (LEFT) - Small, Simple */
.wcpro-ol-image {
	flex-shrink: 0;
	width: 100px;
}

.wcpro-ol-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.wcpro-ol-image-link {
	display: block;
	transition: opacity 0.2s ease;
}

.wcpro-ol-image-link:hover {
	opacity: 0.85;
}

.wcpro-ol-placeholder {
	width: 100px;
	height: 150px;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
}

.wcpro-placeholder-icon {
	font-size: 36px;
	opacity: 0.3;
}

/* Content Section (RIGHT) - Everything stacked vertically */
.wcpro-ol-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Title - "1. Dry red wine. Wine Name 2020 - California" */
.wcpro-ol-title {
	font-size: 20px;
	font-weight: 700;
	color: #000;
	margin: 0;
	line-height: 1.4;
}

.wcpro-ol-title-link {
	color: #000;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wcpro-ol-title-link:hover {
	color: #333; /* Dark gray, NOT RED */
	text-decoration: none;
}

/* Description - Regular paragraph, NOT italic */
.wcpro-ol-description {
	font-size: 15px;
	line-height: 1.6;
	color: #333;
	margin: 0;
	/* NO font-style: italic - regular text */
}

/* Star Rating - Match Product Cards Style */
.wcpro-ol-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.wcpro-ol-stars-display {
	display: flex;
	gap: 2px;
}

.wcpro-star-filled,
.wcpro-star-empty {
	font-size: 14px;
}

.wcpro-star-filled {
	color: #f39c12; /* Orange stars like Product Cards */
}

.wcpro-star-empty {
	color: #e0e0e0;
}

.wcpro-ol-score-display {
	font-size: 13px;
	color: #333;
	font-weight: 600;
}

/* Price - Match Product Cards Style */
.wcpro-ol-price {
	font-size: 16px;
	font-weight: 400;
	color: #000;
	margin: 0;
}

.wcpro-ol-price .price-amount {
	font-weight: 700;
	font-size: 18px;
}

/* Button - BLACK background (NOT RED) */
.wcpro-ol-button {
	display: inline-block;
	padding: 12px 30px;
	background: #000; /* BLACK */
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 15px;
	transition: background 0.2s ease;
	align-self: flex-start; /* Left-aligned */
}

.wcpro-ol-button:hover {
	background: #333; /* Dark gray, NOT RED */
	color: #fff;
}

/* Responsive Design - Match Product Cards Layout on Mobile */
@media (max-width: 768px) {
	.wcpro-ol-card {
		flex-direction: column;
		padding: 0;
		gap: 0;
		overflow: hidden;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	}

	.wcpro-ol-image {
		width: 100%;
		height: 240px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #fff;
		padding: 16px;
		margin: 0;
	}

	.wcpro-ol-image-link {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.wcpro-ol-img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		max-width: 100%;
		max-height: 100%;
	}

	.wcpro-ol-placeholder {
		width: 100%;
		height: 100%;
		margin: 0;
	}

	.wcpro-ol-content {
		padding: 14px;
		gap: 5px;
		align-items: stretch;
		text-align: left;
	}

	.wcpro-ol-title {
		font-size: 15px;
		line-height: 1.3;
		text-align: left;
		min-height: auto;
	}

	.wcpro-ol-title-link {
		color: #333;
	}

	.wcpro-ol-description {
		font-size: 12px;
		line-height: 1.5;
		text-align: left;
	}

	.wcpro-ol-rating {
		justify-content: flex-start;
		gap: 8px;
		margin: 0;
	}

	.wcpro-star-filled,
	.wcpro-star-empty {
		font-size: 13px;
	}

	.wcpro-ol-score-display {
		font-size: 12px;
	}

	.wcpro-ol-price {
		font-size: 15px;
		margin: 0;
		text-align: left;
	}

	.wcpro-ol-price .price-amount {
		font-size: 17px;
	}

	.wcpro-ol-button {
		width: 100%;
		text-align: center;
		padding: 9px 16px;
		font-size: 13px;
		margin-top: 6px;
	}
}

@media (max-width: 480px) {
	/* OL-CTA - Mobile Optimized (Product Cards Style) */
	.wcpro-ordered-list-container {
		margin: 16px 0;
		gap: 16px;
	}

	.wcpro-ol-card {
		padding: 0;
		gap: 0;
	}

	.wcpro-ol-image {
		height: 220px;
		padding: 14px;
	}

	.wcpro-ol-placeholder {
		font-size: 28px;
	}

	.wcpro-ol-content {
		padding: 12px;
		gap: 5px;
	}

	.wcpro-ol-title {
		font-size: 14px;
		line-height: 1.3;
	}

	.wcpro-ol-description {
		font-size: 12px;
		line-height: 1.5;
	}

	.wcpro-ol-rating {
		margin: 0;
		gap: 6px;
	}

	.wcpro-star-filled,
	.wcpro-star-empty {
		font-size: 12px;
	}

	.wcpro-ol-score-display {
		font-size: 11px;
	}

	.wcpro-ol-price {
		font-size: 14px;
		margin: 0;
	}

	.wcpro-ol-price .price-amount {
		font-size: 16px;
	}

	.wcpro-ol-button {
		padding: 9px 16px;
		font-size: 13px;
		width: 100%;
		text-align: center;
	}
}

/* ==========================================================================
   Clickable Images & Titles - UX Enhancement
   ========================================================================== */

/* Clickable Image Links - All Templates */
.wcpro-image-link {
	display: block;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
	text-decoration: none;
}

.wcpro-image-link:hover {
	opacity: 0.85;
	transform: scale(1.02);
}

.wcpro-image-link img {
	transition: transform 0.2s ease;
}

.wcpro-image-link:hover img {
	transform: scale(1.05);
}

/* Clickable Title Links - All Templates */
.wcpro-title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
	cursor: pointer;
}

.wcpro-title-link:hover {
	color: var(--color-accent); /* Dark gray #333, NO RED */
	text-decoration: none;
}

/* Grid Template Specific */
.wcpro-wine-card .wcpro-image-link {
	display: block;
	overflow: hidden;
	border-radius: 4px;
}

.wcpro-wine-card .wcpro-title-link {
	display: inline;
}

/* Ordered List Template Specific */
.wcpro-ol-card .wcpro-image-link {
	display: block;
	border-radius: 8px;
	overflow: hidden;
}

.wcpro-ol-card .wcpro-title-link {
	display: inline;
}

/* Ranking List Template Specific */
.ranking-custom-grid .wcpro-image-link {
	display: block;
	border-radius: 8px;
	overflow: hidden;
}

.ranking-custom-grid .wcpro-title-link {
	display: inline;
}

/* Product Cards Template Specific */
.wine-product-card .wcpro-image-link {
	display: block;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
}

.wine-product-card .wcpro-title-link {
	display: inline;
}

/* Table Templates Specific */
.wine-table-img {
	transition: transform 0.2s ease;
}

.wine-table .wcpro-image-link {
	display: inline-block;
}

.wine-table .wcpro-image-link:hover .wine-table-img {
	transform: scale(1.1);
}

.wine-table .wcpro-title-link {
	font-weight: 700;
}

.wine-table .wcpro-title-link:hover {
	color: var(--color-accent); /* Dark gray #333, NO RED */
}

/* Accessibility - Show Focus States */
.wcpro-image-link:focus,
.wcpro-title-link:focus {
	outline: 2px solid var(--color-accent); /* Dark gray #333, NO RED */
	outline-offset: 2px;
}

/* Ensure smooth transitions on all devices */
@media (prefers-reduced-motion: reduce) {
	.wcpro-image-link,
	.wcpro-title-link,
	.wcpro-image-link img,
	.wine-table-img {
		transition: none;
	}
}

/* ==========================================================================
   Horizontal E-commerce Cards - New Template
   ზუსტად სურათზე ნაჩვენები დიზაინი
   ========================================================================== */

.wine-horizontal-ecommerce-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.wine-horizontal-card {
	display: flex;
	gap: 20px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 16px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	position: relative;
}

.wine-horizontal-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* Left: Image - REDUCED SIZE */
.wine-h-image {
	flex: 0 0 100px;
	width: 100px;
	height: 140px;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

.wine-h-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.wine-horizontal-card:hover .wine-h-image img {
	transform: scale(1.05);
}

.wine-h-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background: #667eea;
	z-index: 10;
}

.wine-h-badge.badge-editors_choice {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wine-h-badge.badge-best_seller {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.wine-h-badge.badge-best_value {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.wine-h-badge.badge-best_price {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Center: Content */
.wine-h-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wine-h-title {
	font-size: 18px;
	font-weight: 700;
	color: #000;
	margin: 0;
	line-height: 1.3;
}

.wine-h-title a {
	color: #000;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wine-h-title a:hover {
	color: #333;
}

.wine-h-region {
	font-size: 14px;
	color: #666;
	margin: 0;
}

.wine-h-rating {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wine-h-stars {
	display: flex;
	gap: 2px;
}

.wine-h-stars .star-filled {
	color: #f39c12;
	font-size: 14px;
}

.wine-h-stars .star-empty {
	color: #e0e0e0;
	font-size: 14px;
}

.wine-h-score {
	font-size: 14px;
	font-weight: 600;
	color: #000;
}

.wine-h-description {
	font-size: 14px;
	line-height: 1.5;
	color: #333;
	margin: 0;
}

/* Right: Sidebar (Price + Button) */
.wine-h-sidebar {
	flex: 0 0 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	gap: 12px;
}

.wine-h-price {
	text-align: right;
}

.wine-h-price .price-label {
	display: block;
	font-size: 12px;
	color: #666;
	margin-bottom: 4px;
}

.wine-h-price .price-value {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #000;
}

.wine-h-button {
	display: inline-block;
	padding: 10px 24px;
	background: #000;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.2s ease, transform 0.2s ease;
	text-align: center;
	white-space: nowrap;
}

.wine-h-button:hover {
	background: #333;
	transform: scale(1.05);
	color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
	.wine-horizontal-card {
		gap: 16px;
		padding: 14px;
	}

	.wine-h-image {
		flex: 0 0 90px;
		width: 90px;
		height: 120px;
	}

	.wine-h-sidebar {
		flex: 0 0 120px;
	}

	.wine-h-price .price-value {
		font-size: 20px;
	}

	.wine-h-button {
		padding: 10px 20px;
		font-size: 13px;
	}
}

@media (max-width: 768px) {
	.wine-horizontal-card {
		flex-direction: column;
		gap: 20px;
	}

	.wine-h-image {
		flex: 0 0 auto;
		width: 100%;
		max-width: 200px;
		height: 250px;
		margin: 0 auto;
	}

	.wine-h-content {
		text-align: center;
	}

	.wine-h-rating {
		justify-content: center;
	}

	.wine-h-sidebar {
		flex: 0 0 auto;
		width: 100%;
		align-items: center;
	}

	.wine-h-price {
		text-align: center;
	}

	.wine-h-button {
		width: 100%;
		max-width: 300px;
	}
}

@media (max-width: 480px) {
	/* Horizontal E-commerce - Mobile Optimized */
	.wine-horizontal-ecommerce-grid {
		gap: 12px; /* Reduced from 16px */
	}

	.wine-horizontal-card {
		padding: 14px; /* Reduced from 16px */
		gap: 16px;
	}

	.wine-h-image {
		max-width: 150px; /* Reduced from 200px */
		height: 200px; /* Reduced from 250px */
	}

	.wine-h-badge {
		top: 6px;
		right: 6px;
		padding: 3px 8px;
		font-size: 9px;
	}

	.wine-h-title {
		font-size: 16px; /* Reduced from 18px */
		line-height: 1.3;
	}

	.wine-h-region {
		font-size: 13px; /* Reduced from 14px */
	}

	.wine-h-description {
		font-size: 13px; /* Reduced from 14px */
		line-height: 1.4;
	}

	.wine-h-stars .star-filled,
	.wine-h-stars .star-empty {
		font-size: 13px; /* Reduced from 14px */
	}

	.wine-h-score {
		font-size: 13px; /* Reduced from 14px */
	}

	.wine-h-price .price-label {
		font-size: 11px; /* Reduced from 12px */
	}

	.wine-h-price .price-value {
		font-size: 18px; /* Reduced from 22px */
	}

	.wine-h-button {
		padding: 9px 20px; /* Reduced from 10px 24px */
		font-size: 13px; /* Reduced from 14px */
	}
}

/* ==========================================================================
   Extra Small Devices (≤360px) - Ultra Compact
   iPhone SE, Galaxy Fold, and other small screens
   ========================================================================== */
@media (max-width: 360px) {
	/* Universal Compact Styles */
	.wcpro-grid-wrapper,
	.wcpro-list-wrapper,
	.wcpro-hero-wrapper,
	.wcpro-compare-wrapper {
		margin: 16px 0; /* Even more compact */
	}

	.wcpro-grid {
		gap: 14px;
	}

	.wcpro-grid-item {
		padding: 14px;
	}

	.wcpro-item-image {
		height: 200px;
	}

	.wcpro-item-content {
		padding: 16px;
	}

	.wcpro-item-title {
		font-size: 17px;
	}

	.wcpro-producer {
		font-size: 11px;
	}

	.wcpro-excerpt {
		font-size: 13px;
	}

	.wcpro-badge {
		padding: 5px 10px;
		font-size: 9px;
	}

	.wcpro-button {
		padding: 9px 18px;
		font-size: 13px;
	}

	/* List Shortcode Ultra Compact */
	.wcpro-list-wrapper {
		padding: 16px;
	}

	.wcpro-list-item {
		padding: 16px;
		padding-left: 56px;
		margin-bottom: 14px;
	}

	.wcpro-list-numbered .wcpro-list-item::before {
		width: 40px;
		height: 40px;
		font-size: 18px;
		left: -16px;
	}

	.wcpro-list-item-title {
		font-size: 17px;
	}

	.wcpro-list-item-description {
		font-size: 13px;
	}

	/* Hero Ultra Compact */
	.wcpro-hero {
		padding: 16px;
		gap: 20px;
	}

	.wcpro-hero-title {
		font-size: 22px;
	}

	.wcpro-hero-producer {
		font-size: 13px;
	}

	.wcpro-hero-excerpt {
		font-size: 14px;
	}

	.wcpro-hero-rating {
		padding: 10px 18px;
	}

	.wcpro-rating-number {
		font-size: 24px;
	}

	.wcpro-rating-label {
		font-size: 14px;
	}

	.wcpro-hero-specs {
		padding: 14px;
	}

	/* Compare Ultra Compact */
	.wcpro-compare-item {
		padding: 16px;
	}

	.wcpro-compare-image {
		height: 180px;
	}

	.wcpro-compare-title {
		font-size: 17px;
	}

	/* OL-CTA Ultra Compact (Product Cards Style) */
	.wcpro-ordered-list-container {
		margin: 14px 0;
		gap: 14px;
	}

	.wcpro-ol-card {
		padding: 0;
		gap: 0;
	}

	.wcpro-ol-image {
		height: 200px;
		padding: 12px;
	}

	.wcpro-placeholder-icon {
		font-size: 24px;
	}

	.wcpro-ol-content {
		padding: 10px;
		gap: 4px;
	}

	.wcpro-ol-title {
		font-size: 13px;
		line-height: 1.3;
	}

	.wcpro-ol-description {
		font-size: 11px;
		line-height: 1.4;
	}

	.wcpro-ol-rating {
		margin: 0;
		gap: 5px;
	}

	.wcpro-star-filled,
	.wcpro-star-empty {
		font-size: 11px;
	}

	.wcpro-ol-score-display {
		font-size: 10px;
	}

	.wcpro-ol-price {
		font-size: 13px;
		margin: 0;
	}

	.wcpro-ol-price .price-amount {
		font-size: 15px;
	}

	.wcpro-ol-button {
		padding: 8px 14px;
		font-size: 12px;
	}

	/* Horizontal E-commerce Ultra Compact */
	.wine-horizontal-card {
		padding: 12px;
	}

	.wine-h-image {
		max-width: 130px;
		height: 170px;
	}

	.wine-h-title {
		font-size: 15px;
	}

	.wine-h-region,
	.wine-h-description {
		font-size: 12px;
	}

	.wine-h-price .price-value {
		font-size: 16px;
	}

	.wine-h-button {
		padding: 8px 18px;
		font-size: 12px;
	}
}
