/**
* Theme Name: Uthan Child
* Description: This is a child theme of Uthan, generated by Merlin WP.
* Author: <a href=https://themeforest.net/user/template_path>template_path</a>
* Template: uthan
* Version: 2.0.15
*/
/* Hide shop price and add-to-cart on product archive cards */
.woocommerce-shop .product-block-two .price,
.post-type-archive-product .product-block-two .price,
.woocommerce-shop .product-block-two .add_to_cart_button,
.post-type-archive-product .product-block-two .add_to_cart_button,
.woocommerce-shop .product-block-two .shop_link,
.post-type-archive-product .product-block-two .shop_link {
    display: none !important;
}

/* Showcase catalog: hide cart UI site-wide */
.shop_link,
.cart-wrapper,
form.cart,
.add_to_cart_button,
.single_add_to_cart_button,
.widget_shopping_cart,
.woocommerce-mini-cart,
.checkout-button,
.wc-proceed-to-checkout { display: none !important; }

/* Lightvein showcase polish (uthan-child). Reversible. */
:root {
  --lv-green: #2f7955;
  --lv-green-dark: #1e5239;
  --lv-green-deep: #163e2b;
  --lv-cream: #f6f3ee;
  --lv-ink: #243028;
  --lv-muted: #5b6b62;
  --lv-line: #e4ddd3;
  --lv-heading: "Fraunces", "Times New Roman", serif;
  --lv-body: "Source Sans 3", "Segoe UI", sans-serif;
}

html { font-size: 17px; }
body,
.sidebar-page-container,
.blog-details,
.woocommerce {
  font-family: var(--lv-body) !important;
  color: var(--lv-ink);
  line-height: 1.7;
}
body { background: #fff; }

/* .auto-container is a width wrapper used in header, banners, and footer.
   Never give it a white background or it becomes a bar over dark sections. */
.auto-container {
  font-family: var(--lv-body) !important;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
  background: transparent !important;
}

h1, h2, h3, h4, h5, h6,
.logo-box,
.page-title .content-box h1,
.sec-title h2,
.sec-title .title,
.lower-content h4,
.footer-widget h3,
.sidebar-title h2,
.wp-block-heading {
  font-family: var(--lv-heading) !important;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--lv-green-deep);
}

p { margin-bottom: 1em; }

a { color: var(--lv-green-dark); }
a:hover { color: var(--lv-green); }

/* Header */
.main-header .header-top,
.header-top {
  background: var(--lv-green-deep) !important;
  border-bottom: 0;
}
.header-top,
.header-top p,
.header-top a,
.header-top .info-box li,
.header-top .info-box li .icon-box,
.header-top .search-box-btn {
  color: #f3f7f4 !important;
}
.main-header .header-upper,
.header-upper,
.main-header .outer-box,
.main-header .header-lower {
  background: #fff !important;
  box-shadow: 0 1px 0 var(--lv-line);
}

/* Nav: body font, not the heading serif; clear weight and size */
.main-menu .navigation > li > a,
.main-menu .navigation > li > a.hvr-underline-from-left1,
.sticky-header .main-menu .navigation > li > a,
.mobile-menu .navigation > li > a {
  font-family: var(--lv-body) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--lv-ink) !important;
  text-transform: none;
  white-space: nowrap;
}
.main-menu .navigation > li.current > a,
.main-menu .navigation > li.current_page_item > a,
.main-menu .navigation > li:hover > a,
.sticky-header .main-menu .navigation > li.current > a,
.sticky-header .main-menu .navigation > li:hover > a {
  color: var(--lv-green) !important;
}
.sticky-header { box-shadow: 0 8px 24px rgba(22, 62, 43, 0.08); }

/* Header search stays an icon; panel only when opened */
.main-header .search-box-outer .dropdown-menu {
  background: var(--lv-green-deep);
}
.main-header .search-panel input[type="search"],
.main-header .search-panel input[type="text"] {
  width: 100%;
  max-width: 100%;
  background: #1e5239 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
}

/* Hero / inner banners */
.page-title {
  padding-top: 110px !important;
  padding-bottom: 90px !important;
  background: var(--lv-green-deep);
}
.page-title .bg-layer {
  filter: saturate(0.85) brightness(0.78);
}
.page-title .bg-layer::after,
.page-title::before {
  content: none;
}
.page-title .content-box,
.page-title .auto-container {
  background: transparent !important;
}
.page-title .content-box h1,
.page-title h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
  color: #fff !important;
  text-shadow: none !important;
  margin: 0 auto !important;
  max-width: 18em;
}

