/* heard begin */
.white-label-logo{
    width: 122px;
    height: 60px;
    object-fit: contain;
    display: block;
}
.header-email {
	line-height: 60px;
	font-size: 16px;
	border-left: solid 0px #cecece;
	text-align: center;
	color: #0a338a;
    /* 新增省略号样式 */
    white-space: nowrap;      /* 强制文本在一行内显示，不换行 */
    overflow: hidden;         /* 隐藏溢出的内容 */
    text-overflow: ellipsis;  /* 溢出部分显示省略号 */
}
.header-email::before {
    content: "";
    font-family: "FontAwesome";
    font-size: 16px;
    color: #0a338a;
}
.header-phone {
	line-height: 60px;
	font-size: 16px;
	border-left: solid 0px #cecece;
	text-align: center;
	color: #0a338a;
    /* 新增省略号样式 */
    white-space: nowrap;      /* 强制文本在一行内显示，不换行 */
    overflow: hidden;         /* 隐藏溢出的内容 */
    text-overflow: ellipsis;  /* 溢出部分显示省略号 */
}

.header-phone::before {
    content: "";
    font-family: "FontAwesome";
    font-size: 16px;
    color: #0a338a;
}
.header-info-icon {
	font-size: 28px;
    width:40px; 
    height:40px; 
    text-align: center;
	color: white;
	background-color: #0a348a;
	border-radius: 50%;
	padding: 5px;
	vertical-align: middle;
	margin-left: -2px;
}

.header-info-icon:hover {
	background-color: black;
	cursor: pointer;
}
.header-icon-box {
	font-size: 28px;
    width:35px; 
    height:35px; 
    text-align: center;
	color: white;
	background-color: #0a348a;
	border-radius: 50%;
	padding: 5px;
	vertical-align: middle;
	
}
.header-icon-box:hover {
	background-color: black;
	cursor: pointer;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

.cart-icon i {
    font-size: 18px;
    color: #fff;
}
#cart-total {
    position: absolute;
    top: -10px; /* ������Ҫ���� */
    right: -4px; /* ������Ҫ���� */
    background-color: #ffffff;
    color: #bbb;
    font-size: 12px;
	font-weight: 600;
    padding: 2px 2px;
    border-radius: 50%; /* ʹ���ֿ�������Բ�� */
}

#cart-total2 {
    position: absolute;
    top: 0px; /* ������Ҫ���� */
    right: 0px; /* ������Ҫ���� */
    background-color: #ffffff;
    color: #bbb;
    font-size: 12px;
	font-weight: 600;
    padding: 2px 2px;
    border-radius: 50%; /* ʹ���ֿ�������Բ�� */
}
.header-icon-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    background: #0A338A !important;
    border-radius: 50% !important;
    transition: all 0.3s !important;
}


.header-cart {
        float:right;text-align:right;
		line-height: 70px !important;
		padding-right: 5px !important;
		padding-top: 10px !important;
}

.heardbox{   display: -webkit-flex; /* Safari */   display: flex; }
.flex-container {
  display: flex;
  justify-content: center; /* ˮƽ���� */
  align-items: center; /* ��ֱ���У������Ҫ�Ļ� */
}

.header-order-notice-anchor {
	position: relative;
	display: inline-block;
	overflow: visible;
}

.header-order-notice {
	position: absolute;
	top: 50px;
	left: auto;
	right: 0;
	z-index: 2050;
	box-sizing: border-box;
	width: 480px;
	max-width: calc(100vw - 24px);
	min-height: 120px;
	padding: 20px 12px 12px 78px;
	background: #f8fbff;
	border: 2px solid #c8d9f5;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(31, 55, 92, 0.18);
	color: #202124;
	font-family: "Open Sans", Arial, sans-serif;
	text-align: left;
}

.header-order-notice::before,
.header-order-notice::after {
	position: absolute;
	right: 40px;
	width: 0;
	height: 0;
	content: "";
	transform: translateX(50%);
}

.header-order-notice::before {
	top: -14px;
	border-right: 14px solid transparent;
	border-bottom: 14px solid #c8d9f5;
	border-left: 14px solid transparent;
}

.header-order-notice::after {
	top: -11px;
	border-right: 12px solid transparent;
	border-bottom: 12px solid #f8fbff;
	border-left: 12px solid transparent;
}

