/*!
 * Roline theme – shop group (category / product / search / manufacturers / wishlist).
 * Loaded after live.css + theme.css. Only what the live CSS pipeline could not port:
 *  1. Magic Zoom Plus (commercial, not ported) – rewritten from the measured values (design/components.md §11,
 *     design/raw/measure-vm-product-el-*.json): magnifier zoom window, hint pill, selector thumbs.
 *  2. Rules of the live custom.css that matched no crawled DOM at pipeline time (latest view date label,
 *     related-products carousel box, manufacturer details).
 *  3. Live JS-driven states reproduced statically (vmmscroll wrappers, responsive tabs, loader).
 */

/* ------------------------------------------------------------------ */
/* 1. Product gallery – Magic Zoom DOM rewritten (Q53)                 */
/* ------------------------------------------------------------------ */
/* measured: .main-image 620×681 (laptop) › a.MagicZoom 570×570 inline-block centred, img block 570×570 */
.MagicToolboxContainer { text-align: center; }
.MagicToolboxContainer a.MagicZoom {
	display: inline-block;
	position: relative;
	z-index: 1;
	max-width: 100%;
	font-size: 0;
	line-height: 0;
	vertical-align: middle; /* measured: the link sits in the 14px/21px line of .main-image with vertical-align middle (no gap above) */
	cursor: pointer;
	color: #c9020a;
	text-decoration: none;
}
.MagicToolboxContainer a.MagicZoom:hover,
.MagicToolboxContainer a.MagicZoom:focus { text-decoration: none; outline: 0; }
.MagicToolboxContainer .mz-figure {
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 0;
	max-width: 100%;
	vertical-align: top;
}
.MagicToolboxContainer .mz-figure > img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
	border: 0;
}
/* lens (266×266 = 570×0.466, border 1px rgba(170,170,170,.7), shadow 0 0 5px rgba(0,0,0,.3)); only the window is drawn */
.MagicToolboxContainer .mz-lens {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 266px;
	height: 266px;
	border: 1px solid rgba(170, 170, 170, 0.7);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	opacity: 0;
	overflow: hidden;
	z-index: 10;
	pointer-events: none;
	transform: translate(-10000px, -10000px);
}
.MagicToolboxContainer .mz-lens img { display: block; position: absolute; top: 0; left: 0; max-width: none; }
/* hint pill: .mz-hint 570×31.2 absolute bottom 8px, padding 0 10%; message rgba(49,51,61,.7) radius 24px, 12px/1.2, 8.4px 13.2px */
.MagicToolboxContainer .mz-hint {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	padding: 0 10%;
	text-align: center;
	color: #eee;
	font: 400 12px/1.2 "Lucida Grande", "Lucida Sans Unicode", Verdana, "Helvetica Neue", Arial, Helvetica, sans-serif;
	z-index: 1000;
	pointer-events: none;
}
.MagicToolboxContainer .mz-hint-message {
	display: inline-block;
	padding: 0.7em 1.1em;
	background: rgba(49, 51, 61, 0.7);
	border-radius: 24px;
	color: #eee;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 12px;
	line-height: 1.2;
	text-align: center;
}
.MagicToolboxContainer .mz-hint-message:before {
	content: "\2295";
	font-family: serif;
	font-size: 1.3em;
	line-height: 0;
	margin-right: 0.4em;
	vertical-align: -0.05em;
}
.MagicToolboxContainer .mz-figure.mz-hint-hidden .mz-hint { display: none; }
/* magnifier window: 399×399 round (570×0.7), rgba(255,255,255,.3), shadow 0 0 3px rgba(0,0,0,.2), image ×1.5 */
.MagicToolboxContainer .mz-zoom-window.mz-magnifier {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 399px;
	height: 399px;
	border-radius: 100%;
	background: rgba(255, 255, 255, 0.3);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	z-index: 2000000000;
	pointer-events: none;
}
.MagicToolboxContainer .mz-zoom-window.mz-magnifier.mz-active { display: block; }
.MagicToolboxContainer .mz-zoom-window img { display: block; position: absolute; top: 0; left: 0; max-width: none; width: auto; height: auto; }
/* selector thumbs: container padding-top 5px, text-align center, 100×100 inline-block links, img shadow 0 0 1px rgba(0,0,0,.3) */
.MagicToolboxContainer .MagicToolboxSelectorsContainer { padding: 5px 0 0; text-align: center; }
.MagicToolboxContainer .MagicToolboxSelectorsContainer a.mz-thumb {
	display: inline-block;
	width: 100px;
	height: 100px;
	line-height: 0;
	/* baseline alignment like live: the 100px thumbs leave the 6px descender gap of the 14px/21px line (#MagicToolboxSelectors = 106px) */
	cursor: pointer;
	margin: 0;
	padding: 0;
	border: 0;
	text-decoration: none;
}
.MagicToolboxContainer .MagicToolboxSelectorsContainer a.mz-thumb img {
	display: block;
	width: 100px;
	height: 100px;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
	border: 0;
	margin: 0;
}
/* no zoom window on touch layouts (the live plugin disables hover zoom there) */
html.touch .MagicToolboxContainer .mz-zoom-window { display: none !important; }

