/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0https://1833.com.au/wp-admin/theme-editor.php?file=functions.php&theme=woodmart-child
 Text Domain:  woodmart
*/
.elementor-save-badge {position: static;border: #1c61e7 solid 1px;color: #1c61e7;font-size: 14px;font-weight: bold;padding: 8px 10px;margin-top: 10px;border-radius: 4px;}

.elementor-element.rmv_srt_desc .woocommerce_short_description {display: none !important;}
.inline-quantity > * {display: inline-block;margin-right: 5px; /* Add some spacing */vertical-align: middle; /* Optional: Helps with vertical alignment */}
.elementor-shape-bottom, .elementor-shape-top{display:none !important;}
/* review in product page & Review page 
ol.commentlist {list-style: none;}
.wprvwnew ol.commentlist {list-style: none;border: solid 1px #ccc;padding: 15px;border-radius: 10px;}*/

/* Start --------------------------------------------------  Sticky vertical button on the right side */
.sticky-popup-button {position: fixed;top: 45%;right: 18px;transform: translateY(-50%) rotate(-90deg);transform-origin: center right;background-color: #ff0000;color: #fff;padding: 6px 10px;font-weight: bold;text-decoration: none;border-radius: 4px 4px 0 0;z-index: 9999;box-shadow: 0 2px 8px rgba(0,0,0,0.15);white-space: nowrap;cursor: pointer;transition: background-color 0.3s ease;}
.sticky-popup-button:hover {background-color: #ff0000; color:#FFEB37;}
/* Popup overlay and content */
.popup-overlay {position: fixed;top: 0; left: 0;width: 100vw; height: 100vh;background: rgba(0, 0, 0, 0.6);display: flex;justify-content: center;align-items: center;z-index: 10000;}
.popup-content {position: relative;background: #fff;padding: 30px 40px;border-radius: 8px;max-width: 540px;width: 90%;text-align: center;}
/* Close "X" */
.popup-close {position: absolute;top: 10px;right: 15px;font-size: 22px;font-weight: bold;color: #333;cursor: pointer;}
.popup-close:hover {color: red;}
/* End -------------------------------------------------- Sticky button style */

/* --------------------------------------------- Corporate contact form  */
.product-row {display: flex;gap: 15px;flex-wrap: wrap;margin-bottom: 20px;}
.product-row .wd-col {flex: 1 1 33%; min-width: 200px;}
/* Make number input full width inside its column */
.product-row .inline-quantity input {width: 100%;}
.product-row .product-field {flex: 1 1 calc(33.33% - 10px) !important;}
.product-row .product-field input, .product-row .product-field select, .product-row .product-field textarea {width: 100% !important;box-sizing: border-box;}

/*.woocommerce-table, .woocommerce-table--order-details, .shop_table, .order_details, .woocommerce-button, .button, .mwb_track_order, .order-actions-button {background: #ff0000 !important; color: #fff !important; border-radius:5px; font-weight:bold;}

 :is(.btn, .button, button, [type="submit"], [type="button"]) {
 * */
/* footer contact form extra box remove ---------------------------------------- 
.hidden-fields-container{display:none;}

login .privacy-policy-page-link {display: none !important;}
.privacy-policy-page-link {display: none  !important;}

.variation-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.variation-card a.button {
    background-color: #0071a1;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}*/
/*  remove (includes $6.36 Tax) from order, cart & checkout page */
.includes_tax{display:none;}

/* Add to your theme or child theme's style.css */
.save-button {display: inline-block;border: 2px solid blue;color: red;padding: 5px 10px;margin-left: 10px;font-weight: bold;border-radius: 5px;}

/*	remove privacy info from login page */
.login .privacy-policy-page-link {display: none !important;}
.privacy-policy-page-link {display: none  !important;}


/* Underline links on hover in category, single post, and single product content -------------------------------------------- */
/* Links in category description */
.wd-term-desc.wd-entry-content a:hover {text-decoration: underline !important;}

/* Links in post/page/product content */
.wd-entry-content a:hover {text-decoration: underline !important;}

/* --------------------- hide post meta  -----------------------------------------------*/
.wd-single-post-header .wd-post-meta{display: none !important;}

/* ---------------------  -----------------------------------------------* /
.c-1833-register {
  position: fixed;
  top: 30%;
  right: -360px; / * hidden by default * /
  width: 360px;
  background: #e8e1d9;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  border-radius: 8px 0 0 8px;
  transition: right 0.4s ease;
  z-index: 9999;
  font-family: inherit;
}

.c-1833-register.open { right: 0; }

.quickg-outside {
  position: absolute;
  left: -100px;
  top: 40%;
  background: #000;
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
  transform: rotate(-90deg);
  transform-origin: right center;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
}

.quickg-outside:hover { background: #444; }

.quickg-inside { padding: 20px; text-align: center; }

.quickg-inside__img { max-width: 100%; height: auto; margin-bottom: 15px; }

.quickg-form { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.quickg-form input { padding: 10px; border: 1px solid #ccc; width: 100%; }
.quickg-form button { background: #000; color: #fff; padding: 10px 20px; border: none; cursor: pointer; }
.quickg-form button:hover { background: #444; }

.popup-privacy, .popup-subscribe { font-size: 12px; margin-top: 8px; text-align: left; }
.popup-privacy label, .popup-subscribe label { cursor: pointer; }
.popup-privacy a, .popup-subscribe a { color: #000; text-decoration: underline; }

/ * Popup container * /
.c-1833-register {
  position: fixed !important;
  top: 0;
  right: -320px; // hidden by default
  width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  transition: right 0.3s ease-in-out;
  z-index: 999999; // must be above header/menu
  border: 2px solid red; // DEBUG: show outline
}

/* Outside tab button * /
.c-1833-register .quickg-outside {
  position: absolute;
  top: 40%;
  right: 100%; // push it fully outside the panel
  background: #ff4d4d;
  color: #fff;
  font-weight: bold;
  padding: 14px 22px;
  cursor: pointer;
  transform: rotate(-90deg);
  transform-origin: right top;
  z-index: 1000000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}






/ *------------------------*/

/* RESPONSIVE: hide sticky button on very small screens if needed */
@media (max-width: 480px) {
/*	.sticky-popup-button {font-size: 12px;padding: 10px 14px;background-color:#fcba03; }*/
/* 	Corporate contact form element */
	.product-row {flex-direction: column !important;}
	.product-row .product-field {width: 100% !important;max-width: 100% !important;}
	.product-row .product-field input {width: 100% !important;}
	#chaty-widget-0 .chaty-widget{bottom:65px !important;}
/*	remove shipping to  from cart page */
	.woocommerce-shipping-destination{display:none}
/*	remove privacy info from login page */
	.login .privacy-policy-page-link {display: none !important;}
	.privacy-policy-page-link {display: none  !important;}
/*  remove (includes $6.36 Tax) from order, cart & checkout page */
	.includes_tax{display:none;}
/*	footer contact form extra box remove ---------------------------------------- */
	.hidden-fields-container{display:none;}
	.login .privacy-policy-page-link{display:none;}
}