.banner-carousel h2,
.banner-carousel h1,
.slide-item h2,
.slide-content h2,
[class*="banner"] h1,
[class*="banner"] h2 {
  text-shadow: none !important;
}

.sidebar-page-container,
.mr_shop,
.mr_shop_single,
.blog-pagev2-area {
  padding-top: 56px !important;
  padding-bottom: 72px !important;
  background: var(--lv-cream);
}

/* Footer: readable light text on deep green; no white wells */
.main-footer,
.footer-top,
.footer-bottom,
.uthan_footer_widget1,
[data-widget_type="uthan_footer_widget1.default"],
.elementor-element-70f82d0b,
.elementor-element-680c91e3 {
  background-color: var(--lv-green-deep) !important;
  color: #e8efe9 !important;
}
.main-footer .auto-container,
.elementor-widget[data-widget_type^="uthan_footer_widget"] .auto-container {
  background: transparent !important;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
.elementor-widget[data-widget_type^="uthan_footer_widget"] .main-footer,
.elementor-widget[data-widget_type^="uthan_footer_widget"] .widget-section {
  background: transparent !important;
}
.elementor-widget[data-widget_type^="uthan_footer_widget"] .widget-section {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}
.main-footer a,
.footer-widget a,
.footer-bottom a,
.main-footer p {
  color: #d7eadf !important;
}
.main-footer a:hover { color: #fff !important; }
.main-footer h3,
.main-footer .widget-title,
.footer-widget .title,
.main-footer .widget-title h3 {
  color: #fff !important;
  font-size: 1.15rem;
}

/* Buttons */
.theme-btn,
.theme-btn-one,
.theme-btn-two,
a.theme-btn,
.wp-element-button,
.wpcf7-submit,
button[type="submit"],
.search-btn,
.wp-block-search__button {
  background: var(--lv-green) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: var(--lv-body) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
}
.theme-btn:hover,
.theme-btn-one:hover,
.wpcf7-submit:hover,
button[type="submit"]:hover,
.wp-block-search__button:hover {
  background: var(--lv-green-dark) !important;
  color: #fff !important;
}

/* Forms - do not target header search (handled above) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select,
.wp-block-search__input,
.sidebar-wrapper form input[type="search"],
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"] {
  border: 1px solid var(--lv-line) !important;
  border-radius: 4px !important;
  background: #fff !important;
  padding: 0.7em 0.9em !important;
  width: 100%;
  max-width: 100%;
  box-shadow: none !important;
  font-family: var(--lv-body) !important;
}
.wpcf7-form p,
.wpcf7 label { margin-bottom: 0.75rem; }
.wpcf7-form { max-width: 640px; }

/* Product cards */
.product-block-two,
.woocommerce ul.products li.product,
.related-product .product-block-two {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: none;
}
.product-block-two:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(22, 62, 43, 0.08);
}
.product-block-two .overlay,
.product-block-two .shop_metas,
.product-block-two .shop_link { display: none !important; }
.product-block-two .lower-content {
  padding: 16px 16px 18px !important;
  text-align: center;
}
.product-block-two .lower-content h4 {
  font-family: var(--lv-heading) !important;
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
  font-weight: 650;
}
.product-block-two .lower-content h4 a { color: var(--lv-green-deep) !important; }
.product-block-two .price { display: none !important; }

/* Shop list: 2 cards per row so bilingual titles are not squeezed */
@media (min-width: 992px) {
  .our-shop .row.clearfix > .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
  }
}

/* Sidebar */
.sidebar-wrapper,
.single-sidebar,
.mrwidget {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 8px;
  padding: 16px 18px !important;
  margin-bottom: 18px;
  box-shadow: none !important;
}
.sidebar-widget h3,
.wp-block-heading {
  font-size: 1.15rem !important;
  margin-bottom: 0.6rem;
}

.text-shadow-none,
.sec-title h2 { text-shadow: none !important; }

/* Mobile */
@media (max-width: 767px) {
  html { font-size: 16px; }
  .page-title { padding-top: 84px !important; padding-bottom: 64px !important; }
  .page-title .content-box h1 { font-size: 1.7rem !important; }
  .theme-btn, .wpcf7-submit, button[type="submit"], .wp-block-search__button {
    min-height: 44px;
    padding: 0.7em 1.1em !important;
  }
  .main-menu .navigation > li > a { padding: 10px 14px; }
}

/* Lightvein: 1:1 cream product frames, contain, no crop, no black well.
   Replaces the 3:5 / black-background treatment. Reversible. */