/* ------------------------------------------------------------------ */
/* 2. «Ρωτήστε μας» popup (inline styles come from the live markup)     */
/* ------------------------------------------------------------------ */
#productdetailsview .call-a-question .mapop { cursor: pointer; }

/* ------------------------------------------------------------------ */
/* 3. Responsive tabs – state after responsiveTabs.js + window.load     */
/* ------------------------------------------------------------------ */
/* the live script shows .tabs_show (display none → block, opacity 0 → 1) once the window is loaded */
.productdetails-view .example2 .tabs_show { display: block; opacity: 1; }
/* the list item text is a Joomla string with a leading space; the live tab shows it uppercase via live.css */

/* ------------------------------------------------------------------ */
/* 4. Listings                                                         */
/* ------------------------------------------------------------------ */
/* latest view date label (custom.css span.madate – not matched by the pipeline, the DOM is on /nea-proionta only) */
span.madate {
	background: #C9020A;
	color: #fff;
	padding: 0px 30px;
	font-size: 24px;
	border-radius: 0px 5px 5px 0px;
	margin-bottom: 20px;
}
/* vmmscroll/jscroll wrappers are plain blocks */
#product_list .jscroll-inner,
#product_list .vmmscroll-page,
#product_list .jscroll-added { display: block; }
#product_list .jscroll-added { clear: both; }
#product_list .jscroll-loading { clear: both; }
/* the category search box of the listing is hidden on live (.virtuemart_search display:none !important in live.css) */

/* ------------------------------------------------------------------ */
/* 5. Related products («Σχετικά προϊόντα», owl carousel on live)      */
/* ------------------------------------------------------------------ */
/* custom.css rules that matched no crawled DOM (the measured product has no related products) */
.product-related .Title { padding-top: 30px !important; }
#productdetailsview .product-related .paddingtop8 {
	flex-direction: row-reverse;
	justify-content: space-around;
	align-items: center;
	width: 100%;
	border: none;
}
#productdetailsview .product-related ul.layout .product-box .wrapper-slide { margin-top: 10px; }
#productdetailsview .product-related .pskuo span { font-size: 13px; margin-top: 14px; display: flex; justify-content: center; }
.product-related ul.layout .product-box .browseImage img { max-width: 280px; max-height: 280px; }
.product-related .img-wrapper { max-height: 280px !important; height: 280px; }
.product-related h3.module-title { text-align: center; }
/* static first slide of the owl carousel: 4 cards from 1000px, 3 ≥ 700, 2 ≥ 460, 1 below (owlCarousel options) */
.slide_box_width { width: 102%; overflow: hidden; margin-left: -14px; padding-right: 0; padding-top: 55px; margin-top: -55px; }
.product-related ul#slider.bxslider { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.product-related ul#slider.bxslider > li { float: none; width: 25%; margin: 0; padding: 0 15px; box-sizing: border-box; }
.product-related ul#slider.bxslider > li:nth-child(n+5) { display: none; }
.product-related ul.layout .prod-row { margin-right: 0; float: none; width: auto; }
@media (max-width: 1000px) {
	.product-related ul#slider.bxslider > li { width: 33.3333%; }
	.product-related ul#slider.bxslider > li:nth-child(n+4) { display: none; }
}
@media (max-width: 700px) {
	.product-related ul#slider.bxslider > li { width: 50%; }
	.product-related ul#slider.bxslider > li:nth-child(n+3) { display: none; }
}
@media (max-width: 460px) {
	.product-related ul#slider.bxslider > li { width: 100%; }
	.product-related ul#slider.bxslider > li:nth-child(n+2) { display: none; }
}

