/* ============================================
   Global Theme: Bobine-Mart Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #002060;
    --accent-gold: #C5A059;
    --neutral-grey: #F4F7F9;
    --text-color: #2D3436;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body,
body *:not(i):not(.fa):not([class*="icon"]):not([class*="dgwt-wcas-ico"]) {
    font-family: var(--font-main) !important;
}

body {
    background-color: var(--neutral-grey);
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.site-title,
.woocommerce div.product .product_title,
.woocommerce-loop-product__title,
.page-title,
.entry-title {
    font-family: var(--font-heading) !important;
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

/* Links */
a {
    color: var(--primary-blue);
    transition: color .2s;
}
a:hover {
    color: var(--accent-gold);
    text-decoration: none;
}

/* Buttons - CTA gold */
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.add_to_cart_button,
.single_add_to_cart_button,
.checkout-button,
#place_order {
    background: var(--accent-gold) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: var(--font-main) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: .03em;
    padding: 10px 24px !important;
    transition: all .25s ease !important;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(197,160,89,.25);
}
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
#place_order:hover {
    background: var(--primary-blue) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(0,32,96,.3) !important;
    transform: translateY(-1px);
}

/* WooCommerce product cards */
.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    transition: box-shadow .25s, transform .25s;
    border: 1px solid rgba(0,32,96,.06);
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 6px 24px rgba(0,32,96,.1);
    transform: translateY(-3px);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--primary-blue);
    font-weight: 500;
}
.woocommerce ul.products li.product .price {
    color: var(--accent-gold) !important;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px !important;
}

/* WooCommerce badges */
.woocommerce span.onsale {
    background: var(--primary-blue) !important;
    color: #fff;
    font-family: var(--font-main);
    font-weight: 600;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    font-family: var(--font-main);
    font-size: 12px;
    color: #999;
}
.woocommerce .woocommerce-breadcrumb a {
    color: var(--primary-blue);
}

/* Tabs on product page */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--accent-gold);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    font-family: var(--font-main);
    color: var(--text-color);
    border-radius: 6px;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    font-family: var(--font-main);
    border: 1px solid #dde1e6;
    border-radius: 6px;
    padding: 8px 12px;
    transition: border-color .2s;
    font-size: 13px;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,32,96,.08);
}

/* Footer */
footer, .site-footer, #colophon {
    background: var(--primary-blue) !important;
    color: rgba(255,255,255,.8);
}
footer a, .site-footer a {
    color: var(--accent-gold) !important;
}
footer h3, footer h4, .site-footer h3, .site-footer h4 {
    font-family: var(--font-heading);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--neutral-grey); }
::-webkit-scrollbar-thumb { background: #c0c5cc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

/* ============================================
   Header compact: logo + search height fix
   ============================================ */
/* Logo: frosted glass card */
.elementor-4303 .elementor-widget-image {
    background: rgba(255,255,255,.65);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border-radius: 10px;
    border: 1.5px solid rgba(0,32,96,.1);
    box-shadow:
        0 2px 8px rgba(0,32,96,.08),
        0 0 0 1px rgba(255,255,255,.6) inset;
    padding: 4px 10px;
    transition: all .3s ease;
}
.elementor-4303 .elementor-widget-image:hover {
    background: rgba(255,255,255,.85);
    border-color: #C5A059;
    box-shadow:
        0 6px 24px rgba(0,32,96,.12),
        0 0 0 1px rgba(255,255,255,.8) inset;
    transform: translateY(-1px);
}
.elementor-widget-image img {
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}
/* Pirx style override - force compact search */
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 16px !important;
    height: 32px !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    padding: 0 12px 0 36px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    line-height: 32px !important;
    font-size: 13px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    background-color: #fff !important;
    border: 1.5px solid #dde1e6 !important;
    font-family: 'Montserrat', sans-serif !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
    border-color: #002060 !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    height: 32px !important;
    min-height: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    left: 4px !important;
    top: 0 !important;
}
.dgwt-wcas-search-wrapp,
.dgwt-wcas-search-wrapp .dgwt-wcas-search-form {
    height: 32px !important;
    max-height: 32px !important;
}
.dgwt-wcas-search-wrapp .dgwt-wcas-ico-magnifier,
.dgwt-wcas-search-wrapp .dgwt-wcas-preloader,
.dgwt-wcas-search-wrapp .dgwt-wcas-voice-search {
    height: 32px !important;
    line-height: 32px !important;
}

/* ============================================
   Snippet #30: Mega-menu
   ============================================ */
#mega-menu-wrap-main_menu {
	margin-left: 0;
  margin-right: 0;
  border: 0;

}

/* ============================================
   Snippet #31: Privilege
   ============================================ */

.user-role-administrator 
  .elementor-element.elementor-element-132beaa > .elementor-element-populated {
    background-image: linear-gradient(to left, #141920 0%, #141920 30%, #fa9a06 100%);
}


.user-role-client_privilegie #mega-menu-wrap-main_menu,
.user-role-administrator #mega-menu-wrap-main_menu {
    background-image: linear-gradient(to top, #fa9a06 0%, #141920 100%);
}


/* ============================================
   Snippet #32: 页面调整
   ============================================ */
.header-cart .wishlist-style-four .fa-heart, .header-cart .wishlist-style-four .count, .header-cart .cart-style-four .fa-shopping-cart, .header-cart .cart-style-four .count, .rsrc-container, .panel, .site-header-cart, .navbar, .dropdown-menu {
    background-color: white;
		padding:0;
}

.woocommerce a.added_to_cart {display:none}
/* 单品页的 box-sizing 不影响星星显示，可以保持不动 */
.single-product .summary.entry-summary *,
.single-product .summary.entry-summary *::before,
.single-product .summary.entry-summary *::after {
    box-sizing: inherit;
}

.woocommerce .woocommerce-product-rating .star-rating {

    display: none !important;
 
}


/* 全局盒模型，更好控制布局 */
html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* 基础文字样式 */
body {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);


}

/* 段落和 span 的默认样式 */
p, span {
    font-size: 14px;
    line-height: 1.3;
    margin: 0 0 0.75em;
    padding: 0;
}

/* 标题稍微有层次一点 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    margin: 0 0 0.6em;
    font-weight: 600;
}

/* 全局链接样式：浅金黄色下划线 */
a {
    color: #304c60;              /* 默认文字颜色 */
    text-decoration: underline;  /* 下划线 */

    font-weight: normal;

    transition: 
        color 0.2s ease,
        text-decoration-color 0.2s ease,
        font-weight 0.2s ease;
}

/* hover：变红、加粗，下划线变深金色 */
a:hover,
a:focus {
    color: #d42f2f;


}