.header-order-notice-icon {
	position: absolute;
	top: 23px;
	left: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: #e5efff;
	border-radius: 50%;
	color: #0878ee;
	font-size: 30px;
}

.header-order-notice-icon .fa-clipboard::before {
	display: block;
	font-size: 32px;
	line-height: 1;
}

.header-order-notice-content strong {
	display: block;
	padding-right: 30px;
	font-size: 16px;
	font-weight: 700;
	line-height: 23px;
}

.header-order-notice-content p {
	margin: 3px 0 0;
	color: #5f6368;
	font-size: 14px;
	line-height: 21px;
	white-space: nowrap;
}

.header-order-notice-content a {
	position: absolute;
	right: 20px;
	bottom: 12px;
	display: inline-block;
	color: #0a348a;
	font-size: 16px;
	line-height: 22px;
	text-decoration: underline;
}

.header-order-notice-content a:hover,
.header-order-notice-content a:focus {
	color: #061f59;
}

.header-order-notice-content a .fa {
	margin-left: 7px;
	font-size: 20px;
	vertical-align: -1px;
}

.header-order-notice-close {
	position: absolute;
	top: 13px;
	right: 16px;
	z-index: 1;
	padding: 0;
	background: transparent;
	border: 0;
	color: #45484d;
	font-size: 24px;
	font-weight: 400;
	line-height: 24px;
	cursor: pointer;
}

.header-order-notice-close:hover,
.header-order-notice-close:focus {
	color: #000;
	outline: 1px dotted #0a348a;
}

@media (max-width: 767px) {
	.header-order-notice {
		right: -48px;
	}

	.header-order-notice::before,
	.header-order-notice::after {
		right: 88px;
	}
}

@media (max-width: 520px) {
	.header-order-notice-content p {
		white-space: normal;
	}

	.header-order-notice-content a {
		position: static;
		margin-top: 8px;
	}
}

/* heard end */
/* Sidebar */
body.common-home .sidebar {
    flex: 0 0 220px;
    display: block !important;
    visibility: visible !important;
}

/* ���������˵����� */
#nav-one li.category-first-level {
    padding-left: 15px;
    border-radius: 0 15px 0 0; /* ���Ͻ�Բ�� */
    height: 43px;
    line-height: 43px; /* ��ֱ���� */
    display: flex;
    align-items: center; /* ǿ�ƴ�ֱ���� */
}

#nav-one li.second_level {
    padding-left: 0;
}

#nav-one li.second_level:nth-child(odd) {
    background-color: #ededed;
}

#nav-one li.second_level:nth-child(even) {
    background-color: #f4f4f4;
}

#nav-one li.second_level a {
    padding-left: 15px;
    display: block;
}


/* Featured 模块样式 - 首页 Featured 区块 */
body.common-home .box.featured {
    margin-bottom: 25px;
    position: relative;
}

body.common-home .box.featured .box-title {
    background: transparent !important;
    /* border-radius: 0 8px 0 0; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 0 14px 0;
}

body.common-home .box.featured .box-title a {
    color: #000E59 !important;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
	width: auto;
	height: auto;
	line-height: 1.15;
}

body.common-home .box.featured .box-title .featured-heading-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    display: block;
    width: 44px;
    height: 4px;
    background: #1875e8;
    border-radius: 2px;
}

body.common-home .box.featured .box-title .featured-heading-title {
    position: relative;
}

body.common-home .box.featured  .customNavigation {
    display: flex;
    align-items: center;
    gap: 10px;
	
	
}

body.common-home .box.featured  .customNavigation a {
    /* background: #1e3a8a; */
    background: fixed;
    color: white;
    cursor: pointer;
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
	padding-right:0px;
}

body.common-home .box.featured .box-content {
    background: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

/* Featured 商品区 */
body.common-home .box.featured .box-product {
    display: block !important;
    visibility: visible !important;
}

body.common-home .box.featured .product-carousel {
    display: flex !important;
    overflow: visible !important;
}

body.common-home .box.featured .slider-item {
    display: inline-block !important;
    visibility: visible !important;
}

body.common-home .box.featured .product-thumb {
    text-align: center;
    display: block !important;
}

body.common-home .box.featured .product-thumb .image {
    display: block !important;
}

body.common-home .box.featured .product-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    /* border-radius: 8px; */
    margin-bottom: 10px;
    display: block !important;
}

