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

:root {
	--wd-text-font: "Lora", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Marcellus SC", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Marcellus SC", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lora", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Marcellus SC", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 18px;
	--wd-header-el-font: "Marcellus SC", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-primary-color: rgb(195,147,91);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(195,147,91);
	--btn-accented-bgcolor-hover: rgb(169,127,79);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://topclassjewelry.com/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
: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://topclassjewelry.com/wp-content/uploads/2025/04/page-title-5.webp);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(234,234,234);
	background-image: none;
}
.page .wd-page-content {
	background-color: rgb(244,244,244);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(244,244,244);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

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


.elementor-widget-woodmart-product-category img {
    height: 250px; /* Change to whatever height you prefer */
    object-fit: cover;
    width: 100%;
}

/*调整product page gallary的高度和呈现方式*/
.gallery-item, 
.woocommerce-product-gallery__image {
  display: flex;
  align-items: center;
  justify-content: center;
	height: 700px;
}

.gallery-item img,
.woocommerce-product-gallery__image img {
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .woocommerce-product-gallery__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px; /* Optional: set a fixed height for mobile */
  }

  .woocommerce-product-gallery__image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
  }
}


/*删除shop page page title下面的显示商品计数*/
.archive .woocommerce-result-count {
    display: none !important;
}

/*page title上不显示shop字样*/
.archive .wd-title-wrapp{
	  display: none !important;
}

/*调整shop page page title下面的显示版式*/
.archive .wd-content-layout {
    padding-block: 0px;
	  padding-bottom: 40px;
}

.archive .shop-loop-head {
	
    margin-bottom: 20px;  
}


/*checkout payment option setting*/
.woocommerce-checkout .woocommerce-checkout-payment:before {
    content: 'Payment Options';
    display: block;
    font-weight: 600;
    font-size: 16px;
    position: relative;
	   color:#000;
        
	   padding-top:10px;
	   padding-bottom:10px;
	  
	   background-color: white;
     padding-left: 25px;
}


.woocommerce-checkout .payment_methods
 {	
    background-color: white;
    padding-left: 25px;
	  padding-right: 25px;
	  padding-bottom: 25px;
}

.woocommerce-checkout .payment_methods .payment_box
{
	background-color:beige!important;
}

/*checkout page地址填写部分背景*/
.woocommerce-checkout
.woocommerce-billing-fields input[type="text"],
.woocommerce-billing-fields input[type="email"],
.woocommerce-billing-fields input[type="tel"],
.woocommerce-billing-fields input[type='search'],
.woocommerce-billing-fields input[type='password'],
.woocommerce-billing-fields textarea, :root textarea, :root select
.woocommerce-billing-fields select {
    background-color: white; /* Replace with your desired color */
}

.woocommerce-checkout
.select2-container--default .select2-selection--single .select2-selection__rendered {
    background-color: white;
}


/*自定义的add to cart sticky bar style*/
/* Sticky Add to Cart Bar – One Line, Centered Content, Tighter Layout */
#sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    transition: transform 0.3s ease;
    transform: translateY(0);
    display: flex;
    justify-content: center;
}

#sticky-cart-bar.sticky-hidden {
    transform: translateY(100%);
}

.sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 25px;
    max-width: 1400px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.sticky-bar-inner::-webkit-scrollbar {
    display: none;
}

.sticky-product-name {
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .sticky-product-name {
        display: none;
    }
}

.sticky-form {
    flex: 1 1 auto;
    width: 100%;
}

.sticky-form form.cart,
.sticky-form form.variations_form {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    width: 100%;
}

.sticky-form .variations {
    display: flex;
    align-items: center;
    gap: 6px; /* Smaller gap between variant selects */
    margin-right: 0px; /* Bring quantity closer */
	  margin-bottom: 0px;
}

.sticky-form select {
    padding: 10px 12px;
    font-size: 14px;
    flex: 0 0 auto;
    max-width: 160px;
    white-space: nowrap;
}

.sticky-form input.qty {
    width: 70px !important;
    min-width: 60px;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    flex: 0 0 auto;
    margin-left: 0; /* Remove extra spacing */
}

.sticky-form button.button {
    padding: 10px 18px;
    font-size: 14px;
    white-space: nowrap;
    min-width: 120px;
    flex-shrink: 0;
}



@media (max-width: 767px) {
     
    .sticky-form form.variations_form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
  
	.sticky-form .variations {
        justify-content: stretch;
        flex-wrap: wrap;
        width: 100%;
    }

   
	
	 .woocommerce-variation-add-to-cart{
    flex-wrap: nowrap !important;
		}
}


/*product page variation selection display inline(如何设置成一行的话，选择以后会显示已选的Variation的值,需要去掉显示）*/
table.variations tr:last-child .cell{
display: inline;
}
table.variations label {
    margin-right: 10px;
}
table.variations .label span.wd-attr-selected
{
	display: none;
}


/* reCaptcha badge no show*/
 .grecaptcha-badge {
    visibility: hidden;
}



/*buy now等待动画*/

.wd-buy-now-btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.wd-buy-now-btn.loading .wd-loading {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid transparent;
  border-top-color: #fff;
  border-right-color: #fff;
  border-radius: 50%;
  animation: woodmartSpin 0.6s linear infinite;
}

@keyframes woodmartSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}





/**/
@media (min-width: 1025px) {
	.archive .wd-page-title {
    height: 280px;
}
}

@media (max-width: 576px) {
	/*调整手机版shop page title 高度*/
.archive .wd-page-title {
    height: 120px;
}

.archive .shop-loop-head {	 
	  margin-bottom: 5px;
}

/*调整手机版cart page title 高度*/
.woocommerce-cart .wd-page-title{
    height: 120px;
}

.woocommerce-checkout .wd-page-title{
    height: 120px;
}
}