/* 键盘导航可见焦点 */
a:focus-visible {
    outline: 2px solid #d42f2f;
    outline-offset: 2px;
}

[class^=xoo-wsc-icon-], [class*=" xoo-wsc-icon-"] {

    margin: 0;
}


.woocommerce div.product form.cart .variations label {
    color: #141920;
    text-transform: uppercase;
    margin: 0;
    line-height: 18px;
}

/* ============================================
   Snippet #34: rsrc
   ============================================ */
.rsrc-main .rsrc-post-content {
    padding-left:5px;
    padding-right:5px;
    padding-top:0;
    margin:0px;
}

.rsrc-header-text {
    display: none;
    height: 0;
}


.rsrc-header-text h1.site-title {
    font-family: initial;
    font-size: 0;
    letter-spacing: 0px;
    line-height: 1.8;
}

.rsrc-content {
    height: 100%;
    margin-top: 0px;

}

.rsrc-header, .dropdown-menu {

    background-color: transparent;

}
.rsrc-content {
   margin-left: 6px;
   margin-right: 6px;
	
}


.ehf-header #masthead {
    z-index: 99;
    position: relative;
    background: #141920;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
background-color: transparent;
}

h1.page-header, h2.page-header {
    display:none
}




.header-section {

    position: relative;
    margin-bottom: 0px;
    background-color: #203041;
	}



.onsale{
	display: None
}



#breadcrumbs {
    padding: 14px 24px !important;
    margin-bottom: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(0,32,96,.08) !important;
    border-top: none !important;
    font-size: 13px !important;
    color: #aab0b6 !important;
    letter-spacing: .03em;
    box-shadow: 0 1px 4px rgba(0,0,0,.03) !important;
}
#breadcrumbs .breadcrumbs-inner {
    color: #aab0b6 !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    text-align: left !important;
}
#breadcrumbs a {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color .2s;
}
#breadcrumbs a:hover {
    color: var(--accent-gold) !important;
}
.rsrc-header {
    display: none;
}


#ivole-histogramTable tr.ivole-histogramRow td:last-child {

    padding-right: 0;
    display: none;

}





.categories {
		height: 200px;
	min-height: 200px !important;
}


.woocommerce ul.products li.product h3, .woocommerce ul.products li.product h2.woocommerce-loop-product__title, .woocommerce ul.products li.product h2.woocommerce-loop-category__title {

    width: 100%;
    text-align: center;
    color: black;
    font-weight: bold;
    line-height: 1em;
    padding: 0;
    font-size: 12px;
		font-weight: 190;  
    display: block;
		height: 60px;
	  text-transform: none;
		text-overflow:elipsis;
   	overflow:hidden;
	
}







 .woocommerce ul.products li.product {
  width: 16.95%;
  margin-left: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  float: left;
  animation: all .3s;
  transition: all .3s ease-out;
  position: relative;
  text-align: center;
  
  /* 新的外观样式 */
  background: #fff;
  padding: 5px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.05);
}


body, .btn-primary.outline, .home-header .page-header a, .page-header, .header-cart a, .header-login a, .entry-summary, .btn-primary.outline, .navbar-inverse .navbar-nav > li > a, .widget h3, .header-cart, .header-login, .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 14px;
    letter-spacing: 0px;
    line-height: 1.5;
		margin-right: 0;
	  margin:0
}




body, .btn-primary.outline, .home-header .page-header a, .page-header, .header-cart a, .header-login a, .entry-summary, .btn-primary.outline, .navbar-inverse .navbar-nav > li > a, .widget h3, .header-cart, .header-login, .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 14px;
    letter-spacing: 0px;
    line-height: 1.5 !important;
		margin-right: 0;
	  margin:0
		  
}



/* ============================================
   Snippet #35: post
   ============================================ */
.post-meta {
	display:None
}

.postauthor-container {
    display: None;
}
.rsrc-author-credits {
    padding: 0px;
    text-transform: uppercase;
	margin-left: 5px;
	margin-right: 5px;
	width:100%;
    text-align: center;
	
}

/* ============================================
   Snippet #37: order total
   ============================================ */

.order-total{
	color:green
}

/* ============================================
   Snippet #38: Payment
   ============================================ */
.woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    border: 1px solid;
    box-shadow: 2px 2px 2px black;
}

.woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods{
    text-align: left;
    padding: 1em;
    border: 2px solid #d3ced2;
    margin: 0;
    list-style: none outside;
    list-style-position: outside;
    list-style-image: none;
    list-style-type: none;
    background-color: #F3980030;
    border: 1px solid;

}

/* ============================================
   Snippet #40: 产品缩略图
   ============================================ */
/* ===========================
   商品列表缩略图：卡片整体布局
   =========================== */

/* 每个 li.product 当成卡片竖排 */
ul.products li.product {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 图片 + 标题 + 价格 这一块为主体区域 */
ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* ===========================
   隐藏「添加到购物车」按钮
   =========================== */

ul.products li.product a.button.add_to_cart_button,
ul.products li.product a.button.product_type_simple,
ul.products li.product a.button.product_type_variable {
  display: none !important;
}

/* ===========================
   隐藏评论链接（10 comments）
   =========================== */

ul.products li.product a.rating-comment {
  display: none !important;
}

/* ===========================
   标题：大一点，限制两行
   =========================== */

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin: 0px 0 4px 0 !important;
	padding:0px;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;          /* 最多 2 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===========================
   列表里的价格块：基础样式
   =========================== */

ul.products li.product .price {
  display: block;
  margin-top: 4px;
}

/* 所有列表金额：不加粗 + 1rem */
ul.products li.product .price .woocommerce-Price-amount {
  font-weight: 700 !important;
  font-size: 1rem !important;

}

/* 1. 所有商品：隐藏原价（横杠价格）*/
ul.products li.product .price del {
  display: none !important;
}

/* 2. 删除 price 里的换行符 <br>，让折扣和最终价同一行 */
ul.products li.product .price br {
  display: none !important;
}

/* 3. 确保折扣标签和最终价格同行显示、稍微留个间距 */
ul.products li.product .price .my-discount-label {
  margin-right: 6px;          /* 折扣和价格之间的空隙 */
  vertical-align: middle;
}

ul.products li.product .price ins {
  display: inline-block;      /* 保证跟折扣排一行，看起来整齐 */
  vertical-align: middle;
}

/* ===========================
   折扣标签：红色高亮（simple + variable 都有）
   =========================== */

ul.products li.product .price .my-discount-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1em 0.55em;
  border-radius: 999px;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  background: #e53935;  /* 红底 */
  color: #ffffff;       /* 白字 */
}

/* ===========================
   HT：所有商品都不显示
   =========================== */