body.common-home .box.featured .product-thumb h4 {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

body.common-home .box.featured .product-thumb h4 a {
    color: #333;
    text-decoration: none;
}

body.common-home .box.featured .product-thumb h4 a:hover {
    color: #3b82f6;
}

body.common-home .box.featured .product-thumb h3.featured-product-name {
    color: #333;
    font-family: "Istok Web",sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: auto;
}

body.common-home .box.featured .product-thumb h3.featured-product-name a {
    color: #333;
    text-decoration: none;
}

body.common-home .box.featured .product-thumb h3.featured-product-name a:hover {
    color: #3b82f6;
}
/* 首页 Featured：移动端单列展示（含少于 4 件时的 #featured-grid，子项已统一为 .slider-item）；PC 断点不写入此处 */
@media screen and (max-width: 767px) {
    body.common-home .box.featured .banners-slider-carousel .product-carousel,
    body.common-home .box.featured #featured-grid {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 覆盖模板内联 width:222px，使可视区仅能容纳 1 个 slide（featured-carousel 与 featured-grid 均需命中） */
    body.common-home .box.featured .product-carousel .slider-item,
    body.common-home .box.featured #featured-grid .slider-item {
        width: calc(100vw - 30px) !important;
        max-width: 100%;
        box-sizing: border-box;
        margin-right: 0 !important;
        height: auto !important;
    }

    body.common-home .box.featured .product-carousel .slider-item .product-block-inner,
    body.common-home .box.featured #featured-grid .slider-item .product-block-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        min-height: 0;
    }

    body.common-home .box.featured .product-thumb .image {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    body.common-home .box.featured .product-thumb img {
        width: 100% !important;
        height: auto !important;
        max-height: 240px;
        object-fit: contain;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Sidebar Contact Block */
.sidebar-contact-block {
    width: 260px;
    height: 288px;
    background: #f5f5f5;
    margin-top: 20px;
    position: relative;
}
@media (max-width: 768px) {
    .sidebar-contact-block {
        display: none !important;
    }
}
.contact-info-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
}

.contact-email,
.contact-phone {
    color: #1e3a8a;
    font-size: 16px;
    font-weight: 500;
}

.contact-brand {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.sidebar-brand-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}


/* Footer New Design */
.footer-new {
    background: url('../../../../../image/jianbian.png') center center / cover no-repeat !important;
    color: #ffffff !important;
    position: relative !important;
    margin-top: 50px !important;
    padding-top: 60px !important;
}

.footer-top-section {
    position: relative !important;
    /* border-bottom: 2px solid #ffffff; */
    margin-top: -60px !important;
}

.footer-top-wrapper {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    padding: 0 clamp(20px, 6.2vw, 89px) !important;
    position: relative !important;
    min-height: 60px !important;
}

/* ͻ����Logo���� */
.footer-logo-box {
    width: 97px !important;
    height: 80px !important;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%) !important;
    border-bottom: none !important;
    /* border-radius: 8px 8px 0 0; */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    margin-top: -30px !important;
}
@media (max-width: 768px) {
    .footer-logo-box {
        display: none !important;
    }
}
.footer-logo-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.footer-logo-img {
    max-width: 120px !important;
    height: auto !important;
}

