/* Varvitsiotis UI system (0.15.26, type and colour 0.15.28). The one authority for shape, control size, spacing, type and colour.
   Loaded last (functions.php, priority 30), after site.css, shop.css, drawer.css and quote.css.
   Tokens live in site.css :root. Rules, in short:

   SHAPE
   1. Anything you press, pick or type into is a pill: buttons, search, fields, selects, quantity, options, chips,
      filters, pagination. A control with only an icon is a circle, drawn with --r-pill (never 50%, which turns a
      key stretched to full width into an oval).
   2. Containers use one family: --r-l for panels, plates, cards, photos and sheets; --r-s for small thumbs (<120 px).
   3. A block that touches the screen edge is square on that edge (phone photo stage, footer, drawers).
   4. Ruled lists stay ruled: rows, tables and hairlines never get corners.
   5. Checkboxes are rounded squares (--r-xs), radios are circles. Multi-line fields use --r-m.

   SIZE (one height per role, everywhere)
   --c-s 40 (44 on touch screens): compact keys: card keys, chips, filters, sort, pagination, footer keys, icon keys.
   --c-m 48: header (Κατηγορίες, search, cart), every form field, every secondary key.
   --c-l 56: the one main action of a view: add to cart row, quote request, checkout, send.
   Status chips (not pressable): 28, --t-xs. Text in S and M keys: --t-s 500; in L keys: --t-m 500.
   Side padding: S 16, M 20, L 28.

   SPACE: 4-point scale --s1..--s8 (4 8 12 16 24 32 48 64), page gutter --g, section gap --sec.
   Keys in a row sit 8 apart; label to field 8; field to field 16; panel padding 24 (20 on phones). */

/* ---------- 1. Header ---------- */
.catbtn,.find,.cartbtn{height:var(--c-m);border-radius:var(--r-pill)}
@media(min-width:1000px){.catbtn,.find,.cartbtn{height:var(--c-m)}}
.catbtn{padding:0 22px 0 18px}
.find{padding-inline:22px 4px}
.find button{width:40px;height:40px;border-radius:var(--r-pill)}
.find button:hover{background:var(--hover)}
.cartbtn{padding:0 20px 0 18px}
.cartbtn .cc,.dock .cartd .cc{border-radius:var(--r-pill);min-width:20px;height:20px}
.dock .cartd .cc{min-width:18px;height:18px}
/* Desktop only: on phones the account lives in the dock and site.css hides it in the header. */
@media(min-width:1000px){.tools a.acct,.tools a.w:has(.ic:only-child){display:inline-grid;place-items:center;min-width:var(--c-m);height:var(--c-m);border-radius:var(--r-pill)}.tools a.acct:hover{background:var(--hover)}}
@media(max-width:999px){.cartbtn{height:var(--c-s);padding:0 14px}}
.heroq,.srch{height:var(--c-m);border-radius:var(--r-pill);overflow:hidden}
.srch{padding-left:20px}.srch button{width:var(--c-m);height:var(--c-m);border-radius:var(--r-pill)}
.heroq{padding:0 20px}
.mega{border-radius:0 0 var(--r-l) var(--r-l);overflow:hidden}
.mm-art,.mc-h img{border-radius:var(--r-l)}

/* ---------- 2. Sheets and drawers: rounded on the side that faces the page ---------- */
.panelx{border-radius:var(--r-l) 0 0 var(--r-l)}
@media(max-width:759px){.cdsheet .panelx{border-radius:var(--r-l) var(--r-l) 0 0}}
@media(max-width:540px){.sheet:not(.cdsheet) .panelx{border-radius:0}}
.x,.lb-x,.lb-go,.carn button,.soc a,.ft .soc a,.cdi .rm,table.shop_table .product-remove a,.woocommerce-product-gallery__trigger,.pvid-btn,.bfb-list a.add,.qx .qbtn{border-radius:var(--r-pill)}
.x,.carn button{width:var(--c-s);height:var(--c-s)}
.soc a{width:var(--c-s);height:var(--c-s)}
.ft .soc a{width:var(--c-s);height:var(--c-s)}
.cdsheet .cnt{border-radius:var(--r-pill)}