ul.products li.product .price .price-ht,
ul.products li.product .price span[style*="font-size: 0.6em"][style*="font-style: italic"] {
  display: none !important;
}

/* ===========================
   SIMPLE 商品：只显示折后价（无原价、无 HT）
   =========================== */

/* simple：隐藏原价 del */
ul.products li.product.product-type-simple .price del {
  display: none !important;
}

/* simple：在链接底部留出“变体区域”的空白，保证高度接近 variable */
ul.products li.product.product-type-simple a.woocommerce-LoopProduct-link {

  padding-bottom: 40px;  /* 和下面 swatch 区差不多高，可按视觉微调 */
}

/* ===========================
   VARIABLE 商品：全价区间保留（低价–高价 + 折扣 + 无 HT）
   =========================== */

/* 不再隐藏价格区间任何一段，只保留上面的通用 HT 隐藏规则 */

/* 变体选项区域高度（给 swatches 留空间） */
ul.products li.product .loop-below-price-swatches {
  margin-top: 6px;
  min-height: 40px;   /* 和 simple 的 padding-bottom 对齐，可微调 */
}
ul.products li.product .star-rating {
  display: none !important;
}

/* ===========================
   隐藏 .onsale (Promo!)
   =========================== */

ul.products li.product .onsale {
  display: none !important;
}


/* 卡片基础样式：加点圆角和过渡动画 */
ul.products li.product {
  position: relative;
  border-radius: 10px;
  overflow: hidden;                 /* 背景不溢出圆角 */
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    background 0.2s ease-out;
}

/* 让内部内容和背景留一点空隙 */
ul.products li.product a.woocommerce-LoopProduct-link {
  padding: 4px;
}

/* hover 效果：整体上移 + 渐变背景 + 阴影 */
ul.products li.product:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #f0f7fc 0%, #fdeff0 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  z-index: 2; /* 防止被旁边卡片压住 */
}

/* ===========================
   手机端特供（小屏优化）
   =========================== */
@media (max-width: 768px) {

  /* 卡片整体：缩小内边距 */
  ul.products li.product a.woocommerce-LoopProduct-link {
    padding: 0px; /* 原来是 10px，可以再根据自己口味改 4~8 之间 */
  }

  /* 价格：整体缩小一点 */
  ul.products li.product .price .woocommerce-Price-amount {
    font-size: 1rem !important;  /* 原来 1rem */
	  
  }

  /* 折扣标签：也跟着缩一点 */
  ul.products li.product .price .my-discount-label {
    padding: 0.08em 0.45em;
    font-size: 0.7em;
  }

  /* SIMPLE 商品：底部空白缩小，避免卡片太长 */
  ul.products li.product.product-type-simple a.woocommerce-LoopProduct-link {
    padding-bottom: 26px;  /* 原来 40px，看你 swatch 区高度可再调 */
  }

  /* VARIABLE 商品：swatch 区高度缩小一点 */
  ul.products li.product .loop-below-price-swatches {
    min-height: 26px;  /* 原来 40px，可以和上面保持接近 */
  }

  /* 卡片 hover 的位移在手机上基本没感觉，可以弱一点（或者你也可以不改） */
  ul.products li.product:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  }
	
	ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title {
 
	}
}


/* ============================================
   Snippet #41: 产品抬头
   ============================================ */

.woocommerce div.product .product_title {
  font-weight: bold;
  font-size: 22px;
  text-transform: capitalize;
}

/* ============================================
   Snippet #42: price 字体
   ============================================ */

.woocommerce .quantity .qty {
    width: 3.631em;
    text-align: center;
    font-size: 16px;
	border-style: solid;
border-width: thick;
	border-color: #088149;
}


.woocommerce div.product .stock.available-on-backorder {
  color: #b75b22;
}
.woocommerce div.product p.stock {
  font-size: 1.1em;
  color: green;
}
/* ===========================
   单品页 / 变体价格
   =========================== */

/* 价格容器：单品页 + 变体 */
.single-product .summary .price,
.variations_form .single_variation .price,
.woocommerce-variation .price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35rem;
  row-gap: 0.15rem;
  font-size: 1rem;
}

/* 折扣标签（-12%）—通用，列表也用这个样式 */
.price .my-discount-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1em 0.45em;
  border-radius: 999px; /* 可以改成 0.3em 变成小方块 */
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  background: #ffebe8;
  color: #d93025;
}

/* 原价（删除线） */
.price del {
  font-size: 0.85em;
  color: #9b9b9b;
  opacity: 0.9;
  margin-right: 0.15rem;
}

/* 原价金额，避免比当前价太抢眼 */
.price del .woocommerce-Price-amount {
  font-weight: 400;
}




/* 现价外层（<ins>）：去掉自带下划线 */
.price ins {
  text-decoration: none;
}

/* 当前价统一样式（单品页 / 变体）
 * - 有折扣：<ins> 里的金额
 * - 无折扣：PHP 加的 .is-current-price
 */
.price ins .woocommerce-Price-amount,
.price .is-current-price {
  font-weight: 600;
  font-size: 24px;
  color: #ca3338; /* 可以改成主题主色 */
}

/* ❌ 不再强制 ins 独占一行
.single-product .summary .price ins,
.variations_form .single_variation .price ins,
.woocommerce-variation .price ins {
  flex-basis: 100%;
}
*/

/* 单品页 / 变体：HT 文本样式（保持小号、斜体，和价格同一行） */
.single-product .summary .price .price-ht,
.single-product .summary .price span[style*="font-size: 0.6em"][style*="font-style: italic"],
.variations_form .single_variation .price .price-ht,
.variations_form .single_variation .price span[style*="font-size: 0.6em"][style*="font-style: italic"],
.woocommerce-variation .price .price-ht,
.woocommerce-variation .price span[style*="font-size: 0.6em"][style*="font-style: italic"] {
  font-size: 0.7em;
  color: #929292;
  font-style: italic;
  /* ❌ 不再 flex-basis:100%; 这样就不会强制换行 */
  margin-left: 0.25rem;  /* 稍微离现价远一点 */
}

/* 单品页 / 变体：HT 金额不拆开 */
.single-product .summary .price .price-ht .woocommerce-Price-amount,
.single-product .summary .price span[style*="font-size: 0.6em"][style*="font-style: italic"] .woocommerce-Price-amount,
.variations_form .single_variation .price .price-ht .woocommerce-Price-amount,
.variations_form .single_variation .price span[style*="font-size: 0.6em"][style*="font-style: italic"] .woocommerce-Price-amount,
.woocommerce-variation .price .price-ht .woocommerce-Price-amount,
.woocommerce-variation .price span[style*="font-size: 0.6em"][style*="font-style: italic"] .woocommerce-Price-amount {
  white-space: nowrap;
}