.logo-777 {
    font-size: 42px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.logo-sign {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

/* �罻ý��ͼ�� */
.footer-new .footer-social-icons {
    height: 80px !important;
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    /* margin-bottom: 20px; */
    margin-right: 0 !important;
    z-index: 5 !important;
    visibility: visible !important;
    margin-top: -30px !important;
    background-color: #0A338A !important;
    padding: 0 25px 0 25px !important;
}



.footer-new .footer-social-icons .social-icon {
    width: 40px !important;
    height: 40px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1e3a8a !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.footer-new .footer-social-icons .social-icon:hover {
    background: #f0f0f0 !important;
    transform: scale(1.1) !important;
}

.footer-new .footer-social-icons .social-icon i {
    color: #1e3a8a !important;
    display: block !important;
    font-size: 18px !important;
}

/* Footer��Ҫ�������� */
.footer-main-section {
    padding: 40px 0 20px !important;
}

.footer-main-section .container {
    margin: 0 auto !important;
    padding: 0 clamp(20px, 6.2vw, 89px) !important;
}

.footer-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 60px !important;
    margin-bottom: 30px !important;
    align-items: start !important;
}
.footer-column {
    display: flex !important;
    flex-direction: column !important;
}

/* Footer Brand Column */
.footer-brand-column {
    border-right: 1px solid #d0d0d0 !important;
    padding-right: 40px !important;
}

.footer-brand-logo {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.footer-brand-img {
    max-width: 150px !important;
    height: auto !important;
}

.brand-777 {
    font-size: 36px !important;
    font-weight: bold !important;
    color: #1e3a8a !important;
    line-height: 1 !important;
}

.brand-sign {
    font-size: 14px !important;
    font-weight: bold !important;
    color: #1e3a8a !important;
    line-height: 1 !important;
    background: #1e3a8a !important;
    color: #ffffff !important;
    padding: 2px 8px !important;
    border-radius: 2px !important;
}

.footer-brand-desc {
    font-size: 16px !important;
    color: #1e3a8a !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.footer-column-title {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #1e3a8a !important;
    margin: 0 0 20px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links-list li {
    margin-bottom: 5px !important;
    position: relative !important;
    padding-left: 15px !important;
}

.footer-links-list li::before {
    content: "\f105" !important;
    font-family: FontAwesome !important;
    position: absolute !important;
    left: 0 !important;
    color: #1e3a8a !important;
    font-size: 14px !important;
}

.footer-links-list li a {
    color: #1e3a8a !important;
    text-decoration: none !important;
    font-size: 16px !important;
    transition: opacity 0.3s ease !important;
}

.footer-links-list li a:hover {
    opacity: 0.8 !important;
}

.footer-contact-info {
    color: #1e3a8a !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.footer-contact-info p {
    margin: 0 0 12px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.footer-contact-info i {
    margin-top: 3px !important;
    font-size: 16px !important;
}

/* ��Ȩ��Ϣ */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-top: 20px !important;
    text-align: center !important;
}

.footer-copyright p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #1e3a8a !important;
}
/* Footer New Design end */
.foot-icon {
    display: inline-block;
    width: 30px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.icon-threads {
    background-image: url('/catalog/view/theme/OPC070174-1/image/custom-icons/threads.png');
}



/* 页脚多列：窄屏折行，避免四列挤压不可读 */
@media (max-width: 991px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 36px !important;
    }
}

@media (max-width: 575px) {
    .footer-columns {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .footer-brand-column {
        border-right: none !important;
        padding-right: 0 !important;
    }

    .footer-top-wrapper {
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 16px !important;
    }

    .footer-new .footer-social-icons {
        flex-wrap: wrap !important;
        justify-content: center !important;
        height: auto !important;
        min-height: 60px !important;
    }
}

body.common-home .box.featured .box-title .featured-more {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-top: 0;
    padding: 8px 12px;
    color: #000E59 !important;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: none;
    text-decoration: none;
}

body.common-home .box.featured .box-title .featured-more-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1em;
    line-height: 1;
    font-size: 1.25em;
    font-weight: 900;
    -webkit-text-stroke: 0.35px currentColor;
    position: relative;
    top: -1px;
}

body.common-home .box.featured .box-title .featured-more::after {
    content: none;
}

body.common-home .box.featured .box-title .featured-more:hover {
    color: #1875e8 !important;
}

/* Global header and product navigation */
header.site-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

.site-header-inner {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 70px;
    gap: clamp(14px, 1.45vw, 30px);
    padding: 5px clamp(18px, 1.7vw, 36px);
}

.site-logo {
    display: block;
    flex: 0 0 62px;
    width: 62px;
    height: 60px;
    overflow: hidden;
}

.site-logo-image {
    display: block;
    width: auto;
    max-width: none;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

.site-logo-text {
    display: block;
    color: #173d79;
    font-size: 15px;
    font-weight: 700;
    line-height: 60px;
}

.site-contact-links {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    gap: clamp(20px, 4vw, 76px);
}

.site-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #244d82;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    white-space: nowrap;
}

.site-contact-link:hover,
.site-contact-link:focus {
    color: #0d66e8;
    text-decoration: none;
}

.site-contact-link .fa {
    font-size: 17px;
}

.site-search {
    flex: 0 1 270px;
    min-width: 220px;
}

.site-search #search {
    display: flex;
    width: 100%;
    margin: 0;
    line-height: normal;
}

.site-search #search .form-control {
    float: none;
    height: 42px;
    padding: 0 14px;
    color: #313942;
    background: #f7f8fa;
    border: 1px solid #d8dce2;
    border-right: 0;
    border-radius: 9px 0 0 9px;
    box-shadow: none;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
}

.site-search #search .input-group-btn {
    width: 48px;
}