/* ---------- 3. Keys (buttons) ---------- */
:is(.woocommerce .button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button,.wc-block-components-button,
.ctab,.cx-dir,.hb .button,.wdbtn,.ft .wdbtn,.woocommerce a.button.vps-withdraw,.wpcf7 input[type=submit],.wpcf7 button,.wdf button,
.buyhelp a,.woocommerce-message .button,.woocommerce-info .button,table.shop_table .actions>.button,table.shop_table .actions .coupon .button,
.wc-proceed-to-checkout .checkout-button,.woocommerce-orders-table .button,.woocommerce-orders-table a.button,
.woocommerce-orders-table__cell-order-actions .wdbtn,.fpop .button,html .rb-f .button,.qs .go,.qbar button,.cdsheet a.button,.cdsheet a.button.vc,
.mx .summary>form.cart~.quote>summary,.quote>summary,.buybar .button,body .buybar button.button,
html .woocommerce .card a.button.add,html .card a.button.add,html .woocommerce .card a.button.ask,html .card a.button.ask,.woocommerce .card a.button.more,.card a.button.more,
form.cart .single_add_to_cart_button,.single-product .summary form.cart .single_add_to_cart_button){border-radius:var(--r-pill)}
/* Selectors with an id stay out of :is() lists: :is() takes its most specific argument, so one id would lift the whole list above every later override. */
.woocommerce #respond input#submit,#place_order,#customer_login .button,.ft-btns #cmplz-manage-consent .cmplz-manage-consent{border-radius:var(--r-pill)}

/* M: every key that is not compact and not the main action */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{min-height:var(--c-m);padding:0 20px;font-size:var(--t-s);font-weight:500}
.hb .button,.cx-dir,.cdsheet a.button.vc,#customer_login .button,table.shop_table .actions>.button,table.shop_table .actions .coupon .button,.fpop .button,html .rb-f .button{min-height:var(--c-m);padding:0 20px;font-size:var(--t-s);font-weight:500}

/* L: the main action of a view */
form.cart .single_add_to_cart_button,.single-product .summary form.cart .single_add_to_cart_button,#place_order,.woocommerce #place_order,.woocommerce .wc-proceed-to-checkout a.checkout-button,
.cdsheet a.button:not(.vc),.wpcf7 input[type=submit],.wpcf7 button,.wdf button,.ctab,.qs .go,.mx .summary>form.cart~.quote>summary,.quote>summary{min-height:var(--c-l);padding:0 28px;font-size:var(--t-m);font-weight:500}

/* S: compact keys */
.wdbtn,.ft .wdbtn,.ft-btns #cmplz-manage-consent .cmplz-manage-consent,.woocommerce-orders-table .button,.woocommerce-orders-table a.button,.woocommerce-orders-table__cell-order-actions .wdbtn,.buyhelp a{min-height:var(--c-s);padding:0 16px;font-size:var(--t-s)}
html .woocommerce .card a.button.ask,html .card a.button.ask,.woocommerce .card a.button.more,.card a.button.more{min-height:var(--c-s);height:var(--c-s);padding:0 16px;font-size:var(--t-s);font-weight:500}
html .woocommerce .card a.button.add,html .card a.button.add,html .bfb-list a.add{width:var(--c-s);min-width:var(--c-s);height:var(--c-s);min-height:var(--c-s);padding:0;border-radius:var(--r-pill)}

