@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//ozcutabrasives.com.au/wp-content/themes/woodmart/fonts/woodmart-font-1-700.woff2?v=8.2.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//ozcutabrasives.com.au/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//ozcutabrasives.com.au/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//ozcutabrasives.com.au/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//ozcutabrasives.com.au/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//ozcutabrasives.com.au/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//ozcutabrasives.com.au/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//ozcutabrasives.com.au/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//ozcutabrasives.com.au/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Bebas Neue", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(255,187,0);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(251,188,52);
	--btn-default-bgcolor: rgb(255,222,23);
	--btn-default-bgcolor-hover: rgba(255,216,0,0.43);
	--btn-accented-bgcolor: rgb(255,222,23);
	--btn-accented-bgcolor-hover: rgba(255,232,102,0.8);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(255,91,58);
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	background-image: url(https://ozcutabrasives.com.au/wp-content/uploads/2021/09/retail-popup-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: url(https://ozcutabrasives.com.au/wp-content/uploads/2021/09/pexels-tima-miroshnichenko-5846247-scaled.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(35,31,32);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 16px;
}
.product-labels .product-label.featured {
	background-color: rgb(255,89,48);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #333;
--btn-accented-color-hover: #333;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.yith_ywraq_add_item_browse_message a {
  background-color: #ffa102;              /* 默认亮橘黄背景 */
  color: #000 !important;                 /* 黑色文字 */
  padding: 10px 20px;
  border-radius: 40px;                    /* 圆角按钮 */
  font-weight: 400;
  font-size: 15px;
  display: inline-block;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 1px solid transparent;          /* 默认边框透明，避免跳动 */
}

.yith_ywraq_add_item_browse_message a:hover {
  background-color: #fff;                 /* 悬停白色背景 */
  color: #000 !important;                 /* 保持黑色文字 */
  border: 1px solid #000;                 /* 黑色边框 */
}
/* 统一样式：YITH 相关提交按钮全圆角，黄色背景，黑色文字 */
/* 统一 YITH 和 WooCommerce 相关按钮样式 */
input.button.raq-send-request,
input[name="update_raq"].button,
a.button.wc-backward,
#ywraq_cart_quote {
  background-color: rgb(255, 230, 20) !important; /* 亮黄色 */
  color: #000 !important;                         /* 黑色文字 */
  border: none !important;
  border-radius: 9999px;                          /* 全圆角 */
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;

  display: inline-block;
  text-align: center;
  text-decoration: none !important;
	margin-bottom: 10px; /* ✅ 增加按钮下方间距 */
}

/* 悬停效果 */
input.button.raq-send-request:hover,
input[name="update_raq"].button:hover,
a.button.wc-backward:hover,
#ywraq_cart_quote:hover {
  background-color: rgb(255, 200, 23) !important; /* 悬停色稍暗 */
  text-decoration: none !important;
}

/* clear按钮样式 */
a.reset_variations {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  color: #dd5533 !important;
  background-color: transparent;
  border: 1.5px solid #dd5533;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  margin-top: 10px;
}

a.reset_variations:hover {
  background-color: #dd5533;
  color: #fff !important;
}

@media only screen and (max-width: 768px) {
  a.reset_variations {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 15px;
    margin-top: 5px; /* 这里往上挪一点 */
  }
}

.wd-sizeguide-btn {
    display: none !important;
}

/* 缩小整个弹窗并居中 */
.ui-dialog.ywraq-quote-on-cart {
  width: 90% !important; /* 或者固定宽度如 600px */
  max-width: 600px !important;
  top: 10vh !important;  /* 距离页面顶部 10% */
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 99999 !important;
  position: fixed !important;
}

/* 弹窗内容可滚动 */
.ui-dialog-content.ui-widget-content {
  max-height: 70vh !important;
  overflow-y: auto !important;
  position: relative !important;
  padding: 1rem !important;
  box-sizing: border-box;
}

/* 修复关闭按钮显示 */
.ui-dialog-titlebar-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 10000 !important;
  background: transparent !important;
  border: none !important;
  font-size: 18px !important;
  cursor: pointer !important;
}

/* 标题栏增加右侧空间，避免挡住标题 */
.ui-dialog-titlebar {
  padding-right: 40px !important;
}

/* 内容容器加上顶部 padding */
.ywraq-request-a-quote-on-cart__wrapper {
  padding-top: 2rem !important;
}