.site-search #search .btn {
    width: 48px;
    height: 42px;
    padding: 0;
    color: #fff;
    background: #0d66e8;
    border: 1px solid #0d66e8;
    border-radius: 0 9px 9px 0;
    box-shadow: none;
}

.site-search #search .btn .fa {
    font-size: 20px;
}

.site-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(16px, 1.7vw, 34px);
}

.site-action-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 4px 0;
    color: #244d82;
    background: none;
    border: 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.site-action-link:hover,
.site-action-link:focus {
    color: #0d66e8;
    text-decoration: none;
}

.site-action-link .fa {
    color: #244d82;
    font-size: 23px;
}

.site-account-dropdown {
    position: relative;
}

.site-account-dropdown::after {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 10px;
    content: "";
}

.site-account-dropdown summary {
    list-style: none;
}

.site-account-dropdown summary::-webkit-details-marker {
    display: none;
}

.site-account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 2100;
    display: none;
    box-sizing: border-box;
    width: 280px;
    max-height: min(75vh, 520px);
    overflow-y: auto;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #dce2e9;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(22, 45, 76, .16);
}

.site-account-dropdown[open] .site-account-menu,
.site-account-dropdown:focus-within .site-account-menu {
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .site-account-dropdown:hover .site-account-menu {
        display: block;
    }
}

.site-account-menu a,
.site-account-welcome {
    display: block;
    padding: 9px 15px;
    color: #34475d;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.35;
}

.site-account-menu a {
    white-space: nowrap;
}

.site-account-menu a:hover,
.site-account-menu a:focus {
    color: #0d66e8;
    background: #f1f6fb;
    text-decoration: none;
}

.site-account-welcome {
    border-bottom: 1px solid #e5eaf0;
}

@media (min-width: 1200px) {
    .site-account-menu {
        width: min(520px, calc(100vw - 24px));
    }

    .site-account-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-account-links > a {
        box-sizing: border-box;
        border-bottom: 1px solid #e5eaf0;
    }

    .site-account-links > a:nth-child(odd) {
        border-right: 1px solid #e5eaf0;
    }

    .site-account-links > a:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .site-account-welcome {
        box-sizing: border-box;
        width: 100%;
    }
}

.header-order-notice-anchor {
    display: inline-flex;
    align-items: center;
}

.site-cart-link {
    position: relative;
}

.site-cart-item #cart.site-cart-control {
    width: auto;
    margin: 0;
    padding: 0;
}

.site-cart-item #cart.site-cart-control #cart-total {
    position: absolute;
    top: -6px;
    right: -9px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 1px 4px;
    clear: none;
    color: #244d82;
    background: #fff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.site-cart-count {
    position: relative;
    top: -8px;
    margin-left: -8px;
    color: #244d82;
    font-size: 11px;
    font-weight: 700;
}

#res-nav-header.site-product-nav {
    position: relative;
    z-index: 1000;
    display: block !important;
    width: 100%;
    min-height: 61px;
    background: #e7f0f7;
    border-bottom: 1px solid #dae5ee;
}

.site-product-nav-inner {
    box-sizing: border-box;
    width: 100%;
    padding: 0 clamp(18px, 1.3vw, 28px);
}

.site-product-menu,
.site-product-menu #res-menu {
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

#res-nav-header.site-product-nav #menu #res-menu {
    display: block !important;
}

.site-product-menu .nav-responsive {
    display: none;
}

.site-product-menu .main-navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: max-content;
    min-height: 60px;
    margin: 0;
    padding: 0;
    overflow: visible;
    list-style: none;
    background: transparent;
    gap: clamp(2px, .35vw, 8px);
}

.site-product-menu .main-navigation > li {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0;
}

.site-product-menu .main-navigation > li > a {
    display: block;
    padding: 5px 9px;
    border: 2px solid transparent;
    border-radius: 24px;
    box-sizing: border-box;
    color: #4c5660 !important;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-transform: none;
    white-space: nowrap;
}

.site-product-menu .main-navigation > li:hover > a,
.site-product-menu .main-navigation > li:focus-within > a,
.site-product-menu .main-navigation > li > a:hover,
.site-product-menu .main-navigation > li > a:focus {
    color: #0d66e8 !important;
    background: transparent;
    border-color: #8798a8;
    text-decoration: none;
}