/* ---------- 4. Fields ---------- */
:is(.woocommerce input[type=text],.woocommerce input[type=email],.woocommerce input[type=tel],.woocommerce input[type=password],.woocommerce input[type=number],.woocommerce input[type=search],
.woocommerce select,.woocommerce .select2-container .select2-selection--single,form.checkout .form-row input.input-text,form.checkout .form-row select,form.checkout .select2-container .select2-selection--single,
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 input[type=url],.wpcf7 input[type=number],.wpcf7 select,.wdf input,
html body .bf-f input[type=text],html body .bf-q input[type=text],html .qs input[type=text],html .qs input[type=email],table.shop_table .actions .coupon input.input-text):not(.qty){
	min-height:var(--c-m);border-radius:var(--r-pill);padding-inline:20px}
.woocommerce .select2-container .select2-selection--single{height:var(--c-m)}
.woocommerce select,form.checkout .form-row select,.wpcf7 select{padding-right:44px;background-position:right 20px center}
:is(.woocommerce textarea,form.checkout .form-row textarea,.wpcf7 textarea,.wdf textarea,.quote .qf textarea){border-radius:var(--r-m);padding:14px 20px}
.select2-dropdown{border-radius:var(--r-m);overflow:hidden}
.fchk span::before,.fchk input+span::before{border-radius:var(--r-xs)}
input[type=checkbox]{border-radius:var(--r-xs)}
#billing_invoice_type_field label.radio{border-radius:var(--r-pill)}
/* The 9+ options select on phones (0.15.25) is a field like the others */
.single-product .summary .variations td.value:has(.vopts button:nth-child(9)) select.vps-hidden{min-height:var(--c-m);height:var(--c-m);padding-inline:20px 44px}
/* Sort select and filters are compact */
.woocommerce-ordering select,.bar .woocommerce-ordering select{min-height:var(--c-s);height:var(--c-s);border-radius:var(--r-pill);padding:0 40px 0 18px;background-position:right 16px center}

/* ---------- 5. Chips, options, quantity, pagination ---------- */
.chips a,.vfam-o a,.fdrop summary,.fbtn{height:var(--c-s);min-height:var(--c-s);padding:0 16px;border-radius:var(--r-pill)}
.variations .vopts button,.single-product .summary .variations .vopts button{min-height:var(--c-s);padding:0 16px;border-radius:var(--r-pill)}
.woocommerce-pagination .page-numbers a,.woocommerce-pagination .page-numbers span{min-width:var(--c-s);height:var(--c-s);border-radius:var(--r-pill)}
:is(.single-product .summary form.cart .quantity,form.cart .quantity){height:var(--c-l);border-radius:var(--r-pill);overflow:hidden}
/* One stepper everywhere: an outlined pill, − and + as circles, the number bare in the middle.
   Product page: L (56). Cart table, cart drawer, reorder list: S (40, 44 on touch). */