/* Give the detail square enough room: hide the product-page sidebar
   and split the image / summary row near half, as a square frame not a tall column. */
@media (min-width: 992px) {
  .single-product .side_right,
  .single-product .mr_shop_single .side_right,
  .single-product .sidebar-page-container .col-xl-4.side_right {
    display: none !important;
  }
  .single-product .content-side.col-lg-8,
  .single-product .content-side {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .single-shop-content .row > .col-lg-4.pr-lg-5,
  .single-shop-content .row > .col-lg-4 {
    flex: 0 0 46% !important;
    max-width: 46% !important;
    width: 46% !important;
  }
  .single-shop-content .row > .col-lg-8 {
    flex: 0 0 54% !important;
    max-width: 54% !important;
    width: 54% !important;
  }
}

.woocommerce-product-gallery,
.woocommerce div.product div.images {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1;
  background: var(--lv-cream) !important;
  opacity: 1 !important;
  overflow: hidden;
}
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--lv-cream) !important;
  overflow: hidden;
}
.woocommerce div.product div.images img,
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image .wp-post-image {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  position: static !important;
}
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  background: var(--lv-cream) !important;
  overflow: hidden;
}
/* WooCommerce hover zoom crops the bottle; keep the full product in the square. */
.woocommerce-product-gallery__image img.zoomImg,
.woocommerce-product-gallery__image .zoomImg {
  display: none !important;
}

.product-block-two .inner-box .image,
.product-block-two .image,
.related-product .product-block-two .image,
.related .product-block-two .image {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  background: var(--lv-cream) !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-block-two .inner-box .image img,
.product-block-two .image img,
.related-product .product-block-two .image img,
.related .product-block-two .image img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center;
  background: transparent;
}
.product-block-two .image img,
.lv-home-product-image,
.lv-showcase-image {
  transition: transform 0.35s ease;
  transform-origin: center center;
}
.product-block-two:hover .image img,
.product-block-two .inner-box:hover .image img,
a:hover .lv-home-product-image,
a:hover .lv-showcase-image {
  transform: scale(1.02);
}

.lv-home-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (min-width: 768px) {
  .lv-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
.lv-home-product-card:hover,
.lv-showcase-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(22, 62, 43, 0.08) !important;
}
.lv-home-product-image-wrap,
.lv-showcase-image-wrap,
.lv-showcase-page .lv-showcase-image-wrap,
.lv-showcase-card .lv-showcase-image-wrap,
.lv-home-product-card .lv-home-product-image-wrap {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  max-height: none !important;
  background: var(--lv-cream) !important;
  overflow: hidden !important;
}
.lv-home-product-image,
.lv-showcase-image,
.lv-showcase-card .lv-showcase-image,
.lv-home-product-card .lv-home-product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}
/* Homepage CTA banner button only: label always visible on dark green.
*    Parent forces .cta-section .theme-btn.btn-one { background-color:#fff !important }
   while later child CSS sets color:#fff, so the default state was a blank white button. */
.cta-section a.theme-btn.btn-one,
.cta-section .theme-btn.btn-one {
	  background: var(--lv-green) !important;
	  background-color: var(--lv-green) !important;
	  color: #fff !important;
}
.cta-section a.theme-btn.btn-one:hover,
.cta-section a.theme-btn.btn-one:focus,
.cta-section .theme-btn.btn-one:hover,
.cta-section .theme-btn.btn-one:focus {
	  background: var(--lv-green-dark) !important;
	  background-color: var(--lv-green-dark) !important;
	  color: #fff !important;
}

/* Hide leftover "没有评论" / "No Comments" on article cards only.
   Theme prints it as an unlinked li inside ul.post-info.
   Keep the date (span.post-date) and the author link. */
ul.post-info li:not(:has(a)) {
  display: none !important;
}


/* Footer bottom bar only: center copyright + nav as one group.
   Parent pins .copyright.pull-left and .footer-nav.pull-right to the edges.
   Keep existing spacing between 产品展示 / 联系我们 (mr_30 + divider). */
.footer-bottom .bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 48px;
  text-align: center;
}
.footer-bottom .bottom-inner .copyright,
.footer-bottom .bottom-inner .footer-nav {
  float: none !important;
  width: auto;
  max-width: 100%;
}
.footer-bottom .bottom-inner .copyright p {
  margin: 0;
}
.footer-bottom .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}
.footer-bottom .footer-nav li {
  float: none !important;
}
.footer-bottom .footer-nav li:last-child {
  margin-right: 0;
}