.site-product-menu .main-navigation > li.is-featured > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 5px 18px;
    border: 2px solid transparent;
    border-radius: 24px;
    line-height: 30px;
}

.site-product-menu .main-navigation > li.is-featured:hover > a,
.site-product-menu .main-navigation > li.is-featured:focus-within > a,
.site-product-menu .main-navigation > li.is-featured.active > a,
.site-product-menu .main-navigation > li.is-featured.selected > a,
.site-product-menu.mega-menu-open .main-navigation > li.is-featured > a {
    color: #0d66e8 !important;
    background-color: transparent;
    border-color: #8798a8;
}

.site-product-menu .main-navigation > li:hover {
    background-color: transparent;
}

.site-product-menu .main-navigation > li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1100;
    display: none;
    min-width: 230px;
    margin: 0;
    padding: 7px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #dce3ea;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 18px rgba(22, 45, 76, .14);
}

.site-product-menu .main-navigation > li:hover > ul,
.site-product-menu .main-navigation > li:focus-within > ul {
    display: block;
}

.site-product-menu .main-navigation > li > ul > li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.site-product-menu .main-navigation > li > ul > li > a {
    display: block;
    padding: 9px 15px;
    color: #3e4a57 !important;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
}

.site-product-menu .main-navigation > li > ul > li > a:hover,
.site-product-menu .main-navigation > li > ul > li > a:focus {
    color: #0d66e8 !important;
    background: #f1f6fb;
    text-decoration: none;
}

@media (min-width: 768px) and (max-width: 1699px) {
    .site-product-menu .main-navigation {
        flex-wrap: wrap;
        justify-content: flex-start;
        min-width: 0;
        gap: 0 8px;
    }

    .site-product-menu .main-navigation > li {
        flex: 0 1 auto;
    }

    .site-product-menu .main-navigation > li > a {
        padding: 5px 6px;
        white-space: normal;
    }

    .site-product-menu .main-navigation > li.is-featured > a {
        padding: 3px 17px;
        line-height: 28px;
    }
}

@media (max-width: 1199px) {
    .site-header-inner {
        display: grid;
        grid-template-areas:
            "logo contact actions"
            "search search search";
        grid-template-columns: 62px minmax(0, 1fr) auto;
        gap: 8px 14px;
        padding: 8px 18px 12px;
    }

    .site-contact-links {
        grid-area: contact;
        display: flex;
        justify-content: center;
        gap: clamp(8px, 2vw, 18px);
    }

    .site-contact-link {
        gap: 6px;
        font-size: 14px;
    }

    .site-logo {
        grid-area: logo;
    }

    .site-search {
        grid-area: search;
        width: 100%;
        min-width: 0;
    }

    .site-header-actions {
        grid-area: actions;
        gap: 12px;
    }

    .site-action-link {
        gap: 6px;
        font-size: 14px;
    }

    .site-action-link .fa {
        font-size: 20px;
    }

    .site-product-nav-inner {
        padding: 0;
    }
}

