/* Joyshine 通用样式；url() 用 ../../ 相对站点根目录 */

/* ---------- 图标字体 iconfont ---------- */
@font-face {
	font-family: 'iconfont';
	src: url('../../assets/css/index/yang/iconfont.woff2') format('woff2'), url('../../assets/css/index/yang/iconfont.woff') format('woff'), url('../../assets/css/index/yang/iconfont.ttf') format('truetype');
	font-display: swap;
}

.icon-go-top {
	background-image: url(../../assets/img/index/yang/icon-go-top.svg);
}

.s-p {
	background-image: url(../../assets/img/index/mobile/prod_sprites.png);
}

.icon-gift {
	background-image: url('../../assets/img/index/yang/icon-gift.svg')
}

.benefits {
	background-image: url(../../assets/img/index/yang/vip-pc-bg@2x.png);
}

.inspire-content .title .icon {
	background: url('../../assets/img/index/yang/icon-inspire.svg') no-repeat center / 16px 16px;
}

.sp-99dias {
	background-image: url(../../assets/img/index/yang/icon-99dias.svg);
}

.sp-seguro {
	background-image: url(../../assets/img/index/yang/icon-seguro.svg);
}

.sp-seguro1 {
	background-image: url(../../assets/img/index/yang/icon-privacy.svg);
}

.icon-message-view {
	background-image: url('../../assets/img/index/yang/icon-message-view.svg');
}

.icon-message-add {
	background-image: url('../../assets/img/index/yang/icon-message-add.svg');
}

.icon-checked {
	background-image: url(../../assets/img/index/yang/icon-checked.svg);
}

.icon-menu-support {
	background-image: url(../../assets/img/index/yang/icon-menu-support.svg);
}

.outline-div .min-cart .cartItem-card::after {
	content: "Greeting Card";
}

.outline-div .min-cart .gift-img::after {
	content: "gift";
}

.login-coupon-modal .dialog-header::after {
	background-image: url('../../assets/img/index/yang/login-title-image.png')
}

/* ---------- 顶部通知条 ---------- */
.vi-top {
	position: fixed;
	top: 0;
	width: 100%;
	text-align: center;
	height: 40px;
	background: #F5F1E9;
	color: #333;
	z-index: 10000;
	font-size: 14px;
	line-height: 18px;
	overflow: hidden;
	padding: 0;
}

.vi-top * {
	line-height: 18px;
}

.head-top-mode {
	height: 100%;
	padding: 0;
}

.vi-top .swiper-container {
	height: 100%;
}

.vi-top .notice-hashref {
	height: 40px;
	overflow: hidden;
}

.vi-top a {
	color: #333;
	text-decoration: underline;
	margin-left: 0;
	line-height: 22px;
	display: inline-block;
}

.vi-top-close {
	position: absolute;
	height: 45px;
	width: 40px;
	right: -5px;
	top: 50%;
	transform: translate(0, -50%);
	z-index: 100;
}

.vi-top-close .iconfont {
	font-size: 28px;
	line-height: 40px;
	color: #666;
}

.glo-wrapper-top {
	margin-top: calc(var(--notice-height, 0px) + 114px);
}

.sticky-top {
	top: calc(var(--notice-height, 0px) + 134px);
}

.nav-tabs__bmsm {
	top: calc(var(--notice-height, 0px) + 114px);
}

.logoff .logoff-content {
	margin-top: calc(var(--notice-height, 0px) + 150px) !important;
}

/* ---------- 页脚 App 下载按钮 ---------- */
.download-link {
	background-color: #333;
	color: #fff;
	height: 40px;
	width: 138px;
	display: block;
	border-radius: 4px;
}

.download-link:hover {
	background-color: #000;
	color: #fff;
}

.download-link img {
	width: 100%;
	height: auto;
}

.download-link+.download-link {
	margin-top: 8px;
}

/* 国家切换弹窗（页脚）：补 static 化后缺失的遮罩/面板 */
.switch-country-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 面板：前缀提高优先级，覆盖 head.css 的 height:100% / margin */
.switch-country-modal .switch-country-content {
	height: auto;
	max-height: 80vh;
	width: 400px;
	max-width: calc(100vw - 40px);
	margin: 0;
	padding: 10px 30px;
	background: #fff;
	border-radius: 12px;
	overflow-y: auto;
	overflow-x: hidden;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}
/*====*/
.flex-center-center {
    align-items: center;
    justify-content: center;
}
.relate .product-more.product-more {
    font-size: 14px;
}

/*====*/

.navigation .nav-links .page-numbers {
  padding: 0 14px;
  display: inline-block;
  background: none;
  border: 1px solid #f4f2f2;
  color: #242424;
  height: 38px;
  line-height: 36px;
  text-align: center;
  margin: 0 3px;
  border-radius: 101px;
  border-color: #e1e1e1;
}

.navigation.pagination {
  margin-left: 0; text-align: center; justify-content: center; margin-top: 20px; margin-bottom: 20px;
}

.navigation .nav-links a.page-numbers:hover,
.navigation .nav-links .page-numbers.current {
  background: #333;
  color: #fff;
  border: 1px solid #333;
}

/* 中和 bootstrap reboot，还原 joyshine line-height:1.6 基准 */
html {
  --notice-height: 0px;
}
body {
  line-height: 1.6;
}
p {
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
}
.woocommerce-info{
	    border-top-color: #000;
}
.woocommerce-info::before{
	color: #333;
}
.article-content a, .td-uline{
	text-decoration: none !important;
}

#woofc-area .woofc-area-top .woofc-area-heading {
	line-height: inherit;
}