/* Hide clearfix pseudos: they become flex items and add gap, shifting the group off-center. */
.footer-bottom .bottom-inner::before,
.footer-bottom .bottom-inner::after,
.footer-bottom .footer-nav::before,
.footer-bottom .footer-nav::after {
  content: none !important;
  display: none !important;
}

/* Product category picker only. Do not change footer-bottom or
   reopen .single-product .side_right at min-width 992px. */
.lv-cat-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  margin: 0 0 28px;
  padding: 0;
}
.lv-cat-nav--product {
  justify-content: flex-start;
  margin: 0 0 16px;
}
.lv-cat-nav__link {
  color: var(--lv-muted, #5b6b62);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  line-height: 1.4;
}
.lv-cat-nav__link:hover,
.lv-cat-nav__link:focus {
  color: var(--lv-green, #2f7955);
  text-decoration: none;
}
.lv-cat-nav__link.is-active {
  color: var(--lv-green-deep, #163e2b);
  border-bottom-color: var(--lv-green, #2f7955);
}
.single-product .sidebar-widget:has(#lv-product-category-list) {
  display: none !important;
}
a.lv-showcase-card[hidden] {
  display: none !important;
}

/* Hide visitor-facing article dates only. Cards and the blog grid use
   span.post-date; single posts use ul.post-info.mr_post_ul (date archive
   link). Do not hide author links in listing post-info, leftover comment
   items, footer, category nav, or in-article body text. */
span.post-date {
  display: none !important;
}
.single-post ul.post-info.mr_post_ul {
  display: none !important;
}

/* 2.0.14: Shop and brand-archive page-title/breadcrumb background.
   Parent/theme options still emit the old IP host on some archives.
   Override in the child only; do not edit the parent theme file. */
.page-title .bg-layer,
.page-title .bg-layer.parallax-bg {
  background-image: url(https://www.lightvein.com/wp-content/themes/uthan/assets/images/breadcrumb/breadcrumb-1.jpg) !important;
}

/* 2.0.15: Layout fixes from the 2026-12-03 bilingual visual QA.
   Child theme only. Reversible. Does not change the parent theme. */

/* Sticky nav must sit above page content, related headings, and title-band grass.
   Parent .sticky-header is z-index 0 until .fixed-header is set, and even then
   later sections can paint through the logo and menu. */
.main-header {
  z-index: 10050 !important;
}
.sticky-header,
.fixed-header .sticky-header,
.main-header .sticky-header {
  z-index: 10050 !important;
  background-color: #fff !important;
}
.page-title .pattern-layer {
  z-index: 0 !important;
  pointer-events: none;
}
html {
  scroll-padding-top: 96px;
}

/* Product detail: hide the leftover shop sidebar (Search + empty categories)
   at all widths. It was already hidden from 992px up; on smaller screens it
   stacked above the gallery and hid the product image. Keep .lv-cat-nav. */
.single-product .side_right,
.single-product .mr_shop_single .side_right,
.single-product .sidebar-page-container .col-xl-4.side_right {
  display: none !important;
}

/* Showcase shop chrome: hide the empty/unused sidebar category widget sitewide
   (category navigation already exists as .lv-cat-nav). */
.sidebar-widget:has(#lv-product-category-list),
.widget:has(#lv-product-category-list) {
  display: none !important;
}

/* Keep SKU / category / brand from running into one cramped line. */
.product_meta,
.single-product .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15em 1.1em;
  align-items: baseline;
}

/* Home and blog-grid cards: do not stay washed out during WOW fade-in. */
.news-block-one,
.news-block-one.wow,
.news-block .news-block-one,
.news-section .news-block-one,
.blog-grid .news-block-one,
.news-block-one.animated {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}
.news-block-one .inner-box,
.news-block-one .lower-content,
.news-block-one .lower-content h2,
.news-block-one .lower-content h2 a,
.news-block-one .lower-content h3,
.news-block-one .lower-content h3 a,
.news-block-one .lower-content p,
.news-block-one .theme-btn,
.news-block-one .image-box,
.news-block-one .image-box img {
  opacity: 1 !important;
}

/* TranslatePress floater: keep it, but stop it covering body copy, card
   buttons, and footer links. Header already has a language control. */
.trp-floating-switcher,
.trp-language-switcher.trp-floating-switcher {
  bottom: 96px !important;
  right: 18px !important;
  z-index: 40 !important;
}
@media (max-width: 782px) {
  .trp-floating-switcher,
  .trp-language-switcher.trp-floating-switcher {
    bottom: 84px !important;
    right: 12px !important;
  }
}