@media (max-width: 767px) {
    #res-nav-header #menu .nav-responsive {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 50px;
        padding: 10px 18px;
        color: #35485c;
        background: transparent;
        border: 0;
        font-family: "Open Sans", Arial, sans-serif;
        font-size: 16px;
        text-align: left;
        cursor: pointer;
    }

    #res-nav-header #menu .nav-responsive .fa {
        font-size: 20px;
    }

    #res-nav-header #menu .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1100;
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        max-height: 72vh;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 8px 0;
        background: #fff;
        border-top: 1px solid #dce3ea;
        box-shadow: 0 8px 18px rgba(22, 45, 76, .14);
        gap: 0;
    }

    #res-nav-header #menu .main-navigation > li {
        position: relative;
        width: 100%;
        flex: 0 0 auto;
    }

    #res-nav-header #menu .main-navigation > li > a {
        float: none;
        width: auto;
        min-width: 0;
        padding: 11px 18px;
        border: 0;
        border-radius: 0;
        color: #35485c !important;
        font-size: 15px;
        line-height: 1.35;
        white-space: normal;
    }

    #res-nav-header #menu.responsive-menu .main-navigation .hitarea {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        float: none;
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 5px;
    }

    #res-nav-header #menu.responsive-menu .main-navigation .hitarea::before {
        color: #526477;
    }

    #res-nav-header #menu .main-navigation > li.is-featured > a {
        padding: 11px 18px;
        border: 0;
        border-radius: 0;
        line-height: 1.35;
    }

    #res-nav-header #menu .main-navigation > li > ul {
        position: static;
        top: auto;
        left: auto;
        min-width: 0;
        margin: 0;
        padding: 0 0 6px 15px;
        background: #f7f9fb;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #res-nav-header #menu .main-navigation > li > ul > li > a {
        padding: 9px 18px;
        color: #465563 !important;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .site-header-inner {
        display: grid;
        grid-template-areas:
            "logo actions"
            "contacts contacts"
            "search search";
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 8px 12px 12px;
    }

    .site-logo {
        grid-area: logo;
    }

    .site-search {
        grid-area: search;
        width: 100%;
        min-width: 0;
    }

    .site-contact-links {
        grid-area: contacts;
        justify-content: space-between;
        gap: 8px;
    }

    .site-contact-link {
        gap: 5px;
        font-size: 12px;
    }

    .site-contact-link .fa {
        font-size: 13px;
    }

    .site-header-actions {
        grid-area: actions;
        justify-content: flex-end;
        gap: clamp(10px, 4vw, 18px);
    }

    .site-action-link {
        flex-direction: column;
        gap: 2px;
        font-size: 11px;
    }

    .site-action-link .fa {
        font-size: 20px;
    }

    .site-cart-count {
        position: absolute;
        top: 0;
        right: -7px;
        margin: 0;
        padding: 1px 3px;
        background: #fff;
        border-radius: 8px;
        font-size: 10px;
    }

    .site-cart-item #cart.site-cart-control #cart-total {
        top: 0;
        right: -7px;
    }

    .site-account-menu {
        top: calc(100% + 7px);
        right: -30px;
        width: min(280px, calc(100vw - 24px));
    }

    .site-account-dropdown::after {
        height: 7px;
    }

    .site-search #search .form-control {
        height: 40px;
    }

    .site-search #search .btn {
        height: 40px;
    }
}

/* Full-width category panel under All Products. */
.site-product-menu {
    position: relative;
}

.site-product-menu.mega-menu-open::after {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1100;
    display: block;
    height: 100vh;
    background: rgba(28, 43, 56, .2);
    content: "";
    pointer-events: none;
}

.site-product-menu .main-navigation > li.is-featured {
    position: static;
}

@media (min-width: 768px) {
    .site-product-menu .main-navigation > li.is-featured {
        align-self: stretch;
        display: flex;
        align-items: center;
    }

    .site-product-menu.mega-menu-open .main-navigation > li.is-featured > .site-product-mega-menu {
        display: grid;
    }
}

.site-product-menu .main-navigation > li.is-featured > .site-product-mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1200;
    display: none;
    width: 100%;
    max-height: calc(100vh - 150px);
    margin: 0;
    padding: 26px clamp(24px, 4vw, 72px) 30px;
    overflow-y: auto;
    list-style: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(28px, 4vw, 84px);
    background: #fff;
    border: 0;
    border-top: 1px solid #dce3ea;
    border-radius: 0;
    box-shadow: 0 12px 24px rgba(22, 45, 76, .18);
    box-sizing: border-box;
}

.site-product-menu .main-navigation > li.is-featured:hover > .site-product-mega-menu,
.site-product-menu .main-navigation > li.is-featured:focus-within > .site-product-mega-menu {
    display: grid;
}