/* Payment gateway Style */
/* 统一 Cybersource 卡号和安全码容器样式 */
/*#cybersource_credit_card-card-number-hosted,
#cybersource_credit_card-cvc-hosted {
  border: 2px solid #ccc;
  border-radius: 44px;
  padding: 10px 12px;
  background-color: #fefefe;
  margin-bottom: 16px;
  min-height: 50px;
}

/* iframe 统一高度和圆角 */
/*#cybersource_credit_card-card-number-hosted iframe,
#cybersource_credit_card-cvc-hosted iframe {
  height: 30px !important;
  border-radius: 44px;
}*/

/*Table Builder Slyle*/
.sp-close-details {
  position: absolute;
  top: 10px;   /* 距顶部距离 */
  right: 10px; /* 距右侧距离 */
}
/*Table Builder Slyle-Hole Pattern*/
@media (max-width: 768px) {
  /* 让 section 5 横向滚动并露出下一张卡片 */
  .sp-section-5 .sp-parameters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    width: 100% !important;
    padding-right: 20px; /* 留出空间 */
    scroll-snap-type: x mandatory; /* 可选，滑动自动对齐 */
  }

  .sp-section-5 .sp-parameters::-webkit-scrollbar {
    display: none;
  }

  .sp-section-5 .sp-parameters > .sp-parameter {
    flex: 0 0 auto !important;
    width: 75% !important; /* 露出下一张卡片一点 */
    scroll-snap-align: start; /* 配合自动对齐 */
  }

  /* 渐变阴影提示 */
  .sp-section-5 {
    position: relative;
  }
  .sp-section-5::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to left, white, transparent);
    pointer-events: none;
  }
}

/* 隐藏 'Build Your Welding Table' 页面上的移动底部导航栏 */
.page-id-21577 .wd-toolbar {
    display: none !important;
}

/* 手机端深色风格，全屏铺满 */
@media (max-width: 768px) {
    /* 包裹容器，抵消父容器可能的 padding/margin */
    .sp-mobile-price-wrapper {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 整个价格容器 */
    .sp-mobile-price {
        width: 100% !important; /* 铺满父容器 */
        margin: 0 !important;
        background-color: rgba(35, 31, 32, 1) !important;
        color: #fff !important;
        box-sizing: border-box;
        padding-left: 10px;  /* 左右内边距 */
        padding-right: 10px;
    }

    /* 内部 flex 容器 */
    .sp-mobile-price-box {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-top: none !important; /* 去掉顶部边框 */
    background: rgba(35, 31, 32, 1) !important;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

    /* 左侧部分 */
    .sp-mobile-price-left {
        width: 30%;
        padding-right: 10px;
        border-right: 1px dashed #fff !important; /* 虚线改白色 */
        box-sizing: border-box;
    }

    /* 文字说明 */
    .sp-mobile-price-text {
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        line-height: 1.4;
        color: #fff !important;
        padding-top: 10px;
        padding-left: 5px;
        padding-bottom: 10px;
        box-sizing: border-box;
    }

    /* 价格数字 */
    .sp-mobile-price-amount {
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 24px;
        color: #fff !important;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .sp-parameter-text h4 {
        line-height: 20px !important; /* 改成你想要的高度 */
    }
}

@media (max-width: 768px) {
    .sp-section-header {
        margin-bottom: 10px !important;
    }
}

.sp-calculator {
    margin-top: 0 !important;    /* 去掉顶部空白 */
    margin-bottom: 0 !important; /* 去掉底部空白 */
    padding-top: 0 !important;   /* 去掉顶部内边距 */
    padding-bottom: 0 !important;/* 去掉底部内边距 */
}

/* 覆盖插件自带按钮样式 */
.sp-video-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background-color: #FFD600 !important;
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    border: none !important;
    border-radius: 44px !important;
    cursor: pointer !important;
    transition: background-color 0.3s, transform 0.2s !important;
}

.sp-video-button:hover {
    background-color: #FFE44D !important;
    transform: translateY(-2px) !important;
}@media (max-width: 576px) {
	.sp-navigation-container {
    background: #ffffff !important; /* 背景色覆盖插件 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; /* 阴影覆盖插件 */
    padding: 10px !important; /* 内边距覆盖插件 */
    border-radius: 8px !important; /* 圆角覆盖插件 */
    z-index: 10 !important; /* 确保在其他元素上方 */
}

.sp-section[data-section-id="2"],
.sp-section[data-section-id="3"] {
    padding-left: 15px !important;
}

.sp-video-button {
        transform: scale(0.6);
    }
}

