.jy-section {
    --color-background: 255, 255, 255;
    --color-text: 42, 43, 42;
    --color-light-text: 136 136 136;
    --color-button-background: 41, 59, 43;
    --color-button-text: 255, 255, 255;
    --color-button-text-link: 75, 96, 78;
    color: rgba(var(--color-text));
}
.jy-section--padding {
  padding-top: var(--top-padding) !important;
  padding-bottom: var(--bottom-padding) !important;
}
.back-to-top-container {
    text-align: center;
    padding: 20px 0;
    background-color: #ffffff; 
}

@media (max-width: 959px) { 
    .back-to-top-container {
        padding: 8px 0;
    }
}

#backToTopBtn {
    background-color: #ffffff;
    color: #333333;            
    font-weight: 600;          
    padding: 10px 30px;        
    border: none; 
    cursor: pointer;
    transition: all 0.3s ease; 
}

.current-select-option {
    font-size: 14px;
    font-weight: 400;
    margin-left: 3px;
}

.swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;    
}
.swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
}
.swiper-pagination-bullet-active {
    width: 10px !important;
    height: 10px !important;
}

.jy-nav-container *,
.jy-nav-container *::before,
.jy-nav-container *::after {
  box-sizing: border-box;
}

.jy-nav-container {
  position: relative; 
  width: 100%;
  background: #ffffff;
}

.jy-menu-main {
  list-style: none;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center; 
  max-width: 1400px; 
  height: 70px;
}

.jy-menu-item {
  height: 100%;
}

.jy-menu-item.jy-has-dropdown {
  position: relative; 
}

.jy-menu-item.jy-has-mega {
  position: static; 
}

.jy-menu-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  color: #111111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  box-sizing: border-box;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.jy-menu-item:hover .jy-menu-link {
  border-bottom: 2px solid #111111;
}

.jy-icon-caret-down {
  width: 9px;
  height: 6px;
  margin-left: 6px;
  color: #666666;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.jy-menu-item:hover .jy-icon-caret-down {
  transform: rotate(-180deg);
  color: #111111;
}

.jy-dropdown-menu-l2 {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  min-width: 280px; 
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.jy-dropdown-item-l2 {
  position: relative;
  width: 100%;
}

.jy-dropdown-link-l2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  color: #111111;
  text-decoration: none;
  font-size: 14px; 
  font-weight: 500;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.jy-dropdown-link-l2:hover {
  opacity: 0.75;
}

.jy-arrow-toggle-icon {
  width: 9px; 
  height: 6px;
  color: #999999;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease; 
  display: inline-block;
}

.jy-dropdown-item-l2.jy-active .jy-arrow-toggle-icon {
  transform: rotate(-180deg);
  color: #111111;
}

.jy-dropdown-menu-l3 {
  display: none; 
  position: relative; 
  width: 100%;
  background: #fafafa; 
  list-style: none;
  padding: 6px 0;
  margin: 0;
}

.jy-dropdown-item-l2.jy-active .jy-dropdown-menu-l3 {
  display: block;
}

.jy-dropdown-link-l3 {
  display: block;
  padding: 8px 24px; 
  color: #666666;
  text-decoration: none;
  font-size: 13px; 
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.jy-dropdown-link-l3:hover {
  color: #111111;
  opacity: 0.75;
}

.jy-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%; 
  z-index: 90;
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.jy-mega-inner {
  max-width: calc(var(--page-width, 1320px) + var(--page-padding) * 2); 
  margin: 0 auto;
  padding: 40px;
  display: flex;
  justify-content: flex-start; 
  align-items: flex-start;
  gap: 80px;
  overflow: auto; 
}

.jy-mega-left-links {
  display: flex;
  flex-wrap: nowrap; 
  justify-content: flex-start;
  align-items: flex-start;
  gap: 50px;
  flex-shrink: 0; 
}

.jy-mega-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px; 
  flex: 1 0 auto;
}

.jy-mega-title-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap; 
  white-space: nowrap; 
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  margin-bottom: 18px;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.jy-mega-child-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.jy-mega-child-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap; 
  white-space: nowrap;
  font-size: 13.5px;
  color: #666666;
  text-decoration: none;
  padding: 8px 0;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.jy-mega-child-link:hover, .jy-mega-title-link:hover {
  color: #111111;
  opacity: 0.75;
}

.jy-mega-essentials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  width: 100%;
}

.jy-ess-thumb {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 0; 
  border: 1px solid #eaeaea;
}

.jy-mega-essentials .jy-mega-title-link {
  margin-bottom: 0;
}

.jy-tag {
  flex-shrink: 0; 
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 400;
}

.jy-mega-left-thumb-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px; 
  min-width: 30vw;
  flex-shrink: 0;
}

.jy-mega-thumb-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid #eaeaea; 
  transition: opacity 0.2s ease;
}

.jy-mega-thumb-item:first-child {
  padding-top: 0; 
}

.jy-mega-thumb-item .jy-item-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  background-color: #f9f9f9;
}

.jy-mega-thumb-item .jy-item-text {
  font-size: 14px;
  font-weight: 400;
}

.jy-mega-thumb-item:hover {
  opacity: 0.75;
}

.jy-mega-right-products {
  display: flex;
  justify-content: flex-start; 
  gap: 30px; 
  width: auto; 
}

.jy-prod-card {
  display: flex;
  flex-direction: column;
  width: 260px; 
  flex-shrink: 0; 
}

.jy-prod-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; 
  background-color: #f6f6f6;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 0;         
}

.jy-prod-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.jy-prod-card:hover .jy-prod-img-wrapper img {
  transform: scale(1.04);
}

.jy-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--product-tag-bg-color);
  color: var(--product-tag-text-color);
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 500;
  border-radius: 2px;
  z-index: 2;
}