:is(table.shop_table .quantity,.cdi .quantity,.rb .quantity){display:inline-flex;align-items:center;height:var(--c-s);padding:0 3px;background:#fff;box-shadow:inset 0 0 0 1px var(--fline);border-radius:var(--r-pill);overflow:hidden}
:is(form.cart .quantity,table.shop_table .quantity,.cdi .quantity,.rb .quantity) .qty{min-height:0;height:100%;padding:0;border:0;border-radius:0;box-shadow:none;background:none;text-align:center}
:is(table.shop_table .quantity,.cdi .quantity,.rb .quantity) .qty{width:40px}
:is(table.shop_table .quantity,.cdi .quantity,.rb .quantity) .qb{width:calc(var(--c-s) - 6px);height:calc(var(--c-s) - 6px);border-radius:var(--r-pill);flex:none}
:is(form.cart .quantity) .qb{border-radius:var(--r-pill);width:48px;height:48px;margin:0 4px;flex:none}
:is(form.cart .quantity,table.shop_table .quantity,.cdi .quantity,.rb .quantity) .qb:hover{background:var(--hover)}
.cc,.card .off,.card .onsale,.single-product div.product>.onsale,.single-product div.product>.off,span.onsale{border-radius:var(--r-pill)}
.card .off,.card .onsale,span.onsale{min-height:28px;display:inline-flex;align-items:center;padding:0 12px;font-size:var(--t-xs)}
.cx-cell .ic,.hb-lede .kick i,.hb-tag i{border-radius:var(--r-pill)}
.pm{border-radius:var(--r-xs)}

/* ---------- 6. Containers ---------- */
:is(.card,.acc .col,.cmap>a,.rail a,.sup,.row3>div,.ctaband,.stats>div,.banks>div,.rev .rating,.rev .rev-l li,.hb,
.cart_totals,.woocommerce-order-overview li,.woocommerce-MyAccount-navigation,
.chead-art,.quote .qf,.quote-ok,.rb,.bfb-l,.fpop,.sugg,.wpcf7 .wpcf7-response-output,.wderr,.wdok,
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner,
.single-product .summary>form.cart,.single-product .summary .pinfo,.woocommerce-Tabs-panel--description table,
.woocommerce-product-gallery .woocommerce-product-gallery__image,.single-product .mx-js .woocommerce-product-gallery__image,.single-product .mx-js .pvid,.woocommerce-product-gallery .pvid){
	border-radius:var(--r-l)}
form.checkout #order_review,#customer_login>div{border-radius:var(--r-l)}
.card,.acc .col,.cmap>a,.rail a,.hb,.chead-art,.cart_totals,form.checkout #order_review,.woocommerce-product-gallery__image{overflow:hidden}
.woocommerce-MyAccount-navigation a{border-radius:var(--r-pill)}
:is(.single-product .mx-thumbs .mx-t,.woocommerce-product-gallery .flex-control-thumbs li,.woocommerce-product-gallery .flex-control-thumbs img,
.cdi .th,table.shop_table .product-thumbnail img,.sugg img,.bfb-list img,.bfb-tape img,.qr,.mx-t){border-radius:var(--r-s);overflow:hidden}
.sugg a{border-radius:var(--r-s)}
/* Rule 3: the phone photo stage runs to the screen edge, so it stays square there. */
@media(max-width:759px){html body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,html body.single-product .mx-js .woocommerce-product-gallery__image,html body.single-product .mx-js .pvid{border-radius:0}}

/* Notices: a rounded plate cannot carry a side stripe, so the colour moves into the plate. */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{border-left:0;padding:14px 20px}
.woocommerce-error{background:var(--err-bg);color:var(--err-ink)}
.woocommerce .woocommerce-message .button,.woocommerce .woocommerce-info .button{min-height:var(--c-s);padding:0 16px}

/* ---------- 7. Type (0.15.28) ----------
   One family (0.15.76): Manrope, self-hosted variable font (400 to 700, Greek + Latin), Arial as fallback.
   --disp marks titles, product names, prices and figures; --text everything else (same family today).
   Two weights: 400 for reading and titles; 500 for keys, labels, product names and prices.
   Nine sizes, nothing in between:
   --t-hero   home hero title only
   --t-page   page titles (H1)
   --t-sec    section titles, product name on its page
   --t-xl     figures: product price, totals, delivery time, footer phone
   --t-lead   panel and sub titles, intros
   --t-l 18 / --t-m 16 / --t-s 14 / --t-xs 12.5   text, interface, captions
   Glyphs drawn as text (+ − × in keys) and the map labels are icons, not type. */
.hb-lede h1,.pin h1{font-size:var(--t-hero)}
.ph h1,.cpage .ph h1,.shoppage .ph h1,.chead h1,.woocommerce-products-header__title{font-size:var(--t-page)}
.sup h2,.sup>h2,.hb-head h2,.cart-collaterals .cross-sells>h2,.single-product .product_title,
.woocommerce-tabs .woocommerce-Tabs-panel>h2:first-child,.woocommerce-tabs .woocommerce-Tabs-panel--description>h2:first-child{font-size:var(--t-sec)}
.single-product .summary .price,.single_variation_wrap .woocommerce-variation-price .price,.cart_totals .order-total .amount,
.cdt.tot b,.cdt.tot b .amount,.tl time,.ft-tel,.ft-call>.ft-tel,.mm-t{font-size:var(--t-xl)}
.sh h2,.cart_totals h2,form.checkout #order_review_heading,#customer_details h3,.woocommerce-Tabs-panel h2,.woocommerce-Tabs-panel h3,
.single-product div.product>.vp-desc-below h2,.single-product div.product>.vp-desc-below h3,.legal .entry h2,.wdok h2,.entry .row h2,
.woocommerce-thankyou-order-received,p.quote,.cpage .ph .lead,.pin .sub{font-size:var(--t-lead)}
/* the machine quote request is a form, not a pull quote (site.css .quote enlarged its text) */
details.quote{font-size:var(--t-m)}
.rep-name,.dock>*,.dock a,.dock button{font-size:var(--t-xs)}
/* Exceptions: the inner Tabs h2 rule above must not shrink the description's own first title */
.woocommerce-tabs .woocommerce-Tabs-panel>h2:first-child,.woocommerce-tabs .woocommerce-Tabs-panel--description>h2:first-child{font-size:var(--t-sec)}
/* Selected text */
::selection{background:var(--n150);color:var(--fg)}

/* Phones and tablets: room for the fixed dock (and the buy bar on products) under the footer. Elementor's page CSS
   (body.elementor-page-18{padding:0}, 0,1,1) zeroes site.css's body padding, which hid the last footer line under the dock. */
@media(max-width:999px){
	html body.theme-varvitsiotis{padding-bottom:calc(var(--dockh) + env(safe-area-inset-bottom,0px))}
	html body.theme-varvitsiotis.has-buybar{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}

/* Variable products: no empty space between the options and the quantity row.
   WooCommerce's «Καθαρισμός» link is visibility:hidden until a choice is made, but still took 24 px; the float
   clearer and Tiered Pricing's empty slot each became a 0 px flex row with its 6 px gap. */
.variations a.reset_variations:not([style*="visible"]){display:none}
.woocommerce-variation-add-to-cart>.clear{display:none}
.woocommerce-variation-add-to-cart>.tpt__tiered-pricing:has(> .tiered-pricing-fallback-data:only-child){display:none}
/* Last option to the quantity row: one step of the spacing scale (12). */
.single-product .summary>form.cart .variations tr:last-child td{padding-bottom:0}
.summary .variations+.single_variation_wrap,.summary .variations~.single_variation_wrap{margin-top:var(--s3)}

/* One dot per status: the availability chip carries it, so WooCommerce's stock line under it («2 σε απόθεμα…»)
   is plain green text (shop.css 700 drew an 8 px square). */
.single-product .summary .stock.in-stock::before{content:none}

/* Focus ring follows the shape */
:focus-visible{outline-offset:3px}

/* 0.15.60: the footer's two keys at one height. Complianz sets its own height:50px on «Διαχείριση συγκατάθεσης». */
.ft-btns #cmplz-manage-consent .cmplz-manage-consent{height:var(--c-s)!important;min-height:var(--c-s);line-height:1!important;font:400 var(--t-s)/1 var(--text)!important;letter-spacing:inherit}
.ft .wdbtn,.ft .ft-dir{height:var(--c-s);min-height:var(--c-s)}

/* ---------- 0.15.76: Manrope, 1 Dec ----------
   Manrope sets wider than Aktiv Grotesk at the same size. Display headings a touch tighter (usual for Manrope at large
   sizes) and the em width caps of page titles a little wider, so titles keep their line count. Category names and
   breadcrumb links stay on one line. */
.pin h1,.band h2,.sup h2,.entry h2,.two h2,.sh2 h2,.ctaband h2,.mm-t,.ph h1,.cpage .ph h1,.shoppage .ph h1,.chead h1,.chead h1.page-title{letter-spacing:-.022em}
.ph h1{max-width:17em}
.cpage .ph h1{max-width:15.6em}
.pin h1{max-width:calc(11.4em + var(--g))}
.cats a,.crumb a{white-space:nowrap}
.sup h2{text-wrap:pretty}
