/* Multi Seller: the parts of the product page (picture box, thumbnails, price panel, quantity box, review stars).

   These rules used to be inside a full copy of the theme's stylesheet.css that the extension shipped, which replaced
   the stylesheet of whatever theme the store had. They are the extension's own file now, loaded by its product
   controller on the product page only.

   They apply to the default OpenCart theme. A theme that draws these parts itself is left alone: the redesigned
   default theme (it marks the page with data-look) and PLG Cart (its body carries ec-scheme-...).

   :where() keeps every rule as weak as it was in stylesheet.css, so the theme's own rules win or lose exactly as before. */

:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .main-image-box {
	border: 1px solid #ddd;
	margin-bottom: 10px;
	height: auto;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) #main-image {
	width: 100%;
	height: auto;
	object-fit: contain;
	padding: 0;
	display: block;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .thumbnails.list-inline {
	padding-left: 0;
	margin-left: 0;
	text-align: center;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .thumbnails.list-inline > li {
	padding: 0 2px;
	margin: 0 !important;
	vertical-align: top;
	display: inline-block;
	float: none;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .thumbnail-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border: 1px dashed #ddd;
	padding: 4px 4px 4px 4px;
	transition: border-color .2s ease-in-out;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .thumbnail-item.active {
	border-color: #337ab7;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .thumbnail-item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .verified-badge {
	background-color: #2c5298;
	color: #ffffff;
	font-size: 0.75em;
	padding: 4px 10px;
	border-radius: 12px;
	margin-left: 12px;
	font-weight: 600;
	vertical-align: middle;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating {
	font-size: 1.5em;
	color: #ddd;
	cursor: pointer;
	user-select: none;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating .star {
	color: #ddd;
	transition: color 0.2s;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating .star.hover, :where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating .star.selected {
	color: #ffcc00;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .rating-label {
	font-size: 1em;
	color: #888;
	width: 40px;
	text-align: center;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .rating-bad {
	order: 1;
	margin-right: 8px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating {
	order: 2;
	display: flex;
	gap: 4px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating .star {
	font-size: 1.5em;
	color: #ddd;
	cursor: pointer;
	transition: color 0.2s;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating .star.hover, :where(html:not([data-look]) body:not([class*="ec-scheme-"])) .star-rating .star.selected {
	color: #ffcc00;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .rating-good {
	order: 3;
	margin-left: 8px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel {
	margin-top: 12px;
	background: transparent;
	border: none;
	box-shadow: none;
	padding-bottom: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta {
	margin: 0;
	padding: 0;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta li {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 16px;
	font-size: 12px;
	position: relative;
	margin: 0 4px 10px 4px;
	border-radius: 6px;
	background: #f8fafc;
	border-left: 3px solid #3b82f6;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	transition: all 0.2s ease;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta li:nth-child(1) {
	border-left-color: #3b82f6;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta li:nth-child(2) {
	border-left-color: #10b981;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta li:nth-child(3) {
	border-left-color: #f59e0b;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta li:nth-child(4) {
	border-left-color: #8b5cf6;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta li:hover {
	transform: translateX(2px);
	border-left-width: 5px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta .meta-label {
	font-weight: 700;
	color: #475569;
	font-size: 10px;
	text-transform: uppercase;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-meta a {
	color: #111;
	text-decoration: none;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	background: #fff;
	margin: 12px 4px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #28B1D7;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	gap: 16px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-pricing {
	flex: 2;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .price-old {
	font-size: 15px;
	color: #ef4444;
	text-decoration: line-through;
	font-weight: 600;
	display: block;
	margin-bottom: 2px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .price-current {
	font-size: 30px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1;
	margin: 0 0 12px 0;
	letter-spacing: -1px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .price-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-top: 1px solid #f1f5f9;
	padding-top: 8px;
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .price-meta span {
	display: block;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-badge {
	flex-shrink: 1;
	width: 35%;
	max-width: 150px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 10px;
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
	box-sizing: border-box;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-badge img {
	max-width: 100%;
	max-height: 100px;
	width: auto;
	height: auto;
	margin-bottom: 8px;
	object-fit: contain;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .product-summary-panel .summary-badge .badge-caption {
	font-size: 11px;
	font-weight: 800;
	color: #334155;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .qty-panel {
	margin: 12px 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .qty-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .qty-label {
	font-size: 12px;
	font-weight: 800;
	color: #1e293b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .qty-input {
	width: 60px;
	height: 36px;
	border: 2px solid #cbd5e1;
	border-radius: 6px;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: #333;
	background: #fff;
	transition: border-color 0.2s;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .qty-input:focus {
	border-color: #28B1D7;
	outline: none;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .qty-add-btn {
	background: #28B1D7;
	color: white;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 12px;
	border-radius: 8px;
	border: none;
	width: 100%;
	box-shadow: 0 4px 6px rgba(40, 177, 215, 0.25);
	cursor: pointer;
	transition: all 0.2s ease;
}
:where(html:not([data-look]) body:not([class*="ec-scheme-"])) .qty-add-btn:hover {
	background: #1e9ac0;
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(40, 177, 215, 0.35);
}