.site-product-menu .main-navigation > li.is-featured > a .site-product-all-arrow {
    display: inline-block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    box-sizing: border-box;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.site-product-menu .main-navigation > li.is-featured:hover > a .site-product-all-arrow,
.site-product-menu .main-navigation > li.is-featured:focus-within > a .site-product-all-arrow,
.site-product-menu.mega-menu-open .main-navigation > li.is-featured > a .site-product-all-arrow {
    margin-top: 4px;
    transform: rotate(225deg);
}

.site-product-menu .site-product-mega-menu > .site-product-mega-column {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-product-menu .site-product-mega-menu li:hover {
    background-color: transparent;
}

.site-product-menu .site-product-mega-groups {
    position: static;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-product-menu .site-product-mega-menu .site-product-mega-group {
    display: block;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
}

.site-product-menu .site-product-mega-heading {
    display: block;
    padding: 0 10px 8px;
    color: #343b42 !important;
    border-bottom: 1px solid #d9dfe4;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
}

.site-product-menu .site-product-mega-heading:hover,
.site-product-menu .site-product-mega-heading:focus {
    color: #0d66e8 !important;
    text-decoration: none;
}

.site-product-menu .site-product-mega-menu .site-product-category-list {
    position: static;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 8px 0 0;
    overflow: visible;
    list-style: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-product-menu .site-product-category-list li {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.site-product-menu .site-product-category-list li > a {
    display: block;
    padding: 4px 10px;
    color: #41484e !important;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
}

.site-product-menu .site-product-category-list li > a:hover,
.site-product-menu .site-product-category-list li > a:focus,
.site-product-menu .site-product-category-list li > a:active,
.site-product-menu .site-product-category-list li.active > a,
.site-product-menu .site-product-category-list li.selected > a,
.site-product-menu .site-product-category-list li > a.selected {
    color: #0d66e8 !important;
    background: #f6f8fa;
    text-decoration: none;
}

.site-product-menu .site-product-category-list li.has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-product-menu .site-product-menu-arrow {
    flex: 0 0 auto;
    color: #a8b0b7;
    font-size: 21px;
    line-height: 1;
}

.site-product-menu .site-product-category-list li > ul {
    position: absolute;
    top: -7px;
    left: calc(100% - 2px);
    z-index: 1210;
    display: none;
    min-width: 230px;
    margin: 0;
    padding: 7px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #dce3ea;
    border-radius: 3px;
    box-shadow: 0 8px 18px rgba(22, 45, 76, .16);
}

.site-product-menu .site-product-category-list li:hover > ul,
.site-product-menu .site-product-category-list li:focus-within > ul {
    display: block;
}

@media (max-width: 767px) {
    #res-nav-header #menu.mega-menu-open::after {
        display: none;
    }

    #res-nav-header #menu .main-navigation > li.is-featured {
        position: relative;
    }

    #res-nav-header #menu .main-navigation > li.is-featured > .site-product-mega-menu {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        max-height: none;
        margin: 0;
        padding: 4px 15px 10px;
        overflow: visible;
        background: #f7f9fb;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #res-nav-header #menu .site-product-mega-menu > .site-product-mega-column {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #res-nav-header #menu .site-product-mega-menu .site-product-mega-groups,
    #res-nav-header #menu .site-product-mega-menu .site-product-category-list {
        display: block !important;
    }

    #res-nav-header #menu .site-product-mega-menu .hitarea {
        display: none !important;
    }

    #res-nav-header #menu .site-product-mega-heading {
        padding: 10px 18px;
        font-size: 15px;
    }

    #res-nav-header #menu .site-product-mega-menu .site-product-category-list,
    #res-nav-header #menu .site-product-category-list li > ul {
        position: static;
        top: auto;
        left: auto;
        min-width: 0;
        margin: 0;
        padding: 0 0 5px 15px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #res-nav-header #menu .site-product-category-list li > a {
        padding: 9px 18px;
        white-space: normal;
    }
}

/* Keep laptop navigation on one horizontally scrollable row. */
@media (min-width: 768px) and (max-width: 1699px) {
    #res-nav-header #menu .main-navigation {
        justify-content: flex-start;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        flex-wrap: nowrap;
        scrollbar-color: #9aabba transparent;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    #res-nav-header #menu.site-product-menu-scrollable.mega-menu-open .main-navigation {
        overflow: visible !important;
    }

    #res-nav-header #menu .main-navigation::-webkit-scrollbar {
        height: 5px;
    }

    #res-nav-header #menu .main-navigation::-webkit-scrollbar-track {
        background: transparent;
    }

    #res-nav-header #menu .main-navigation::-webkit-scrollbar-thumb {
        background: #9aabba;
        border-radius: 5px;
    }

    #res-nav-header #menu .main-navigation > li {
        flex: 0 0 auto;
    }

    #res-nav-header #menu .main-navigation > li > a {
        white-space: nowrap;
    }
}

/* The product page hides its left sidebar but the header keeps the two-column body class. */
#product-product #content.productpage {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Make the product image fill its thumbnail frame so inner zoom shares its bounds. */
#product-product #content.productpage .product-info .image > a.thumbnail > img#tmzoom {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    #product-product #content.productpage .product-info .image-additional {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
}

@media (min-width: 1200px) {
    #product-product #content.productpage #product .form-group > .control-label.col-lg-4 {
        width: 25%;
    }

    #product-product #content.productpage #product .form-group > .col-lg-8 {
        width: 75%;
    }
}