/* 屏幕阅读器文本保持隐藏但对 SR 可见 */
.price .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===========================
   商品列表缩略图 (archive / shop)
   字体正常 + 小一点
   =========================== */

ul.products li.product .price {
  display: block;        /* 列表里就正常 block 即可 */
  font-size: 0.9rem;     /* 比单品页小一点 */
}

/* 列表里当前价：覆盖单品页 24px 的设置，改成正常大小 */
ul.products li.product .price .is-current-price,
ul.products li.product .price ins .woocommerce-Price-amount {
  font-weight: 600;
  font-size: 0.9rem;       /* 正常大小 */
  color: #ca3338;
}

/* 列表里其他金额（区间价格的高价） */
ul.products li.product .price .woocommerce-Price-amount {
  font-weight: 400;
}

/* 列表里的 HT：保持小号，跟你现在 inline style 一致 */
ul.products li.product .price .price-ht,
ul.products li.product .price span[style*="font-size: 0.6em"][style*="font-style: italic"] {
  font-size: 0.7em;
  color: #929292;
  font-style: italic;
  /* 默认 inline，就会跟在价格后面“正常显示” */
}


/* ---- 屏幕阅读器文字（保持无障碍，但视觉隐藏） ---- */
ul.products li.product .my-price-discount-amount {
  display: none;
}




.custom-red-price{background-color: yellow}

.woocommerce div.product p.price ins, .woocommerce div.product span.price ins {

    color: #ca3338;
}

/* ============================================
   Snippet #43: Product Percentage
   ============================================ */

