/* ============================================================
   Foxcd 主题皮肤（参考设计稿）
   palette: ink #111827 / grey #6b7280 / line #eef0f3 / shell #0c0d0f
   只调整视觉（颜色、圆角、阴影、字号），不改任何布局与功能
   本文件在所有页面 CSS 之后加载（footer.tpl 末尾引入）
   ============================================================ */
:root {
    --fox-primary: #111827;
    --fox-primary-dark: #000000;
    --fox-primary-tint: #f4f5f7;
    --fox-sale: #111827;
    --fox-sale-tint: #f4f5f7;
    --fox-text: #111827;
    --fox-text-2: #4b5563;
    --fox-text-3: #6b7280;
    --fox-line: #eef0f4;
    --fox-surface: #f7f8fa;
    --fox-dark: #0c0d0f;
    --fox-radius: 12px;
    --fox-radius-sm: 8px;
    --fox-shadow: 0 10px 24px rgba(17, 24, 39, .08);
}

body {
    color: var(--fox-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--fox-primary); }

/* ---------------- 顶部：工具条 + 黑色主导航头 ---------------- */
.head-container > .clearfix { background: #0c0d0f; }
.head-container > .clearfix .HeaderBrandLogo img { filter: brightness(0) invert(1); }

.fox-utility {
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px;
    line-height: 34px;
}
.fox-utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 34px;
    overflow: hidden;
}
.fox-utility-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}
.fox-utility-label {
    flex: 0 0 auto;
    padding-right: 10px;
    border-right: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: capitalize;
}
.fox-utility-left a {
    flex: 0 0 auto;
    color: #9aa3b2 !important;
    text-decoration: none;
    transition: color .18s ease;
}
.fox-utility-left a:hover { color: #fff !important; }
.fox-utility-right { flex: 0 0 auto; display: flex; align-items: center; }
.fox-utility-right .header-guest { display: flex; align-items: center; gap: 8px; }
.fox-utility-right .header-guest a { color: #c7cbd4 !important; }
.fox-utility-right .header-guest a:hover { color: #fff !important; }
.fox-utility-sep { color: rgba(255, 255, 255, .25); }
.fox-utility-right .header-user-toggle { color: #e5e7eb !important; background: transparent !important; padding: 0 !important; }
.fox-utility-right .header-user-toggle:hover { color: #fff !important; background: transparent !important; }

/* 购物车：圆角图标按钮（去掉胶囊文字） */
.HeaderMiddle .header-flex-container .cart-right .cart-index {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 50% !important;
    transition: background .18s ease, border-color .18s ease;
}
.HeaderMiddle .header-flex-container .cart-right .cart-index:hover {
    background: rgba(255, 255, 255, .18) !important;
    border-color: rgba(255, 255, 255, .36) !important;
}
.HeaderMiddle .header-flex-container .cart-right .cart-index a,
.HeaderMiddle .header-flex-container .cart-right .cart-index a:hover { color: #fff !important; font-size: 0 !important; }
.HeaderMiddle .header-flex-container .cart-right .cart-index .num-box {
    top: -2px !important;
    right: -2px !important;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #fff !important;
    color: #111827 !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* 搜索框：白底输入 + 黑色按钮（黑头里用黑白高对比，蓝色只留给页内主 CTA） */
.HeaderMiddle .header-flex-container .search_box .form-search {
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff;
    overflow: hidden;
}
.HeaderMiddle .header-flex-container .search_box .button { border-radius: 0 !important; background: #111827 !important; }
.HeaderMiddle .header-flex-container .search_box .button.search {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: .2px;
    transition: background .18s ease;
}
.HeaderMiddle .header-flex-container .search_box .button.search:hover { background: #000 !important; }

/* ---------------- 面包屑：行高统一 + 垂直居中 ---------------- */
.J-crumbs-container {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 !important;
    line-height: 20px !important;
}
.w-crumbs {
    width: 100%;
    line-height: 20px !important;
}
.w-crumbs .item,
.w-crumbs .keyword,
.w-crumbs .cate,
.w-crumbs .attr {
    height: 20px !important;
    line-height: 20px !important;
    vertical-align: middle;
}

/* ---------------- 导航行：纯文字 + 下划线悬停 ---------------- */
.nav-container { background: #fff; border-bottom: 1px solid var(--fox-line); }
/* style.css 的旧规则给 .navcd 留了 margin-top:20px / margin-bottom:2px，
   使文字块在白条内下沉并溢出，这里清零，让文字真正垂直居中 */
.navcd,
.clean-nav-box .navcd {
    display: flex;
    align-items: center;
    height: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.navcd ul { display: flex; align-items: center; gap: 30px; }
.navcd .trigger-all {
    display: inline-flex;
    align-items: center;
    align-self: center !important;
    gap: 6px;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--fox-text) !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
}
.navcd li a {
    position: relative;
    display: inline-block;
    color: var(--fox-text) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.navcd li a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--fox-primary);
    content: "";
    /* transition: width .22s ease; */
}
.navcd li a:hover { color: var(--fox-primary) !important; }
.navcd li a:hover::after { width: 100%; }

.header-flex-container { align-items: center; }

/* 价格统一黑色（参考设计稿，折扣标签仍保留橙色） */
.PriceNow,
.price-now,
.carprice,
.m-product-price,
.sets-price,
.current-price,
.pd-price .current-price,
.product-layer .PriceContain .PriceNow,
.tabBox .bd ul li .PriceNow,
.pd-rec-row .price,
.viewProduct.emarsysProduct .pd-rec-row .price,
.cart-summary-amount,
.cart-summary-amount #totalPrice,
.cart-summary-freight > span:last-child,
.cart-summary-freight #shippingPrice,
.checkout-summary .summary-value,
.checkout-summary .summary-total .summary-value,
.checkout-summary .summary-total .summary-currency,
.checkout-summary .summary-total #payPrice,
.order-detail-summary-value,
.aside .week .price-box .original-price {
    color: #111827 !important;
}

.search_box .form-search {
    border: 1px solid var(--fox-line) !important;
    border-radius: var(--fox-radius-sm);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.search_box .form-search:focus-within {
    border-color: var(--fox-primary) !important;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .12);
}
.search_box .input-text {
    padding: 0 14px !important;
    font-size: 14px !important;
    color: var(--fox-text) !important;
}
.search_box .input-text::placeholder { color: #9aa3b2; }
.search_box .button {
    border-radius: 0 !important;
    background: var(--fox-primary) !important;
}
.search_box .button.search {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600;
    transition: background .18s ease;
}
.search_box .button.search:hover { background: var(--fox-primary-dark) !important; }

.contentseach a {
    display: inline-block;
    margin: 6px 6px 0 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--fox-surface);
    color: var(--fox-text-3) !important;
    font-size: 12px !important;
    line-height: 18px;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease;
}
.contentseach a:hover { background: var(--fox-primary-tint); color: var(--fox-primary) !important; }

.cart-right.shop-bag .cart-index .num-box {
    background: var(--fox-sale) !important;
    border-radius: 999px;
    font-weight: 600;
}
.head-shopcart { color: var(--fox-text) !important; font-weight: 600; }
.head-shopcart:hover { color: var(--fox-primary) !important; }


.header-user-menu {
    border-radius: var(--fox-radius) !important;
    border-color: var(--fox-line) !important;
    box-shadow: var(--fox-shadow) !important;
}

/* ---------------- 导航 ---------------- */
.nav-container { background: #fff; border-bottom: 1px solid var(--fox-line); }
.trigger-all {
    border-radius: var(--fox-radius-sm) !important;
    background: var(--fox-primary-tint) !important;
    color: var(--fox-primary) !important;
    font-weight: 600 !important;
}
.navcd a { color: var(--fox-text) !important; font-weight: 500; }
.navcd a:hover, .navcd li.on > a { color: var(--fox-primary) !important; }
.sidebar-menu { border-radius: var(--fox-radius); box-shadow: var(--fox-shadow); border-color: var(--fox-line); }

/* ---------------- 按钮统一 ---------------- */
.pd-buy,
.li-buy,
#cart_btn,
#buy_btn,
.addComment,
.review_content .submit-btn,
.cart-btn,
.checkout-btn,
.pay-btn,
button.search {
    border-radius: var(--fox-radius-sm) !important;
    font-weight: 600 !important;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.pd-buy:hover,
#buy_btn:hover { background: var(--fox-primary-dark) !important; border-color: var(--fox-primary-dark) !important; }
.li-buy,
#cart_btn { background: #fff !important; color: var(--fox-primary) !important; border-color: var(--fox-primary) !important; }
.li-buy:hover,
#cart_btn:hover { background: var(--fox-primary-tint) !important; }
.pd-buy:active,
.li-buy:active { transform: translateY(1px); }

/* 表单控件 */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select {
    border-radius: var(--fox-radius-sm);
    transition: border-color .18s ease, box-shadow .18s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus, textarea:focus, select:focus {
    border-color: var(--fox-primary) !important;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .12);
    outline: none;
}

/* ---------------- 商品卡片 ---------------- */
.m-product,
.product-layer > div,
.pd-rec-row > li,
.IndexGuessProductContain .picScroll-left .bd ul li,
.tabBox .bd ul li {
    border-radius: var(--fox-radius) !important;
    border-color: var(--fox-line) !important;
    background: #fff;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.m-product:hover,
.product-layer > div:hover,
.pd-rec-row > li:hover,
.tabBox .bd ul li:hover {
    border-color: #e5e7eb !important;
    box-shadow: var(--fox-shadow) !important;
    transform: translateY(-2px);
}
.m-product .pic img,
.pd-rec-row .pic img { transition: transform .35s ease; }
.m-product:hover .pic img,
.pd-rec-row > li:hover .pic img { transform: scale(1.04); }

/* 折扣标签 */
.pricezk {
    border: 0 !important;
    border-radius: 6px !important;
    background: var(--fox-sale-tint) !important;
    color: var(--fox-sale) !important;
    font-weight: 600 !important;
}

/* ---------------- 板块标题 / 标签页 ---------------- */
.tabBox .hd h2,
.IndexProductTitle > span,
.IndexGuessProductContain > .IndexProductTitle {
    color: var(--fox-text) !important;
    font-weight: 700 !important;
    letter-spacing: -.2px;
}
.IndexProductTitle { border-bottom-color: var(--fox-line) !important; }
.IndexProductTitle .tab.selected,
.pd-container > .IndexProductTitle .tab.selected {
    color: var(--fox-primary) !important;
    border-bottom-color: var(--fox-primary) !important;
}

/* 分页 */
.p-num-box, .p-tab, .page a, .pagination a, .pager a { border-radius: var(--fox-radius-sm) !important; }
.page a.on, .pagination a.on, .pager a.on, .p-tab .on {
    background: var(--fox-primary) !important;
    color: #fff !important;
    border-color: var(--fox-primary) !important;
}

/* ---------------- 详情页 ---------------- */
.pd-shipping { background: var(--fox-surface) !important; }
.pd-shipping-title { color: var(--fox-text) !important; }
.pd-shipping-label { color: #9aa3b2 !important; }
.product-img-zoom { border-radius: var(--fox-radius) !important; }
.product-img-box .more-viewspro li { border-radius: var(--fox-radius-sm) !important; }
.product-img-box .more-viewspro li.current { border-color: var(--fox-primary) !important; }

/* ---------------- 页脚（参考设计稿深色） ---------------- */
.index-service.foot {
    background: var(--fox-dark) !important;
    color: #c7cbd4 !important;
}
.index-service.foot h4 { color: #fff !important; font-weight: 700; }
.index-service.foot a { color: #c7cbd4 !important; text-decoration: none; }
.index-service.foot a:hover { color: #fff !important; }
.index-service.foot .co0082 { color: #fff !important; }
.index-service.foot .conStr,
.index-service.foot .strIn { border-color: rgba(255, 255, 255, .12) !important; }

/* ============================================================
   Foxcd 独立视觉：卡片 / 标签页 / 页脚（与 mintake 区分）
   ============================================================ */
/* 商品卡片：无边框 + 浅阴影 + 图片浅灰底 */
.m-product {
    border: 0 !important;
    padding: 10px !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 6px 18px rgba(17, 24, 39, .05) !important;
}
.m-product:hover {
    box-shadow: 0 12px 28px rgba(17, 24, 39, .13) !important;
    transform: translateY(-3px) !important;
}
.m-product-pic { background: #f5f6f8 !important; border-radius: 10px !important; overflow: hidden; }
.m-product-name { color: #111827 !important; font-size: 13px !important; line-height: 18px !important; }
.m-product .old-price { color: #9ca3af !important; font-size: 12px !important; }
.tabBox .bd ul li {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 6px 18px rgba(17, 24, 39, .05) !important;
}
.tabBox .bd ul li:hover { box-shadow: 0 12px 28px rgba(17, 24, 39, .13) !important; transform: translateY(-3px); }
.tabBox .bd ul li .ProductImg { background: #f5f6f8; border-radius: 10px; }
.tabBox .bd ul li .ProductName { color: #111827 !important; font-size: 13px !important; }
.pd-rec-row > li {
    border: 0 !important;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 6px 18px rgba(17, 24, 39, .05) !important;
}

/* 详情页：信息区卡片 + 药丸标签页 */
.pd-info {
    padding: 24px 22px !important;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 12px 32px rgba(17, 24, 39, .05);
}
.IndexProductTitle,
.pd-container > .IndexProductTitle {
    gap: 8px !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.IndexProductTitle .tab,
.pd-container > .IndexProductTitle .tab {
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f5f6f8 !important;
    color: #4b5563 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: background .18s ease, color .18s ease;
}
.IndexProductTitle .tab:hover { background: #eceef2 !important; color: #111827 !important; }
.IndexProductTitle .tab.selected,
.pd-container > .IndexProductTitle .tab.selected {
    background: #111827 !important;
    color: #fff !important;
    border-bottom: 0 !important;
}

/* 页脚：更松弛的深色版式 + 底部分隔条 */
.index-service.foot { padding: 52px 0 0 !important; }
.index-service.foot h4 {
    margin-bottom: 8px;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}
.index-service.foot dd { line-height: 28px; }
.index-service.foot .copyright {
    margin-top: 34px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #8b93a1 !important;
    font-size: 12px;
}

/* 页脚「关注我们 / 订阅 / 支付与物流标识」暂时隐藏（.is-pending，见 footer.tpl）：
   foxcd 尚未配置这些内容，删掉这段或去掉 class 即恢复 */
.index-service.foot .is-pending { display: none !important; }

/* ---------------- mono CTA: link feedback / sale badge ---------------- */
.save-price {
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--fox-sale) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 1px 7px !important;
}

.m-product-name a:hover,
.tabBox .bd .ProductName a:hover,
.pd-rec-row > li .title:hover,
.breadcrumb a:hover,
.pd-bread-crumb a:hover,
.pagination a:hover,
.page a:hover,
.order-table a:hover,
.user-menu a:hover,
.cart-page .cart-products td a:not(.cart-action-button):hover,
.index-service.foot a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* black CTA hover feedback */
.pd-buy:hover, .pd-buy:focus,
.auth-submit:hover,
.pd-addcart-btn:hover {
    background: #000 !important;
    border-color: #000 !important;
}
.li-buy:hover,
.li-buy:focus {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
}
/* ---------------- header cart: icon only, perfectly centred ---------------- */
body .HeaderMiddle .header-flex-container .cart-right .cart-index {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, .26) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
    text-indent: 0 !important;
    background-image: none !important;
    overflow: visible !important;
}
body .HeaderMiddle .header-flex-container .cart-right .cart-index:hover {
    background: rgba(255, 255, 255, .18) !important;
    border-color: rgba(255, 255, 255, .6) !important;
}
body .HeaderMiddle .header-flex-container .cart-right .cart-index > a {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    line-height: 0 !important;
    font-size: 0 !important;
    color: #fff !important;
    text-indent: 0 !important;
    background: none !important;
}
body .HeaderMiddle .header-flex-container .cart-right .cart-index > a svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    flex: none !important;
}
body .HeaderMiddle .header-flex-container .cart-right .cart-index .num-box {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: center !important;
    transform: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .28) !important;
}

/* ---------------- footer icons (inline svg) ---------------- */
.index-service.foot .fox-ico {
    display: block;
    float: left;
    width: 28px;
    height: 28px;
    margin-top: 2px;
    color: #6b7280;
    background: none !important;
    background-image: none !important;
}
.index-service.foot .fox-ico svg {
    display: block;
    width: 26px;
    height: 26px;
}
.index-service.foot .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 8px 8px 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #cbd5e1;
    background: none;
    transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}
.index-service.foot .social-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}
.index-service.foot .social-icon:hover {
    color: #111827;
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}
.index-service.foot .social-icon:hover img { filter: none; }

.index-service.foot .fox-pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.index-service.foot .fox-pay-label {
    color: #8b93a1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.index-service.foot .fox-pay-label--ship { margin-left: 20px; }
.index-service.foot .fox-pay-item {
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 4px;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 16px;
    text-transform: uppercase;
}
/* ---------------- footer newsletter field ---------------- */
.index-service.foot #txtemailsub {
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-right: 0 !important;
    border-radius: 6px 0 0 6px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #fff !important;
    font-size: 13px;
    box-shadow: none !important;
}
.index-service.foot #txtemailsub::placeholder { color: #8b93a1 !important; }
.index-service.foot #btnemailsub {
    height: 34px;
    padding: 0 16px;
    border: 1px solid #fff !important;
    border-radius: 0 6px 6px 0 !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 32px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.index-service.foot #btnemailsub:hover {
    background: #d1d5db !important;
    border-color: #d1d5db !important;
}

/* ---------------- floating side bar badge ---------------- */
#gotopnew .m-rightbar .cart-count .num-box {
    background: #111827 !important;
    color: #fff !important;
    border: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .3);
}
/* ---------------- home section headers: title left / more right ---------------- */
.tabBox.main,
.tabBox2.main { margin-bottom: 56px; }
.tabBox > .hd,
.tabBox2 > .hd {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--fox-line);
}
.tabBox > .hd h2,
.tabBox2 > .hd h2 {
    margin: 0;
    color: var(--fox-text) !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.2px;
    line-height: 1.3;
}
.tabBox > .hd h2::after,
.tabBox2 > .hd h2::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 10px;
    background: var(--fox-primary);
}
.tabBox > .hd ul,
.tabBox2 > .hd ul {
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}
.tabBox > .hd ul a,
.tabBox2 > .hd ul a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fox-muted, #6b7280) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    transition: color .18s ease;
}
.tabBox > .hd ul a li,
.tabBox2 > .hd ul a li {
    display: inline;
    margin: 0;
    padding: 0;
    color: inherit !important;
    font: inherit;
    background: none !important;
    border: 0 !important;
}
.tabBox > .hd ul a::after,
.tabBox2 > .hd ul a::after {
    content: "\2192";
    transition: transform .18s ease;
}
.tabBox > .hd ul a:hover,
.tabBox2 > .hd ul a:hover { color: var(--fox-text) !important; }
.tabBox > .hd ul a:hover::after,
.tabBox2 > .hd ul a:hover::after { transform: translateX(3px); }
/* ---------------- CMS article: neutralise inline brand colours ---------------- */
.description-paragraph a,
.description-content a,
.pd-container .description-paragraph strong a,
.news-detail a {
    color: #111827 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.description-paragraph a:hover,
.description-content a:hover,
.news-detail a:hover { color: #000 !important; }
/* footer newsletter: keep input + button on one line at any column width */
.index-service.foot .inline_box {
    display: flex !important;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
}
.index-service.foot #txtemailsub {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    border-right: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 6px !important;
}
.index-service.foot #btnemailsub {
    flex: 0 0 auto;
    min-width: 0;
    line-height: 32px;
    border-radius: 6px !important;
}
/* ---------------- utility bar: no keyword list + working user dropdown ---------------- */
.fox-utility { position: relative; z-index: 1200; }
.fox-utility-inner {
    overflow: visible;
    justify-content: flex-end;
}
.fox-utility-left { display: none !important; }

.fox-utility-right .header-user {
    position: relative;
    display: flex;
    align-items: center;
    height: 34px;
}
.fox-utility-right .header-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1300;
    min-width: 176px;
    padding: 6px 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: #14161a;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.fox-utility-right .header-user:hover .header-user-menu,
.fox-utility-right .header-user:focus-within .header-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fox-utility-right .header-user-menu a {
    display: block;
    padding: 9px 16px;
    color: #c7cbd4 !important;
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}
.fox-utility-right .header-user-menu a:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
}
.fox-utility-right .header-user-menu a.logout { color: #f87171 !important; }
.fox-utility-right .header-user-menu a.logout:hover {
    background: rgba(248, 113, 113, .14);
    color: #fff !important;
}
.fox-utility-right .header-user-toggle { gap: 6px; }
.fox-utility-right .header-user-toggle .header-arrow {
    width: 6px;
    height: 6px;
    box-sizing: border-box;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform .2s ease;
}
.fox-utility-right .header-user:hover .header-user-toggle .header-arrow {
    transform: rotate(225deg) translateY(-1px);
}
/* ---------------- search control: input and button rounded on their own side (no clipping seam) ---------------- */
body .HeaderMiddle .header-flex-container .search_box .form-search {
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    overflow: visible !important;
    box-shadow: none !important;
}
body .HeaderMiddle .header-flex-container .search_box .input-text {
    background: #fff !important;
    border: 0 !important;
    border-radius: 8px 0 0 8px !important;
    height: 100% !important;
}
body .HeaderMiddle .header-flex-container .search_box .button,
body .HeaderMiddle .header-flex-container .search_box .button.search {
    border: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    background: #111827 !important;
    overflow: hidden;
}
body .HeaderMiddle .header-flex-container .search_box .button button.search {
    border: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    background: transparent !important;
}
body .HeaderMiddle .header-flex-container .search_box .button:hover,
body .HeaderMiddle .header-flex-container .search_box .button.search:hover {
    background: #000 !important;
}
body .HeaderMiddle .header-flex-container .search_box .form-search:focus-within {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .35) !important;
}
/* search control: nest inner shapes inside the outer pill border */
body .HeaderMiddle .header-flex-container .search_grid {
    border-radius: 999px !important;
    background: transparent !important;
}
body .HeaderMiddle .header-flex-container .search_box .form-search {
    border-radius: 999px !important;
}
body .HeaderMiddle .header-flex-container .search_box .input-text {
    border-radius: 999px 0 0 999px !important;
}
body .HeaderMiddle .header-flex-container .search_box .button,
body .HeaderMiddle .header-flex-container .search_box .button.search,
body .HeaderMiddle .header-flex-container .search_box .button button.search {
    border-radius: 0 999px 999px 0 !important;
}
/* search pill: one continuous 1px outline around input + button */
body .HeaderMiddle .header-flex-container .search_grid {
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
/* ---------------- hero slider tabs: floating pill bar, no clipped labels ---------------- */
.ggb {
    bottom: 18px;
    height: auto;
    background: none !important;
}
.ggBtns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    width: -moz-fit-content;
    width: fit-content;
    max-width: calc(100% - 40px);
    height: auto;
    padding: 6px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(17, 24, 39, .55);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
    overflow: visible;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.ggBtns a {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 32px;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}
.ggBtns a em {
    display: inline;
    width: auto;
    height: auto;
    overflow: visible;
    white-space: nowrap;
}
.ggBtns a:hover { color: #fff !important; background: rgba(255, 255, 255, .14) !important; }
.ggBtns a.ggOn,
.ggBtns a.ggOn:hover {
    background: #fff !important;
    color: #111827 !important;
    font-weight: 600;
}

/* ---------------- section titles: drop the stray accent dash ---------------- */
.tabBox > .hd h2::after,
.tabBox2 > .hd h2::after { display: none !important; }
.tabBox > .hd,
.tabBox2 > .hd { padding-bottom: 12px; margin-bottom: 22px; }
.tabBox > .hd h2,
.tabBox2 > .hd h2 { font-size: 20px; letter-spacing: 0; }
/* sections are always shown, even when they currently have no items */
/* neutral placeholder behind the hero (visible only when a banner image is missing) */
.ggBox a { background: linear-gradient(120deg, #f4f5f7 0%, #e8ebf0 100%); }
.gg { background: #f4f5f7; }

/* footer column headings: tighter tracking so they do not wrap awkwardly */
.index-service.foot h4 { letter-spacing: .04em !important; font-size: 12px !important; }
/* ---------------- search button: white pill end + magnifier icon ---------------- */
body .HeaderMiddle .header-flex-container .search_box .button {
    width: 56px !important;
    padding: 0 !important;
    border-left: 1px solid rgba(17, 24, 39, .08) !important;
    background: #fff !important;
    color: #111827 !important;
}
body .HeaderMiddle .header-flex-container .search_box .button.search {
    color: #111827 !important;
}
body .HeaderMiddle .header-flex-container .search_box .button:hover,
body .HeaderMiddle .header-flex-container .search_box .button.search:hover {
    background: #f4f5f7 !important;
    color: #000 !important;
}
body .HeaderMiddle .header-flex-container .search_box .button svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    color: inherit;
}
body .HeaderMiddle .header-flex-container .search_box .button button.search svg { width: 20px !important; height: 20px !important; }

/* ---------------- reviews: no drop shadow ---------------- */
.reviews-left-card { box-shadow: none !important; }
.review_content { box-shadow: none !important; }
/* ---------------- keep label text optically centred inside fixed-height boxes ---------------- */
.pd-qty .DetailQty.sub,
.pd-qty .DetailQty.plus,
.DetailQty.sub,
.DetailQty.plus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
.btn_large,
.inline_any.btn_large {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
.index-service.foot #btnemailsub {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
/* ---------------- checkout: keep the section flow vertical ----------------
   order.css turns #orderForm into a flex row for a two-column template
   (.checkout-main + .checkout-summary). foxcd keeps its own checkout.tpl
   where every block is a direct child of the form, so the row layout
   squeezed all sections side by side. Force normal block flow. */
#orderForm {
    display: block !important;
}
#orderForm > .checkout-main,
#orderForm > .checkout-summary { display: revert !important; }
#orderForm + .checkout-reminder { margin-right: 0 !important; }
#orderForm .address-cards { display: block !important; }
#orderForm .addresslist {
    display: inline-flex !important;
    vertical-align: top;
    margin: 0 12px 12px 0 !important;
    width: 265px !important;
    max-width: 265px !important;
    min-height: 210px;
}#orderForm .data-table,
#orderForm .data-table2 {
    width: 100% !important;
    max-width: 100% !important;
}
#orderForm .data-table2 td { vertical-align: middle; }

/* ---------------- checkout: one consistent left edge ----------------
   The coupons / shipping / activity block lives in a bootstrap
   `.container` (fixed 1170px width + auto side margins), so it sat inset
   from every neighbouring section, and the tab labels were padded 30px
   inside their own borders. Flatten the wrapper and align the tab text
   with the section headings and the control text (all at 14px). */
#orderForm .container {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
#orderForm .slideTxtBox .hd li {
    padding-left: 14px !important;
    padding-right: 14px !important;
}
#orderForm .selectaddres { display: block !important; }
#orderForm .selectaddres select { max-width: 100%; }
/* empty activity-discount placeholder painted a full-width grey band */
#orderForm .act-content:empty { display: none !important; }

/* ---------------- checkout: totals bar + notice ----------------
   checkout.tpl keeps a 90px-tall empty spacer cell in the totals row,
   which painted a stray grey band across the page. */
#orderForm .data-table2 td[height] {
    width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
#orderForm .data-table2 td {
    padding: 10px 0 !important;
    font-size: 13px;
}
#orderForm .data-table2 .pd-buy {
    margin-left: 16px;
}
/* the reminder block still used the old red-on-pink notice styling */
.orderts {
    background: #f4f5f7 !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.orderts ul li,
.orderts ul li b {
    color: #111827 !important;
}
/* ---------------- contrast floor ----------------
   Audit (WCAG 2.1 AA: 4.5:1 text, 3:1 UI boundaries) found a handful of
   legacy greys that were too light. Keep every muted value at or above
   the AA threshold instead of the old #9aa4b2 / #d1d5db greys. */
/* struck-through "was" prices: 2.5:1 -> 4.8:1 on white */
.old-price,
p.old-price,
span.old-price,
span.fontnormal,
.product-layer .PriceContain .old-price,
.mainbody .old-price { color: var(--fox-text-3) !important; }

/* PDP shipping helper text on #f7f8fa: 2.4:1 -> 5.7:1 */
.pd-shipping-label,
.pd-shipping-desc { color: #5b6472 !important; }

/* quantity stepper glyphs on #f4f5f7: 1.4:1 -> 7.1:1 */
.DetailQty,
.DetailQty.rayfont { color: #4b5563 !important; }

/* listing pagination chips (#666 on #ddd = 4.2:1) */
.paginationnew ul > li.normal,
.paginationnew ul > li.normal.disabled {
    background: #eef0f3 !important;
    color: #111827 !important;
}
.w-pagination .page-item.prev.disabled,
.w-pagination .page-item.next.disabled { color: #8b93a1 !important; }

/* header keyword placeholder: 2.5:1 -> 4.8:1 */
.js-search-q::placeholder { color: var(--fox-text-3) !important; opacity: 1 !important; }

/* utility bar divider (decorative, but was invisible at .25) */
.fox-utility-sep { color: rgba(255, 255, 255, .45) !important; }

/* hero pill tabs: labels must survive any banner image underneath */
.ggBtns { background: rgba(17, 24, 39, .7); }
.ggBtns a { color: rgba(255, 255, 255, .92) !important; }

/* form field boundaries (checkout / login / address): 1.5:1 -> 3.6:1 */
#orderForm select,
#orderForm input[type="text"],
#orderForm input[type="password"],
#orderForm textarea,
.selectaddres select,
#strSelect select,
.address-form input,
.address-form select,
.login-form input,
.register-form input { border-color: #7f8896 !important; }

/* footer newsletter field on near-black: 1.9:1 -> 3.4:1 */
.index-service.foot #txtemailsub { border-color: rgba(255, 255, 255, .4) !important; }
/* login / register field boxes: 1.5:1 -> 3.6:1 boundary */
.mk-auth-field { border-color: #7f8896 !important; }
/* ---------------- header brand size ----------------
   The logo PNG was rendered at its full 200x67 box, i.e. it filled the
   whole header band and dominated the search field. Cap it to a
   wordmark size and centre the row instead of top-aligning it. */
.head-container > .clearfix .HeaderBrandLogo img,
.HeaderMiddle .HeaderBrandLogo img {
    width: auto !important;
    height: 40px !important;
    max-width: 160px;
    object-fit: contain;
}
.HeaderMiddle .header-flex-container { align-items: center !important; }
/* ---------------- header account cluster (beside the cart) ----------------
   The account entry used to sit in a separate black utility bar. It now
   lives in the header row next to the cart, as an icon pill for the signed
   in user and two icon pills (log in / register) for guests. */
.HeaderMiddle .header-flex-container .right { gap: 14px; }
.HeaderMiddle .header-flex-container .header-user { height: 44px; }

.HeaderMiddle .header-flex-container .header-user-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease;
}
.HeaderMiddle .header-flex-container .header-user-toggle:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .4);
    color: #fff !important;
}
.HeaderMiddle .header-flex-container .header-user-toggle .header-user-ico {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}
.HeaderMiddle .header-flex-container .header-user-toggle .header-user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.HeaderMiddle .header-flex-container .header-user-toggle .header-arrow {
    width: 6px;
    height: 6px;
    border-right-width: 1.5px;
    border-bottom-width: 1.5px;
    transform: rotate(45deg) translateY(-1px);
}

/* guests: log in + register pills */
.HeaderMiddle .header-flex-container .header-guest {
    display: flex;
    align-items: center;
    gap: 8px;
}
.HeaderMiddle .header-flex-container .header-guest a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.HeaderMiddle .header-flex-container .header-guest a:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .4);
    color: #fff !important;
}
.HeaderMiddle .header-flex-container .header-guest a.header-guest-register {
    background: #fff;
    border-color: #fff;
    color: #111827 !important;
}
.HeaderMiddle .header-flex-container .header-guest a.header-guest-register:hover {
    background: #e8eaee;
    border-color: #e8eaee;
    color: #111827 !important;
}
.header-guest-ico {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

/* dropdown: white card */
.HeaderMiddle .header-flex-container .header-user-menu {
    min-width: 208px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(17, 24, 39, .16);
}
.HeaderMiddle .header-flex-container .header-user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #111827;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.HeaderMiddle .header-flex-container .header-user-menu a:hover {
    background: #f4f5f7;
    color: #000;
}
.header-user-menu-ico {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #6b7280;
    transition: color .15s ease;
}
.HeaderMiddle .header-flex-container .header-user-menu a:hover .header-user-menu-ico { color: #111827; }
.header-user-divider {
    display: block;
    height: 1px;
    margin: 5px 4px;
    background: #eef0f4;
}
.HeaderMiddle .header-flex-container .header-user-menu a.logout { color: #dc2626; }
.HeaderMiddle .header-flex-container .header-user-menu a.logout .header-user-menu-ico { color: #dc2626; }
.HeaderMiddle .header-flex-container .header-user-menu a.logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}
/* ---------------- account pill hover: keep it dark, keep the label readable ----------------
   A legacy `.header-user-toggle:hover{background: var(--fox-surface)}` rule painted the
   pill near-white while the label stayed white (1.05:1). The hover state now stays on
   the dark header and lifts the surface instead. */
.HeaderMiddle .header-flex-container .header-user-toggle:hover,
.HeaderMiddle .header-flex-container .header-user:hover .header-user-toggle {
    background: rgba(255, 255, 255, .18) !important;
    border-color: rgba(255, 255, 255, .45) !important;
    color: #fff !important;
}
.HeaderMiddle .header-flex-container .header-user-toggle:hover .header-user-name,
.HeaderMiddle .header-flex-container .header-user:hover .header-user-name,
.HeaderMiddle .header-flex-container .header-user-toggle:hover .header-user-ico,
.HeaderMiddle .header-flex-container .header-user:hover .header-user-ico { color: #fff !important; }
.HeaderMiddle .header-flex-container .header-guest a:hover {
    background: rgba(255, 255, 255, .18) !important;
    border-color: rgba(255, 255, 255, .45) !important;
    color: #fff !important;
}
.HeaderMiddle .header-flex-container .header-guest a.header-guest-register:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #111827 !important;
}
/* ---------------- cart: select-all row + monochrome checkboxes ----------------
   order.css still used font-size 20px / weight 700 for the select-all label and
   left the checkboxes on the browser default (blue accent). Draw them instead. */
.cart-page .cart-left-head {
    padding: 12px 16px;
    border-radius: 12px;
}
.cart-page .cart-select-all {
    gap: 10px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}
.cart-page .cart-select-all span { letter-spacing: .01em; }

.cart-page input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.5px solid #c7ccd4;
    border-radius: 5px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    cursor: pointer;
    vertical-align: middle;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cart-page input[type="checkbox"]:hover { border-color: #9ca3af; }
.cart-page input[type="checkbox"]:checked {
    border-color: #111827;
    background-color: #111827;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.4 8.4l3 3 6.2-6.6'/%3E%3C/svg%3E");
}
.cart-page input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .15);
}
.cart-page .cart-products input[type="checkbox"] { width: 18px; height: 18px; }
@media (max-width: 960px) {
    .cart-page .cart-select-all { font-size: 14px; }
}