.jy-prod-title {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 500;
}

.jy-prod-title a {
  color: #111111;
  text-decoration: none;
}

.jy-prod-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.jy-price-current { font-weight: 600; color: #111111; }
.jy-price-compare { color: #b5b5b5; text-decoration: line-through; font-size: 12px; }

.jy-dropdown-menu-l2,
.jy-mega-menu {
  display: block; 
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px); 
  
  transition: opacity 0.2s ease 0s, 
              visibility 0s ease 0.2s, 
              transform 0.2s ease 0s;
}

.jy-has-dropdown:hover .jy-dropdown-menu-l2,
.jy-has-mega:hover .jy-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  
  transition: opacity 0.2s ease 0.15s, 
              visibility 0s ease 0s, 
              transform 0.2s ease 0.15s;
}

.jy-mob-nav-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow: hidden; 
}

.jy-mob-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow-y: auto; 
  overflow-x: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.jy-mob-panel-sub {
  transform: translate3d(100%, 0, 0);
}

.jy-mob-panel.jy-active {
  transform: translate3d(0, 0, 0);
}

.jy-mob-panel-main.jy-exit {
  transform: translate3d(-30%, 0, 0);
}

.jy-mob-back-bar {
  display: flex;
  align-items: center;
  padding: 16px 20px; 
  color: #d9383a; 
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid #eaeaea; 
}

.jy-mob-back-icon {
  width: 10px;
  height: 6px;
  transform: rotate(90deg);
  margin-right: 8px;
  color: #d9383a;
}

.jy-mob-menu-list {
  list-style: none;
  padding: 0; 
  margin: 0;
}

.jy-mob-item {
  width: 100%;
  border-bottom: 1px solid #eaeaea; 
}

.jy-mob-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px; 
  color: #111111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}

.jy-mob-arrow-next {
  width: 9px;
  height: 6px;
  transform: rotate(-90deg);
  color: #111111;
  flex-shrink: 0;
}

.jy-mob-link-thumb-style {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px; 
  color: #111111;
  text-decoration: none;
  font-size: 15px;
}

.jy-mob-thumb-style-img {
  width: 40px; 
  height: 40px;
  object-fit: cover;
  background-color: #f9f9f9;
  border-radius: 0; 
  flex-shrink: 0;
}

.jy-mob-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px; 
  cursor: pointer;
  font-size: 15px;      
  font-weight: 400;     
  color: #111111;
}

.jy-mob-accordion-title-thumb-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: inherit;   
  font-weight: inherit;  
  color: inherit;
}

.jy-mob-ess-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 0; 
  flex-shrink: 0;
}

.jy-mob-accordion-arrow {
  width: 9px;
  height: 6px;
  color: #111111;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.jy-mob-item.jy-mob-has-accordion.jy-open .jy-mob-accordion-arrow {
  transform: rotate(-180deg);
}

.jy-mob-accordion-content {
  display: none;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  background-color: #fafafa; 
}

.jy-mob-accordion-content.jy-tab-products {
  padding: 20px;
}
.jy-mob-accordion-content.jy-tab-products .jy-mob-prod-card {
  margin-bottom: 16px;
}

.jy-mob-item.jy-mob-has-accordion.jy-open .jy-mob-accordion-content {
  display: block;
}

.jy-mob-sub-link {
  display: block;
  padding: 12px 20px; 
  color: #555555;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.jy-mob-products-footer {
  padding: 24px 20px; 
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jy-mob-prod-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.jy-mob-prod-img-box {
  position: relative;
  width: 85px;
  height: 85px;
  background: #f6f6f6;
  flex-shrink: 0;
  border-radius: 0; 
  overflow: hidden;
}

.jy-mob-prod-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jy-mob-discount-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background-color: var(--product-tag-bg-color);
  color: var(--product-tag-text-color);
  font-size: 10px;
  padding: 3px 5px;
  font-weight: 500;
  border-radius: 0; 
  line-height: 1;
}

.jy-mob-prod-info h5 {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  line-height: 1.3;
}

.jy-mob-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
}
.jy-mob-price-from { color: #888888; }
.jy-mob-price-cur { font-weight: 600; color: #111111; }
.jy-mob-price-cmp { color: #b5b5b5; text-decoration: line-through; font-size: 11.5px; }

.jy-mob-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
}


/* 修复其他组件显示问题 */
.sgc-video-slideshow .sgc-video-slideshow__slides {
  min-height: auto;
}

/* 选项卡模式 */
.jy-mega-tab {
  display: flex;
  width: 100%;
  background-color: #fff;
  box-sizing: border-box;
}

.jy-mega-tab__left {
  width: 320px;
  border-right: 1px solid #f0f0f0;
  padding: 10px 0;
  flex-shrink: 0;
}

.jy-mega-tab__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.jy-mega-tab__arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #333;
  border-right: 1.5px solid #333;
  transform: rotate(45deg);
  opacity: 0.4;
  transition: all 0.2s ease;
}

.jy-mega-tab__item:hover,
.jy-mega-tab__item.is-active {
  color: #2e4a3e !important;
  background-color: #f9f9f9 !important;
}

.jy-mega-tab__item:hover .jy-mega-tab__arrow,
.jy-mega-tab__item.is-active .jy-mega-tab__arrow {
  border-color: #2e4a3e !important;
  opacity: 1;
}

.jy-mega-tab__right {
  flex: 1;
  position: relative;
  padding: 20px;
  min-height: 350px;
}

.jy-mega-tab__panel {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: none;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.jy-mega-tab__panel.is-active {
  display: flex !important;
}

.jy-mega-tab__panel .jy-prod-card {
  flex-shrink: inherit;
}