/* ------------------------------------------------------------------ */
/* 6. Manufacturer details (custom.css .manufacturer_details_view)     */
/* ------------------------------------------------------------------ */
.manufacturer_details_view .spacer {
	background: none repeat scroll 0 0 #FFFFFF;
	border-radius: 0 0 3px 3px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
	padding: 30px;
}
.manufacturer_details_view h3 { margin-bottom: 30px; }
/* reference screenshot (vm-manufacturer-details-el): no title above the box */
.manufacturer_details_view h3.module-title { display: none; }
.manufacturer_details_view .fleft { float: left; margin-right: 20px; }
.manufacturer_details_view .fleft .manufacturer-image { border: 2px solid #f5f7f8; }
.manufacturer_details_view .manufacturer-description { color: #6a6a6a; font: normal 14px/22px Arial, Helvetica, sans-serif; }
.manufacturer_details_view .wrap { width: 100%; overflow: hidden; margin-top: 20px; }
.manufacturer_details_view .manufacturer-product-link { float: left; margin: 10px 0 0px 0; }
.manufacturer_details_view .manufacturer-product-link a { font-size: 14px; }
/* manufacturer list tile image (live: 220×129 noimage.gif scaled to the 136px tile) */
.manufacturer-view-default .row_man a.box-indent img { display: inline-block; max-width: 100%; height: auto; }

/* ------------------------------------------------------------------ */
/* 7. Logged-in B2B product form (dimension select, quantity, cart)    */
/* ------------------------------------------------------------------ */
/* Ε17 (2026-11-04): the guessed rules of phase 4 were removed — the live rules of the logged-in box are in live.css /
   live-loggedin.css (measured on the live site with a «Χονδρική» account). */

/* 8. (phase 5) removed: copyright reset on shop pages — theme.css scopes the slider «.custom» rule to the home page
   since phase 4, and the reset gave the strip #696e6e instead of the live #666 inherited from .t3-footer. */

/* ------------------------------------------------------------------ */
/* 9. «ΝΕΑ ΠΡΟΪΟΝΤΑ» root cards (custom.css rule not matched by the   */
/*    pipeline – the DOM exists on /nea-proionta only)                  */
/* ------------------------------------------------------------------ */
#product_list.grid ul.layout .product-box .call-a-question.d-block {
	display: block !important;
}
/* selected selector thumb: the live image is dimmed to 60% (sampled: white → rgb(153,153,153) in the reference screenshot) */
.MagicToolboxContainer .MagicToolboxSelectorsContainer a.mz-thumb.mz-thumb-selected img {
	-webkit-filter: brightness(60%);
	filter: brightness(60%);
}

/* touch layouts: Magic Zoom shows its built-in «Tap to expand» hint (one line, no ⊕ icon) – text set by shop.js */
html.touch .MagicToolboxContainer .mz-hint-message:before { content: none; display: none; }

/* ------------------------------------------------------------------------------------------------------------ */
/* Logged-in B2B prices (phase 5 QA 2026-11-03). Live rules of templates/t3_bs3_blank/css/custom.css that only     */
/* match markup guests never see, so tools/theme/css-port.mjs did not port them (design/css-live/13-…custom.css:   */
/* l. 96, 618–647, 693). `.price span` is scoped to the product page box, the only place the live rule applies.     */
/* ------------------------------------------------------------------------------------------------------------ */
#productdetailsview .price .PricebasePrice {
	float: left;
	margin-right: 4px;
}

#productdetailsview .price span {
	font-size: 28px !important;
	color: #C9020A;
	font-weight: bold;
}

.tmprosforateliki {
	float: left;
}

.tmprosfora {
	float: left;
}

.tmcustom span {
	font-weight: bold !Important;
	font-size: 24px;
}

span.PricepriceWithoutTax {
	font-size: 30px;
}

/* live custom.css l. 6231 / 10346: «Product has attributes» of the logged-in listing form is never visible */
#product_list ul.layout .product-box .attributes,
.addtocart-bar2 .attributes {
	display: none;
}