/* 屏幕阅读器专用隐藏（h1 等语义标签） */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
@media (max-width: 1199px) {
	.navigation.pagination{
		font-size: 12px;
	}
	.navigation .nav-links .page-numbers{
		padding: 0 12px;height: 32px; line-height: 30px; 
	}
	.navigation .nav-links .page-numbers{
		margin: 0 2px;
	}
}

.dialog-parent--hidden {
    overflow: hidden;
    overflow: hidden;
}

.overlay-dialog {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    user-select: none;
    opacity: 0;
    transition: opacity .1s; display: none;
}

.overlay-dialog-shadow {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .5;
    user-select: none
}

.dialog-main {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform .2s;
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: column
}

.dialog-main.dialog-main--l {
    transform: translate(-100%,0)
}

.dialog-main.dialog-main--r {
    transform: translate(100%,0)
}

.dialog-main.dialog-main--t {
    transform: translate(0,-100%)
}

.dialog-main.dialog-main--b {
    transform: translate(0,100%)
}

.dialog-main.dialog__top-border {
    border-top: 4px solid #ff9e2c
}

.dialog-vessel {
    height: 100%;
    overflow: auto
}

.dialog-header {
    position: relative;
    box-sizing: border-box;
    padding: 4px 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: #333;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px 4px 0 0
}

.dialog-header__title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: -o-ellipsis-lastline;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical
}

.dialog-header__close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    background: 0 0;
    border: none;
    outline: 0;
    cursor: pointer;
    font-size: 15px;
    font-style: normal;
    text-align: center;
    line-height: 44px
}

.dialog-header__close:before {
    content: "\e663";
    font-family: iconfont
}

.dialog-body {
    padding: 10px 20px 20px;
    line-height: 1.2;
    font-size: 16px;
    color: #333;
    height: calc(100% - 44px);
    overflow-y: auto
}

.dialog-footer {
    padding: 10px 16px 20px;
    text-align: center;
    flex-shrink: 0
}

.dialog-footer__fixed {
    position: fixed;
    width: 100%;
    padding: 10px 20px;
    background-color: #fff;
    bottom: 0
}

.dialog-btn-box {
    text-align: center;
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: row;
    justify-content: center
}

.dialog-btn-box>a.dialog-btn {
    display: inline-flex;
    position: relative;
    max-width: 100%;
    min-width: calc(50% - 8px);
    width: auto;
    min-height: 50px;
    line-height: 1.2;
    text-align: center;
    font-size: 16px;
    outline: 0;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 4px;
    padding: 2px;
    box-sizing: border-box;
    border: 1px solid #333;
    flex: 1;
    align-items: center;
    justify-content: center
}

.dialog-btn-box>a.dialog-btn0 {
    font-weight: 400;
    color: #333;
    background-color: #fff;
    border: 1px solid #d5d5d5
}

.dialog-btn-box>a.dialog-btn1 {
  
    font-weight: 700;
    color: #fff;
    background-color: #333
}

.dialog__inline-title {
    font-size: 16px;

    font-weight: 700;
    text-align: center;
    line-height: 19px;
    display: block
}

.dialog__inline-title+div:not(:empty) {
    margin-top: 10px;
    text-align: left;
    font-size: 14px;
    line-height: 17px
}

.dialog__toast.dialog-main {
    background-color: transparent;
    min-width: 0!important;
    min-height: 0!important;
    text-align: center
}

.dialog__toast .dialog-body {
    padding: 8px 12px;
    border-radius: 4px;
    background-color: rgba(0,0,0,.6);
    color: #fff;
    font-size: 14px;
    text-align: left;
    display: inline-block;
    width: auto
}

.dialog__alert .dialog-btn-box>.dialog-btn1 {
    width: 100%;
    max-width: 66.006601%
}

.dialog__alert.dialog-main,.dialog__confirm.dialog-main {
    width: 335px;
    max-width: calc(100vw - 40px);
    height: auto;
    text-align: center
}

/*joyshine popup*/
.dialog__toast .dialog-body {
    max-width: 492px !important;
}

.dialog__modal .dialog-header, .modal .modal-header, .overlay .overlay-header {
    height: 60px;
    padding: 10px 60px;
}

.dialog__modal .dialog-header__title, .modal-title, .overlay-title {
    font-size: 20px;
}

.dialog__modal .dialog-header__close, .modal .modal-header .close, .overlay .overlay-header .close {
    width: 60px;
    height: 60px;
    line-height: 60px;
}

.dialog__modal .dialog-body, .modal-body, .overlay-body {
    padding: 10px 30px 30px;
    height: calc(100% - 60px);
    max-height: calc(80vh - 60px);
}

.overlay .overlay-content,.modal .modal-content {
    width: 48.85vw;
    height: auto;
    max-width: 938px;
    max-height: 80vh;
    min-width: 600px;
}

.dialog__alert.dialog-main, .dialog__confirm.dialog-main {
    width: 335px !important;
}

.dialog-main--full .dialog-body,.dialog-main--r .dialog-body {
    max-height: calc(100% - 60px);
}

.footer-btn-group *:not(:first-child) {
    margin-left: 10px;
}

.dialog__alert .dialog-btn-box>.dialog-btn1 {
    width: 100%;
    max-width: 66.006601%
}

.dialog__alert.dialog-main,.dialog__confirm.dialog-main {
    width: 335px;
    max-width: calc(100vw - 40px);
    height: auto;
    text-align: center;
	    left: 0;
    right: 0;
    margin: 0 auto;
	top: 50%;     transform: translateY(-50%);
}