.woocommerce div.product {
    margin-bottom: 0;
    position: relative;
    margin-left: 1em;
    margin-right: 1em;
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {

    float: left;
    width: 40%;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {

    float: right;
    width: 59%;
    clear: none;

}


/* ============================================
   Snippet #46: 字体加载
   ============================================ */
@font-face {
  font-family: 'dummy' !important;   /* 定义一个名字叫 dummy 的字体 */
  src: local('x') !important;        /* 告诉浏览器去找本地不存在的 'x' 字体 */
}


/* ============================================
   Snippet #48: Hotspot Container
   ============================================ */
.tooltipster-shadow .tooltipster-content {
    background: #F1F1F1;
}
@media (max-width: 992px){
  .tooltipster-base .tooltipster-content .woocommerce ul.products li.product{
    width: 30%;
  }
}
@media (max-width: 576px){
  .tooltipster-base .tooltipster-content .woocommerce ul.products li.product{
    width: 43%;
  }
}


/* ============================================
   Snippet #52: Quotation List Download (pdf)
   ============================================ */
/* 外层容器：让短代码按钮居中 */
.pdf-btn-wrap {
    text-align: center;
    background-color: #f1f1f1;
    font-size: 25px;
    font-weight: 600;
}




/* ============================================
   Snippet #53: Ajouter au panier
   ============================================ */
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order,
.woocommerce div.product form.cart .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: 9999px;
  background-color: #ffd400;
  color: #111;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .15s ease, transform .06s ease, box-shadow .15s ease;
}



.woocommerce #payment #place_order, .woocommerce-page #payment #place_order,
.woocommerce div.product form.cart .button:hover  
{ background-color: #f2c300;color: #111;  }

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order,
.woocommerce div.product form.cart .button:active 
{ background-color: #e6b800;color: #111; transform: translateY(1px); }

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order,
.woocommerce div.product form.cart .button:focus-visible 
{ outline: 2px solid #111; outline-offset: 2px; }




/* ============================================
   Snippet #55: product price in 缩略图
   ============================================ */
.woocommerce ul.products li.product .price ins {
    font-weight: 700;
	font-size:12px;

    display: inline-block;

}

/* ============================================
   Snippet #57: catalog-content
   ============================================ */

.catalog-ajax__content ul.products,
.catalog-content ul.products{
  display: flex !important;
  flex-wrap: wrap !important;
    border: 1px solid rgba(0,0,0,0.08) !important; 
  list-style: none !important;
}


.catalog-ajax__content ul.products > li.product,
.catalog-content ul.products > li.product{
  margin:0 !important;
  width: 25% !important;    
}



.catalog-ajax__content ul.products > li.product:hover,
.catalog-content ul.products > li.product:hover {
  left: auto !important;
  right: auto !important;

  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.12) !important;
}




@media (max-width: 768px){
  .catalog-ajax__content ul.products > li.product,
  .catalog-content ul.products > li.product{
    width: 50% !important;   /* 手机：2 列 */
  }
}

/* —— 左侧分栏：桌面默认 —— */
.catalog-ajax__nav,
.catalog-sidenav{
  width:260px;
  flex: 0 0 260px;
}

/* —— 平板（≤ 992px）：稍微缩小 —— */
@media (max-width: 992px){
  .catalog-ajax__nav,
  .catalog-sidenav{
    width:200px;
    flex-basis:200px;
  }
  .catalog-ajax__nav a,
  .catalog-sidenav a{
    padding:6px 10px;
    font-size:14px;
  }
}

/* —— 手机（≤ 768px）：更小、更紧凑 —— */
@media (max-width: 768px){
  .catalog-ajax{ gap:14px; }

  .catalog-ajax__nav,
  .catalog-sidenav{
    width:120px !important;     /* 左栏变窄 */
    flex: 0 0 120px !important;
  }

  /* 菜单项紧凑并省略超长文本 */
  .catalog-ajax__nav a,
  .catalog-sidenav a{
    padding:6px 6px !important;
    font-size:13px !important;
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* 左栏可滚动，避免过长撑高 */
  .catalog-ajax__nav nav,
  .catalog-sidenav nav{
    max-height: calc(100vh - 160px);
    overflow:auto;
  }
}

/* —— 可选：超小屏（≤ 480px）直接上下堆叠 —— */
/* 如果你更想在极小屏让菜单在上、内容在下，打开这段即可 */
/*
@media (max-width: 480px){
  .catalog-ajax{ flex-direction:column; }
  .catalog-ajax__nav, .catalog-sidenav{ width:100%; flex-basis:auto; }
  .catalog-ajax__nav nav{ display:flex; gap:8px; overflow:auto; white-space:nowrap; }
  .catalog-ajax__nav a{ display:inline-block; border-left:none; border-bottom:2px solid transparent; }
  .catalog-ajax__nav a.is-active{ border-bottom-color:#6366f1; }
}
*/

/* 新增：catalog_ss_new 专用分组样式 */
/* 一级标题：Group */
.catalog-ajax__nav .cat-group-title {
  font-weight: bold;
  margin: 12px 0 6px;
  color: #000;
  font-size: 16px;
	border-bottom: 1px solid #e5e7eb;
  padding-bottom: 4px;
}

/* 二级标题：Subgroup */
.catalog-ajax__nav .cat-subgroup-title {
  font-weight: 600;
  margin: 8px 0 4px 12px;
  color: #374151;
  font-size: 14px;
}


/* 三级列表：Item */
.catalog-ajax__nav .cat-sublist {
  list-style: none;
  margin: 0 0 10px 20px; /* 缩进显示层级 */
	margin-left: 24px; /* 再缩进一层 */
  padding: 0;
}

.catalog-ajax__nav .cat-sublist li a {
  display: block;
  padding: 5px 8px;
  text-decoration: none;
  color: #374151;
  border-left: 3px solid transparent;
  font-size: 13px;
}

.catalog-ajax__nav .cat-sublist li a:hover {
  background: #f3f4f6;
}

.catalog-ajax__nav .cat-sublist li a.is-active {
  background: #eef2ff;
  border-left-color: #6366f1;
  color: #111827;
}
/* 分类页整体左右布局 */
.catalog-ajax {
  display: flex;
  gap: 24px;
  margin: 12px 0;
}

.catalog-ajax__nav {
  width: 260px;
  flex-shrink: 0;
}

.catalog-ajax__content {
  flex: 1;
  min-width: 0;
}


/* 分类导航样式，仿 snippet 左侧菜单 */
.catalog-ajax__nav ul.product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-ajax__nav ul.product-categories li {
  margin: 0;
}

.catalog-ajax__nav ul.product-categories li a {
  display: block;
  padding: 8px 10px;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: #374151;
}

.catalog-ajax__nav ul.product-categories li a:hover {
  background: #f3f4f6;
}

.catalog-ajax__nav ul.product-categories li.current-cat > a {
  background: #eef2ff;
  border-left-color: #6366f1;
  color: #111827;
}
 /* 手机端修复 */
@media (max-width: 768px) {
  .catalog-ajax {
    display: flex;
    flex-wrap: nowrap;   /* 不换行，保持左右分布 */
    overflow: hidden;
  }


  .catalog-ajax__nav {
    flex: 0 0 140px;     /* 左栏固定宽度 */
    max-width: 40%;      /* 防止左栏太宽 */
    overflow-y: auto;    /* 左栏过长时可滚动 */
  }

  .catalog-ajax__content {
    flex: 1 1 auto;      /* 右边填满剩余空间 */
    min-width: 0;        /* ⚠️ 关键：防止内容溢出导致被裁掉 */
    overflow-x: hidden;  /* 避免出现水平滚动条 */
  }
}
 .catalog-ajax__nav a,
  .catalog-sidenav a {
    white-space: normal !important;   /* 允许换行 */
    overflow: visible !important;     /* 不隐藏 */
    text-overflow: clip !important;   /* 不显示省略号 */
    word-break: break-word;           /* 必要时换行 */
    line-height: 1.4;                 /* 增加行距，避免拥挤 */
  }

/* ============================================
   Snippet #59: 缩略图变量
   ============================================ */
/* 容器与按钮间距（显示在价格下、按钮上） */
.woocommerce ul.products li.product .loop-below-price-swatches {
  margin: 6px 0 8px;
}

/* 单行、可横向滚动的 chips 列表 */
.loop-below-price-swatches .swatch-chips {
  display: flex;
  flex-wrap: nowrap;          /* 不换行 */
  gap: 4px;                   /* 间距（现代浏览器） */
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;           /* 横向滚动 */
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;      /* Firefox 细滚动条 */
}

/* WebKit 滚动条样式（可选） */
.loop-below-price-swatches .swatch-chips::-webkit-scrollbar { height: 6px; }
.loop-below-price-swatches .swatch-chips::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.15);
  border-radius: 999px;
}

/* 小号圆角文字 chip */
.loop-below-price-swatches .swatch-chip {
  flex: 0 0 auto;
  font-size: 11px;
  padding: 2px 8px;
  line-height: 1.2;
  background: #f6f6f7;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  cursor: pointer;
  color: #222;
  white-space: nowrap;
  max-width: 120px;           /* 名称过长时省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
}
.loop-below-price-swatches .swatch-chip:hover {
  background: #14181d;
color:white;
  box-shadow: 0 0 0 2px rgba(0,0,0,.08) inset;
}



/* 回退：不支持 gap 的环境用 margin 实现间距 */
@supports not (gap: 1rem) {
  .loop-below-price-swatches .swatch-chips { margin-right: -4px; }
  .loop-below-price-swatches .swatch-chips > li { margin-right: 4px; }
  .loop-below-price-swatches .swatch-chips > li:last-child { margin-right: 0; }
}


/* ============================================
   Snippet #76: 加载监听
   ============================================ */
#site-loading-spinner {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity .2s ease;
}
#site-loading-spinner.is-hidden { opacity: 0; pointer-events: none; }

#site-loading-spinner .spinner { position: relative; width: 64px; height: 64px; }
#site-loading-spinner .spinner div {
  position: absolute;
  border: 4px solid transparent;
  border-top-color: #0a3a6c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
#site-loading-spinner .spinner div:nth-child(1){ inset:0; animation-duration:1.2s; }
#site-loading-spinner .spinner div:nth-child(2){ inset:10px; border-top-color:#ca3338; animation-duration:.9s; }
#site-loading-spinner .spinner div:nth-child(3){ inset:20px; border-top-color:#0a3a6c; animation-duration:.6s; }

@media (prefers-reduced-motion: reduce) {
  #site-loading-spinner { transition:none; }
  #site-loading-spinner .spinner div { animation:none; }
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ============================================
   Snippet #78: woocommerce tabs
   ============================================ */

.woocommerce #content div.product .woocommerce-tabs, 
.woocommerce div.product .woocommerce-tabs, 
.woocommerce-page #content div.product .woocommerce-tabs, 
.woocommerce-page div.product .woocommerce-tabs {
    clear: both;
    padding: 20px; 
    border: 2px solid transparent; 
    border-radius: 12px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease; 
}


.woocommerce #content div.product .woocommerce-tabs:hover, 
.woocommerce div.product .woocommerce-tabs:hover, 
.woocommerce-page #content div.product .woocommerce-tabs:hover, 
.woocommerce-page div.product .woocommerce-tabs:hover {
    transform: none; 
    border-color: #ccc !important; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
    
}




/* ============================================
   Snippet #80: wc pagination
   ============================================ */
/* Stylish WooCommerce Pagination */
.woocommerce .woocommerce-pagination {
    display: flex; /* Using flexbox layout */
    justify-content: center; /* Center pagination */
    align-items: center; /* Vertically align items */
    margin-top: 20px; /* Top margin */
    margin-bottom: 20px; /* Bottom margin */
}

/* Pagination button style */
.woocommerce .woocommerce-pagination .page-numbers {
    background-color: rgba(255, 255, 255, 0.5); /* Transparent white background */
    color: #0a3a6c; /* Default text color (blue) */
    padding: 8px 12px; /* Button padding */
    margin: 0 5px; /* Space between buttons */
    border-radius: 50px; /* Rounded corners for the button */
    font-size: 14px; /* Font size */
    transition: all 0.3s ease; /* Smooth transition effect */
    text-decoration: none; /* Remove default underline */
    border: none; /* Remove border */
}

/* Hover effect with gradient gray background and red text */
.woocommerce .woocommerce-pagination .page-numbers:hover {
    background: linear-gradient(45deg, #dcdcdc, #f5f5f5); /* Gradient gray background */
    color: #ca3338; /* Text color changes to red on hover */
    cursor: pointer; /* Change cursor to pointer to indicate clickability */
}

/* Current page style */
.woocommerce .woocommerce-pagination .current {
    background-color: #0a3a6c; /* Blue background for the current page */
    color: #fff; /* White text for the current page */
    font-weight: bold; /* Make the current page text bold */
    border-radius: 50px; /* Rounded corners */
}

/* Previous and Next button styles */
.woocommerce .woocommerce-pagination .prev, 
.woocommerce .woocommerce-pagination .next {
    background-color: rgba(255, 255, 255, 0.5); /* Transparent white background */
    color: #0a3a6c; /* Default text color (blue) */
    padding: 8px 15px; /* Button padding */
    border-radius: 50px; /* Rounded corners for the buttons */
    font-size: 14px; /* Font size */
    transition: all 0.3s ease; /* Smooth transition on hover */
}

/* Hover effect for Previous and Next buttons with gradient gray background and red text */
.woocommerce .woocommerce-pagination .prev:hover,
.woocommerce .woocommerce-pagination .next:hover {
    background: linear-gradient(45deg, #dcdcdc, #f5f5f5); /* Gradient gray background */
    color: #ca3338; /* Text color changes to red on hover */
}

/* Disabled Previous and Next buttons */
.woocommerce .woocommerce-pagination .prev.disabled, 
.woocommerce .woocommerce-pagination .next.disabled {
    background-color: rgba(255, 255, 255, 0.2); /* Disabled button background (light gray) */
    color: #aaa; /* Disabled button text color (light gray) */
    cursor: not-allowed; /* Change cursor to not-allowed to indicate the button is not clickable */
}


/* ============================================
   Snippet #82: Trackingship
   ============================================ */
/* ===== TrackShip 美化皮肤 - 浅色版 ===== */

/* 主容器背景 */
.entry-content .enhanced_tracking_detail {
  background:#f6f9ff;
  color:#1a1a1a;
  padding:18px;
  border-radius:18px;
}

/* 顶部承运商 + 运单号 */
.entry-content .enhanced_tracking_detail .tracking_number_wrap{
  background:#ffffff;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:16px;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  margin-bottom:16px;
}
.entry-content .enhanced_tracking_detail .tracking_number_wrap a{
  color:#2563eb;
  font-weight:700;
  text-decoration:none;
}
.entry-content .enhanced_tracking_detail .tracking_number_wrap a:hover{
  text-decoration:underline;
}

/* 内容卡片 */
.entry-content .enhanced_tracking_detail .enhanced_tracking_content,
.entry-content .enhanced_tracking_detail .tracking_widget_tracking_events_section,
.entry-content .enhanced_tracking_detail .enhanced_shipment_details_section,
.entry-content .enhanced_tracking_detail .enhanced_notifications_section{
  background:#ffffff;
  border:1px solid #e2e8f0;
  border-radius:16px;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  padding:20px;
  margin-top:16px;
}

/* 标题 */
.entry-content .enhanced_tracking_detail h2,
.entry-content .enhanced_tracking_detail h3{
  margin:0 0 8px;
  color:#111827;
  font-weight:700;
}

/* 日期文字 */
.entry-content .enhanced_tracking_detail .date,
.entry-content .enhanced_tracking_detail .time,
.entry-content .enhanced_tracking_detail p{
  color:#4b5563;
}

/* 状态徽章 */
.entry-content .enhanced_tracking_detail .ts-badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid #e2e8f0;
  background:#f3f4f6;
}
.entry-content .enhanced_tracking_detail .ts-badge.in-transit,
.entry-content .enhanced_tracking_detail .ts-badge.pre-transit{ color:#2563eb; }
.entry-content .enhanced_tracking_detail .ts-badge.delivered{ color:#16a34a; }
.entry-content .enhanced_tracking_detail .ts-badge.exception{ color:#dc2626; }

/* 时间线 */
.entry-content .enhanced_tracking_detail .tracking_widget_tracking_events_section{
  border-left:2px dashed #d1d5db;
  padding-left:16px;
}
.entry-content .enhanced_tracking_detail .tracking_widget_tracking_events_section .ts-item{
  margin:14px 0;
  position:relative;
}
.entry-content .enhanced_tracking_detail .tracking_widget_tracking_events_section .ts-item::before{
  content:"";
  position:absolute;
  left:-22px; top:4px;
  width:10px; height:10px; border-radius:50%;
  background:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.2);
}
.entry-content .enhanced_tracking_detail .tracking_widget_tracking_events_section .ts-item .time{
  font-size:12px; color:#6b7280;
}
.entry-content .enhanced_tracking_detail .tracking_widget_tracking_events_section .ts-item .desc{
  font-size:14px; color:#111827;
}

/* 按钮 */
.entry-content .enhanced_tracking_detail button,
.entry-content .enhanced_tracking_detail [type="submit"]{
  background:linear-gradient(180deg,#2563eb,#1d4ed8);
  color:#fff; border:none; border-radius:12px;
  padding:10px 16px; cursor:pointer; font-weight:600;
}
.entry-content .enhanced_tracking_detail button:hover{
  filter:brightness(1.08);
}

/* 移动端表格卡片化 */
@media (max-width:760px){
  .entry-content .enhanced_tracking_detail table{ display:block; border:none; }
  .entry-content .enhanced_tracking_detail thead{ display:none; }
  .entry-content .enhanced_tracking_detail tr{
    display:block; background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:14px; padding:12px; margin-bottom:10px;
  }
  .entry-content .enhanced_tracking_detail td{
    display:flex; justify-content:space-between;
    padding:6px 0; border:none;
  }
}

/* 去掉底部 TrackShip 品牌 */
.entry-content .enhanced_trackship_branding{ display:none !important; }


/* ============================================
   Snippet #84: wp form
   ============================================ */

.wpforms-container .wpforms-field,
.wpforms-container-full .wpforms-field{
  width:100% !important; max-width:100% !important;
  float:none !important; display:block !important; clear:both !important;
}
.wpforms-container [class*="wpforms-one-"],
.wpforms-container-full [class*="wpforms-one-"]{
  width:100% !important; max-width:100% !important; float:none !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container input[type="url"],
.wpforms-container select,
.wpforms-container textarea,
.wpforms-container input.wpforms-field-small,
.wpforms-container input.wpforms-field-medium,
.wpforms-container input.wpforms-field-large,
.wpforms-container select.wpforms-field-small,
.wpforms-container select.wpforms-field-medium,
.wpforms-container select.wpforms-field-large,
.wpforms-container textarea.wpforms-field-small,
.wpforms-container textarea.wpforms-field-medium,
.wpforms-container textarea.wpforms-field-large,
.wpforms-container-full input[type="text"],
.wpforms-container-full input[type="email"],
.wpforms-container-full input[type="tel"],
.wpforms-container-full input[type="number"],
.wpforms-container-full input[type="url"],
.wpforms-container-full select,
.wpforms-container-full textarea{
  box-sizing:border-box;
  width:100% !important; max-width:100% !important;
  background:#fff;
  border:1px solid #d7dbe0;
  border-radius:12px;
  padding:14px;
  color:#0a3a6c; font-size:15px;
  outline:0; box-shadow:none;
  transition:border-color .2s, box-shadow .2s;
}
.wpforms-container input:hover,
.wpforms-container select:hover,
.wpforms-container textarea:hover,
.wpforms-container-full input:hover,
.wpforms-container-full select:hover,
.wpforms-container-full textarea:hover{
  border-color:#b9c0c7;
}
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus,
.wpforms-container-full input:focus,
.wpforms-container-full select:focus,
.wpforms-container-full textarea:focus{
  border-color:#0a3a6c;
  box-shadow:0 0 0 3px rgba(59,130,246,.2);
}

.wpforms-container .wpforms-field-label,
.wpforms-container-full .wpforms-field-label{
  display:block; margin:0 0 8px; font-weight:600; color:#0a3a6c;
}
.wpforms-container .wpforms-field-container > .wpforms-field,
.wpforms-container-full .wpforms-field-container > .wpforms-field{
  margin-bottom:16px;
}


.wpforms-container .wpforms-submit-container button,
.wpforms-container .wpforms-submit-container input[type="submit"],
.wpforms-container-full .wpforms-submit-container button,
.wpforms-container-full .wpforms-submit-container input[type="submit"]{
  width:100% !important;
  background:#0a3a6c; color:#fff;
  font-size:16px; font-weight:600;
  padding:14px; border:0; border-radius:12px;
  cursor:pointer; transition:background .2s;
}
.wpforms-container .wpforms-submit-container button:hover,
.wpforms-container .wpforms-submit-container input[type="submit"]:hover,
.wpforms-container-full .wpforms-submit-container button:hover,
.wpforms-container-full .wpforms-submit-container input[type="submit"]:hover{
  background:#2d66a3;
}


/* ============================================
   Snippet #103: pdp
   ============================================ */
/* =========================================================
   WooCommerce 单品页轻盈风格（淡蓝色基调，不增宽版）
   说明：
   1) 不使用 CSS 变量
   2) 不改“变体选择区”的外观（保持插件/主题默认）
   3) 任何元素不撑宽，表格等超内容走横向滚动
   ========================================================= */

/* 容器基础 */
.single-product .summary.entry-summary{
  max-width: 100%;
  box-sizing: border-box;
  background-color: #edf1f9;   /* 淡蓝底色 */
  color: #1f2937;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 4px 8px rgb(0 0 0 / .1);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

/* Hover 状态 */
.single-product .summary.entry-summary:hover{
  transform: none;
  border-color: #ccc !important;
  box-shadow: 0 8px 16px rgb(0 0 0 / .15) !important;
}


/* 内部元素不增宽 */
.single-product .summary.entry-summary *,
.single-product .summary.entry-summary *::before,
.single-product .summary.entry-summary *::after{
  box-sizing: inherit;

}


/* 标题 */
.single-product .summary.entry-summary h1.product_title.entry-title{
  margin: 0 0 .5rem;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: .2px;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  color: #0a4d78;
}

.product-stock-count
{
	font-weight: 600;
}

.woocommerce div.product div.images img {
    padding: 5px;
    border: none;
}






/* ============================================
   Snippet #106: delprice
   ============================================ */
/* 简洁版：斜体 + 斜向删除线（高级感） */
.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.woocommerce div.product .price del {
  position: relative;
  display: inline-block;
  color: #8b8b8b;
  font-weight: 500;
  font-style: italic;      /* 斜体 */
  text-decoration: none;
  padding: 0 0.12em;
}

.woocommerce div.product p.price del::after,
.woocommerce div.product span.price del::after,
.woocommerce div.product .price del::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 50%;
  transform: translateY(-50%) rotate(-10deg);
  height: 2px;
  pointer-events: none;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,77,79,0.12), #ff4d4f, rgba(255,77,79,0.12));
  opacity: 0.95;
  transition: transform 220ms ease, height 220ms ease, opacity 220ms ease;
  box-shadow: 0 0 8px rgba(255,77,79,0.06);
}

.woocommerce div.product p.price del:hover::after,
.woocommerce div.product span.price del:hover::after,
.woocommerce div.product .price del:hover::after {
  transform: translateY(-50%) rotate(-10deg) scaleX(1.03);
  height: 3px;
  opacity: 1;
  box-shadow: 0 0 14px rgba(255,77,79,0.09);
}

/* 保证现价与划线间距 */
.woocommerce div.product p.price del + .amount,
.woocommerce div.product span.price del + .amount,
.woocommerce div.product .price del + .amount {
  margin-left: 0.35em;
}




/* ============================================
   Snippet #108: menu barre
   ============================================ */
.acheter-btn {
  display: inline-block;
  padding: 2px;
  font-size: 15px;
  font-weight: 700; /* 加粗 */
  color: #ffffff !important; /* 白色文字 */
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent; /* 默认无边框 */
  transition: all 0.25s ease;
	  display: inline-flex;        /* 关键：让按钮内容可居中 */
  align-items: center;        /* 垂直居中 */
  justify-content: center;    /* 水平居中 */
  height: 100%;               /* 让按钮匹配菜单条高度 */
}

.acheter-btn:hover {
  border-color: #ffffff; /* 悬停显示白色边框 */
}




@media only screen and (max-width: 768px) {
    #mega-menu-wrap-main_menu .mega-menu-toggle {

        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
    }
	
}

/* ============================================
   Snippet #110: gtranslate
   ============================================ */
a.glink span { display:none !important}
.gt_white_content a {
    display: block;
    padding: 10px 0;
    border-bottom: none;
    white-space: nowrap;
    line-height: 0;
    flex-basis: 39px;
    box-sizing: border-box;
}

/* ============================================
   Snippet #114: fibosearch content
   ============================================ */
.fibo-search-content {

    margin: 10vh auto 0;
        background: linear-gradient(
            135deg,
            rgb(211, 47, 47),
            rgb(45, 79, 122)
        );
    border-radius: 12px;
    padding: 24px 24px 28px;

}

.dgwt-wcas-overlay-mobile {
    background: linear-gradient(135deg,#f1c0c0,#2d4f7a)

}

/* ============================================
   Snippet #115: 移动端-mobile
   ============================================ */

.footer-width-fixer {
    width: 100%;
    background: linear-gradient(to bottom, #f7e2e2, #d9e9f7);
}
/* 仅手机端样式 */
@media (max-width: 768px) {

.product-ref {
    display: none;
    flex-wrap: wrap;
    align-items: center;

}
    /* 整个 footer：全屏宽，背景垂直渐变，文字白色 */
.footer-width-fixer {
    width: 100%;
    background: linear-gradient(to bottom, rgb(45,79,122), rgb(20,25,32));
}
	

    #colophon .footer-width-fixer {
        width: 100%;
        max-width: 100%;
        padding: 20px 10px;
        box-sizing: border-box;
    }

    /* 两列布局 */
    #colophon .elementor-container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    #colophon .elementor-column.elementor-col-25 {
        width: 50% !important;
        max-width: 50% !important;
    }

    /* 标题 */
    #colophon h2.elementor-heading-title {
        font-size: 16px;
        color: #ffffff;
        text-align: center;
        margin-bottom: 8px;
    }

    /* 正文文字 */
    #colophon .elementor-widget-text-editor,
    #colophon .elementor-widget-text-editor p,
    #colophon .elementor-widget-text-editor a {
        font-size: 13px;
        color: #ffffff;
        line-height: 1.5;
    }

    #colophon a { color: #ffffff; text-decoration: underline; }
    #colophon a:hover { opacity: 0.85; }

    /* 防止溢出 */
    #colophon .elementor-widget-text-editor {
        word-break: break-word;
    }

    /* ===== 毛玻璃（白色半透明 + blur）背景 ===== */
    #colophon .elementor-widget-image .elementor-widget-container {
        background: rgba(255, 255, 255, 0.8); /* 半透明白 */

        border-radius: 10px;
        padding: 10px;
        margin-top: 10px;
    }

    /* 图片本身保持正常显示 + 居中 + 缩小一点 */
    #colophon img {
        max-width: 80%;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
        border-radius: 6px;  /* 让图更协调，可选 */
    }

}



@media screen and (max-width: 768px){

.woocommerce-product-gallery img {
    border: 0 !important;
    box-shadow: none !important;
}

	
	
		.rsrc-content {
    margin-left: 0px;
    margin-right: 0px;
			padding-top:40px;
}
  /* 移动端恢复为原生横排/竖排 */
  .mega-menu-tabs {
    width: 100% !important;
    float: none !important;
    flex-direction: row !important;
    border-right: none !important;
    min-height: unset !important;
  }
  .mega-menu-tab-content {
    margin-left: 0 !important;
    min-width: 0 !important;
  }
  .woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
    width: 100%;
	  padding: 0px;
}
	
	.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: right;
    width: 100%;
    clear: none;
}
	

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: inherit;
		font-size: 14px;
    letter-spacing: 0px;
    line-height: 1.5;
}
.single-product .summary.entry-summary h1.product_title.entry-title {

    display: none;
}
	
	.breadcrumbs-inner {
    text-align: center;
		font-size: 13px;
		font-weight: 500;
        color: var(--text-color);
}
	.archive .rsrc-content .woocommerce ul.products li.product {
    width: 47%;
    margin-left: 4px;
    margin-right: 4px;
    box-shadow: none;
		border:1px solid;
	
		
}
	.woocommerce h1.page-title {
    text-align: center;
    font-size: 21px;
}
	.top-infobox {
    font-size: 8px;
    font-weight: bold;
    color: #000;
		padding:0;
    padding-top: 4px;
		width:100%;
}
	.header-login a{
		Font-size: 0
	}

.elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px;
    padding-bottom: 0px;
}
	


	
	
.elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0px;
	padding-bottom: 0px;
}


}






/* 隐藏 “Votre commande” 这行废话标题 */
#order_review_heading {
  display: none !important;
}


/* ============================================
   Snippet #120: 产品reference显示
   ============================================ */
/* 整体容器：去掉 margin / padding / 行间距，统一斜体、小一点 */
.product-ref.product-meta-above-title {
  margin: 0 !important;

  line-height: 1 !important;
  font-size: 11px !important;
 padding-bottom: 10px;
}

/* 里面所有 span：也去掉 margin / padding / 行间距，继承斜体 */
.product-ref.product-meta-above-title span {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-style: inherit !important;
}

/* 原来加粗/变大的地方，强行压回去（但保留粗体） */
.product-ref.product-meta-above-title > span:first-child { /* REF: */
  font-size: 11px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.product-ref.product-meta-above-title .sku-value,
.product-ref.product-meta-above-title .meta-item {
  font-size: 11px !important;
  color: gray !important;
}


/* ============================================
   Snippet #122: 结账页面 checkout 
   ============================================ */
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order, .woocommerce div.product form.cart .button:focus-visible {

    background-color: white;
}

span[id^="zoid-paypal-message"],
iframe[name^="__zoid__paypal_message"] {
  display: none !important;
}


/* 列表页和单个商品页的按钮统一处理 */
.add_to_cart_button,
.single_add_to_cart_button {
    font-size: 0;              /* 隐藏文字（因为文字被设为0px） */
    position: relative;
    padding: 0.6em 1.2em;      /* 自己看着调 */
}

/* 使用 Font Awesome 的购物车图标 */
.add_to_cart_button::before,
.single_add_to_cart_button::before {
    content: "\f07a";          /* Font Awesome 小购物车 */
    font-family: "Font Awesome 5 Free"; /* 如果你用的是 v4 或 v6, 名字可能不一样 */
    font-weight: 900;          /* 对于 FA5 需要加粗 */
    font-size: 16px;
    line-height: 1;
    display: inline-block;
}


.woocommerce .quantity .qty {height:40px}

/* 隐藏整个 Stripe 快速结账区域 */
#wc-stripe-express-checkout-element {
    display: none !important;
}


