/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/



/* --------------------------------------------------------------------------
 *  A. Generic WooCommerce cosmetics (safe — core Woo markup)
 * -------------------------------------------------------------------------- */

/* smaller "/ per item" style price suffix */
small.woocommerce-price-suffix { font-size: 0.8rem; }

/* strike-through <ins> reset used by sale prices */
ins { text-decoration: none; }

/* single product: SKU on its own line, bold value */
span.sku_wrapper { display: block; }
span.sku_wrapper > .sku { font-weight: 700; }

/* single product: tags on their own line */
span.tagged_as { display: block; }

/* product description tab heading */
#tab-description h2 { font-size: 1.1rem; }

/* product-categories widget: no bullets */
.widget_product_categories ul li,
aside ul.product-categories li { list-style-type: none; }

/* HIDE the sale badge — VERIFY: Woodmart may render it as .product-labels
   instead of .onsale. Delete this if you actually want the badge shown. */
span.onsale { display: none; }


/* --------------------------------------------------------------------------
 *  B. WHOLESALE GATE — hide variations/add-to-cart from guests
 *     Pairs with the .not_logged_in body class in functions.php.
 *     VERIFY against Woodmart's product markup (its variation form may
 *     wrap things differently than Betheme's form.variations_form).
 * -------------------------------------------------------------------------- */
.not_logged_in form.variations_form .single_variation_wrap { display: none !important; }


/* --------------------------------------------------------------------------
 *  C. REGISTRATION FORM — two-column layout for the χονδρική form
 *     This is the woocommerce-simple-registration plugin form
 *     (container .registration-form), which Woodmart does NOT lay out in
 *     columns like the account-page form. These rules restore the two-column
 *     pairing for .form-row-first / .form-row-last.
 * -------------------------------------------------------------------------- */
.registration-form form.register { overflow: hidden; } /* contain the floats */

.registration-form .form-row {
	box-sizing: border-box;
	margin-bottom: 12px;
}

/* paired fields side by side (48% + 4% gap + 48%) */
.registration-form .form-row-first,
.registration-form .form-row-last {
	width: 48%;
	float: left;
	clear: none;
}
.registration-form .form-row-first { margin-right: 4%; }
.registration-form .form-row-last  { margin-right: 0; }

/* full-width rows drop below any preceding pair */
.registration-form .form-row-wide,
.registration-form .form-row:not(.form-row-first):not(.form-row-last) {
	width: 100%;
	clear: both;
	float: none;
}

.registration-form .form-row .input-text,
.registration-form .form-row .password-input { width: 100%; box-sizing: border-box; }

.registration-form .form-row .required { color: #dd3333; text-decoration: none; }
.registration-form .clear { clear: both; }

@media (max-width: 575px) {
	/* stack everything on small screens */
	.registration-form .form-row-first,
	.registration-form .form-row-last {
		width: 100%;
		float: none;
		margin-right: 0;
	}
}

/* Name fields (Όνομα/Επίθετο) are now provided ONLY by the plugin's
   sr_firstname / sr_lastname — the duplicate billing name fields were removed
   in functions.php, so no CSS hiding is needed here. */


/* --------------------------------------------------------------------------
 *  D. Stock text under products in the loop — OPTIONAL
 *     Pairs with the (currently commented) "stock in shop loop" PHP.
 *     NOTE: old selector used Betheme's `ul.products.grid`. Woodmart uses a
 *     different products wrapper, so this is written against generic Woo.
 *     Only enable if you also enable that PHP block, then confirm the class.
 * -------------------------------------------------------------------------- */
/*
.woocommerce ul.products li.product p.stock {
	text-align: center;
	margin: 0 0 15px;
	padding: 0.125rem 0.5rem;
	background: #f1f1f1;
	font-weight: 600;
	font-size: 0.9rem;
}
.woocommerce ul.products li.product p.stock.out-of-stock { color: red; }
.woocommerce ul.products li.product p.stock.in-stock { color: #77a464; }
*/


/* --------------------------------------------------------------------------
 *  E. PLUGIN-CONDITIONAL — keep ONLY if the plugin is installed on the new site
 * -------------------------------------------------------------------------- */

/* Festi "User Role Prices" — MSRP / retail price pill. (ACTIVE — Festi is installed) */
.msrp {
	background: #afc2d7;
	width: fit-content;
	display: block;
	margin: 1rem 0;
	padding: 0.5rem 1rem;
	border-radius: 5rem;
	color: #fff;
}
.msrp span { font-weight: bold; }
.msrp.msrp_sale_price .retail_p span { text-decoration: line-through red; }

/* "Login to view wholesale price" button — keep only if you re-enable the
   matching PHP (the login2viewPrice block was commented out). */
/*
li .login2viewPrice { display: none !important; }
.login2viewPrice { font-size: 1rem !important; }
*/


/* ==========================================================================
 *  DELIBERATELY DROPPED (do not re-add as CSS — rebuild in Woodmart if needed):
 *   - All #Top_bar / #Header / #Header_wrapper / #Subheader / #Footer rules
 *   - .mfn-megamenu, .secondary_menu_wrapper, #Header .secondary-menu
 *   - Category banner images via #Header_wrapper  -> set per-category image in
 *     WooCommerce > Products > Categories (or Woodmart page-title options)
 *   - .footer_action CTA, .logo::after summer notice (seasonal) -> Woodmart options
 *   - .trailer_box, .portfolio_group, .content_slider, .alert, mfn-icons
 *   - .vc_row-fluid full-width hack (WPBakery)
 *   - .yith-* / mc4wp / pum / cookie-notice rules -> only if those exact
 *     plugins run here AND you are not using Woodmart's built-in equivalents
 * ========================================================================== */