/*
Theme Name: Hostinger Affiliate
Theme URI: https://hostinger.com
Author: Hostinger
Author URI: https://hostinger.com/
Description: Hostinger Affiliate
Version: 1.0.23
Requires at least: 5.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hostinger-affiliate-theme
*/

.Poppins {
    font-family: 'Poppins' !important;
}

.Poppinssb {
    font-family: 'Poppinssb' !important;
}

.lato {
    font-family: 'Lato' !important;
}

:root {
    --gold: #C2A403;
    --gold-light: #E8D099;
    --dark: #000;
    --gray-light: #F9F9F9;
}

body {
    font-family: 'Lato', sans-serif;
    color: #000;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.number {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
}

.text-gold {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
}

.btn-primary {
    background-color: var(--gold);
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #B58C42;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(203, 160, 82, 0.3);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: #ffffff;
}

.card-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    background: linear-gradient(135deg, var(--gold-light), #ffffff);
    border: 1px solid var(--gold-light);
}

/* 字体大小调整 (基于 1920px 屏幕) */
/* 正文 16px (0.83vw) */
body,
p,
span,
li,
input,
textarea,
div,
a,
.text-xs,
.text-sm,
.text-base,
.text-lg {
    font-size: 0.83vw !important;
}

/* 标题 40px (2.08vw) */
h1,
h2,
h3,
h4,
h5,
h6,
.text-xl,
.text-2xl,
.text-3xl,
.text-4xl,
.text-5xl,
.text-6xl {
    font-size: 2.08vw !important;
    line-height: 1.2 !important;
}

.text-ml {
    font-size: 1.2vw !important;
}

h1 *,
h2 *,
h3 *,
h4 *,
h5 *,
h6 *,
.text-xl *,
.text-2xl *,
.text-3xl *,
.text-4xl *,
.text-5xl *,
.text-6xl * {
    font-size: inherit !important;
}

/* 导航和按钮 18px (0.93vw) */
nav a,
button,
.btn-primary,
.btn-outline {
    font-size: 0.93vw !important;
}

nav a *,
button *,
.btn-primary *,
.btn-outline * {
    font-size: inherit !important;
}

/* --- Tailwind CSS Polyfill (替换 CDN 缺失的样式) --- */
*,
::before,
::after {
    box-sizing: border-box;
    border: 0 solid #e5e7eb;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: 'Lato', sans-serif;
}

body {
    margin: 0;
    line-height: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.ta-r {
    text-align: right;
    display: block;
}

.ta-l {
    text-align: left;
    display: block;
}

.bg-white {
    background-color: #ffffff;
}

.bg-black {
    background-color: #000000;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-200 {
    background-color: #D1D1D1;
}

.bg-gray-600 {
    background-color: #e5e7eb;
}

.bg-gray-750 {
    background-color: #757575;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-light {
    background-color: var(--gray-light);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-opacity-30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.text-white {
    color: #ffffff;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-dark {
    color: var(--dark);
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-lg {
    max-width: 32rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-3\.5 {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-0 {
    padding-top: 0;
}

.pb-10 {
    padding-bottom: 2.5rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.p-0 {
    padding: 0;
}

.p-2 {
    padding: 0.6rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-24 {
    margin-top: 6rem;
}

.mb-f1 {
    margin-bottom: -0.25rem;
}

.mb-f2 {
    margin-bottom: -0.5rem;
}

.mb-f3 {
    margin-bottom: -0.75rem;
}

.mb-f4 {
    margin-bottom: -1rem;
}

.mb-f6 {
    margin-bottom: -1.5rem;
}

.mb-f8 {
    margin-bottom: -2rem;
}

.mb-f12 {
    margin-bottom: -3rem;
}

.mb-f16 {
    margin-bottom: -4rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

.shrink-0 {
    flex-shrink: 0;
}

.flex-grow {
    flex-grow: 1;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.space-x-2>*+* {
    margin-left: 0.5rem;
}

.space-x-3>*+* {
    margin-left: 0.75rem;
}

.space-x-4>*+* {
    margin-left: 1rem;
}

.space-x-8>*+* {
    margin-left: 2rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.w-2 {
    width: 0.5rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-40 {
    height: 10rem;
}

.h-48 {
    height: 12rem;
}

.h-auto {
    height: auto;
}

.max-h-16 {
    max-height: 4rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.top-1 {
    top: 0.25rem;
}

.-top-4 {
    top: -1rem;
}

.left-8 {
    left: 2rem;
}

.-left-\[37px\] {
    left: -37px;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-4 {
    border-width: 4px;
}

.border-8 {
    border-width: 8px;
}

.border-10 {
    border-width: 10px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-l {
    border-left-width: 1px;
}

.border-l-4 {
    border-left-width: 4px;
}

.border-white {
    border-color: #ffffff;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-800 {
    border-color: #1f2937;
}

.border-gold {
    border-color: var(--gold);
}

.border-opacity-30 {
    border-color: rgba(203, 160, 82, 0.3);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-60 {
    opacity: 0.6;
}

.transition {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.cursor-pointer {
    cursor: pointer;
}

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

.overflow-hidden {
    overflow: hidden;
}

.grayscale {
    filter: grayscale(100%);
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.hover\:text-gold:hover {
    color: var(--gold);
}

.hover\:text-white:hover {
    color: #ffffff;
}

.hover\:text-dark:hover {
    color: var(--dark);
}

.hover\:bg-gold:hover {
    background-color: var(--gold);
}

.hover\:bg-white:hover {
    background-color: #ffffff;
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

.hover\:underline:hover {
    text-decoration: underline;
}

.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:border-gold:focus {
    border-color: var(--gold);
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.invisible {
    visibility: hidden;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.hover\:opacity-100:hover {
    opacity: 1;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}


@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:block {
        display: block;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:p-14 {
        padding: 3.5rem;
    }

    .md\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .md\:mt-0 {
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:pl-8 {
        padding-left: 2rem;
    }
}

.rounded {
    border-radius: 0.5vw !important;
}

.mainnav {
    padding: 0 1.4vw;
}

.subnav {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
}

.subnav a {
    font-size: 0.8vw !important;
}

.arrowd {
    min-width: 2vw !important;

}

.customercard {
    background: rgba(255, 255, 255, 0.01);
    padding: 1.4vw;
    box-sizing: border-box;
    border-width: 0px 0px 0px 5px;
    border-style: solid;
    border-color: #C2A403;

    /* de.eyouagro.com/阴影0 */
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
}

.customercard p {
    background: #F9FAFA;
    padding: 1vw;
    height: 20vw;
    text-overflow: ellipsis;
}

.footer .grid {
    grid-template-columns: 35% 15% 15% 30%;
    justify-content: space-between;
}

.forminput input,
.forminput textarea {
    width: 100%;
    background-color: #f9fafb;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e7eb;
    border-radius: 0.5vw !important;
    padding: 0.5rem 1rem;
    font-size: 0.83vw !important;
}

/* focus 状态合并 */
.forminput input:focus,
.forminput textarea:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: var(--gold);
}

/* 合并后的标签文本样式类 */
.forminput label {
    display: block;
    font-size: 0.83vw !important;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.25rem;
}

.forminput textarea {
    min-height: 10vw;
}

/* =========================================
   产品详情页 (Product Details Page) 补充样式
   ========================================= */

/* 响应式网格布局：侧边栏 1fr，主内容 3fr */
@media (min-width: 768px) {
    .md\:grid-cols-\[1fr\,3fr\] {
        grid-template-columns: 1fr 3fr;
    }
}

/* 分页器按钮悬停效果 */
.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

/* 侧边栏列表项悬停效果（增强交互体验，可选） */
main aside ul li {
    cursor: pointer;
    transition: all 0.3s ease;
}

main aside ul li:hover span:first-child {
    color: var(--gold);
    font-weight: 700;
}

main aside ul li:hover span:last-child {
    color: var(--gold);
}

/* 确保产品图片圆角上方贴合容器 */
article img {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

/* =========================================
   产品内页 (Curved Stairs Detail) 补充样式
   ========================================= */

/* 黑色备选按钮 */
.bg-black {
    background-color: #000000;
}

.hover\:bg-gray-800:hover {
    background-color: #1f2937;
}

/* 选项卡激活/悬停状态 */
.border-transparent {
    border-color: transparent;
}

.border-black {
    border-color: #000000;
}

/* 表格规范化与边框 */
.border-collapse {
    border-collapse: collapse;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

/* FAQ 交互状态 */
.border-l-2 {
    border-left-width: 2px;
}

.border-gold {
    border-color: var(--gold);
}

.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

/* 响应式表单覆盖优化 (针对白色背景输入框) */
.forminput .bg-white {
    background-color: #ffffff !important;
}

/* 文件上传虚线框样式优化 */
.forminput input[type="file"] {
    border: 2px dashed #e5e7eb !important;
    padding: 1vw !important;
    cursor: pointer;
    background-color: transparent !important;
}

.forminput input[type="file"]:hover {
    border-color: var(--gold) !important;
}

/* 缩略图激活边框 */
.border-2 {
    border-width: 2px;
}

/* =========================================
   Swiper 8 轮播图定制样式覆盖
   ========================================= */

/* 隐藏移动端的箭头，仅在PC端显示 */
@media (max-width: 768px) {
    .custom-swiper-nav {
        display: none !important;
    }
}

/* 左右箭头基础样式定制 (替换默认的蓝色箭头图标) */
.swiper-button-next.custom-swiper-nav,
.swiper-button-prev.custom-swiper-nav {
    width: 2.5rem !important;
    height: 2.5rem !important;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #9ca3af !important;
    /* 默认灰色 */
    transition: all 0.3s ease;
}

/* 箭头悬停变为金色 */
.swiper-button-next.custom-swiper-nav:hover,
.swiper-button-prev.custom-swiper-nav:hover {
    color: var(--gold) !important;
}

/* 调整 Swiper 默认箭头图标的大小 */
.swiper-button-next.custom-swiper-nav::after,
.swiper-button-prev.custom-swiper-nav::after {
    font-size: 1rem !important;
    font-weight: bold;
}

/* 轮播图底部小圆点样式覆盖 */
.swiper-pagination-bullet {
    background-color: #e5e7eb !important;
    /* 默认未激活颜色 */
    opacity: 1 !important;
    transition: all 0.3s ease;
}

/* 当前激活的小圆点变为金色 */
.swiper-pagination-bullet-active {
    background-color: var(--gold) !important;
    width: 0.5rem !important;
    border-radius: 9999px !important;
}

/* 修复 Swiper 容器由于边框阴影可能被截断的问题 */
.swiper.relatedSwiper {
    padding-bottom: 3rem !important;
    /* 为下方的 pagination 留出空间 */
    width: 90%;
    margin: 0 auto;
}

.gallery-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-thumb-grid img {
    width: 7vw;
    height: 6vw;
    object-fit: cover;
    border-radius: 0.75rem;
}

/* =========================================
   Contact Us Page 补充样式
   ========================================= */

/* 表单与评价部分 3:2 比例网格 */
@media (min-width: 1024px) {
    .lg\:grid-cols-\[1\.5fr\,1fr\] {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* 覆盖输入框激活时的金色边框行为 */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold) !important;
    outline: none;
}

/* 增加表单元素的底色区分度 */
.bg-gray-50 {
    background-color: #f9fafb;
}

/* Steps 悬浮动画增强 */
.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

/* Knowledge Center 页面定制样式 */

.bg-gray-light {
    background-color: #f4f7fb;
}

.text-gold {
    color: #d4af37;
}

.bg-gold {
    background-color: #d4af37;
}

/* 响应式网格布局 */
@media (min-width: 1024px) {
    .lg\:grid-cols-\[2fr\,1fr\] {
        grid-template-columns: 2fr 1fr;
    }
}

/* 卡片悬浮动画 */
article {
    transition: transform 0.3s ease;
}

article:hover {
    transform: translateY(-5px);
}


/* ========== 生产流程页新增样式 ========== */

/* Hero 横幅 */
.process-hero {
    position: relative;
    overflow: hidden;
}

.process-hero-bg {
    background: url('../images/process-hero.webp') center/cover no-repeat;
    filter: brightness(0.6);
}

.process-hero h1 {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

/* 统计卡片 */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

/* 区块标题 */
.section-title h2 {
    font-family: 'Poppins', sans-serif;
}

/* 生产线卡片 */
.production-line-card {
    transition: all 0.3s ease;
}

.production-line-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.production-line-img {
    min-height: 280px;
}

.product-thumbs .thumb-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-thumbs .thumb-item:hover {
    transform: scale(1.03);
}

/* 品控卡片 */
.qc-card {
    transition: all 0.3s ease;
}

.qc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* CTA 卡片 */
.cta-card {
    transition: all 0.3s ease;
}

.cta-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .production-line-img {
        min-height: 220px;
    }
}


/* ========== About Us Page 补充样式 ========== */
/* 补充 about.html 中使用的缺失 Tailwind 类样式 */

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.ml-12 {
    margin-left: 3rem;
}

.-translate-y-2 {
    transform: translateY(-0.5rem);
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.h-64 {
    height: 16rem;
}

.h-20 {
    height: 5rem;
}

.h-24 {
    height: 6rem;
}

.h-64 {
    height: 16rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.border-t-4 {
    border-top-width: 4px;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-yellow-50 {
    background-color: #fefce8;
}

.fill-current {
    fill: currentColor;
}

.duration-300 {
    transition-duration: 300ms;
}

.box-content {
    box-sizing: content-box;
}

.flex-1 {
    flex: 1 1 0%;
}

.left-\[20px\] {
    left: 20px;
}

.left-1\/2 {
    left: 50%;
}

.top-2 {
    top: 0.5rem;
}

.w-3 {
    width: 0.75rem;
}

.h-3 {
    height: 0.75rem;
}

.md\:h-\[400px\] {
    height: 400px;
}

.md\:h-20 {
    height: 5rem;
}

.md\:h-24 {
    height: 6rem;
}

.md\:h-64 {
    height: 16rem;
}

.md\:flex-row {
    flex-direction: row;
}

.md\:flex-row-reverse {
    flex-direction: row-reverse;
}

.md\:text-left {
    text-align: left;
}

.md\:text-right {
    text-align: right;
}

.md\:pr-12 {
    padding-right: 3rem;
}

.md\:pl-12 {
    padding-left: 3rem;
}

.md\:w-\[45\%\] {
    width: 45%;
}

.md\:ml-0 {
    margin-left: 0;
}

.md\:mb-0 {
    margin-bottom: 0;
}

.md\:relative {
    position: relative;
}

.md\:left-auto {
    left: auto;
}

.md\:top-auto {
    top: auto;
}

.md\:p-10 {
    padding: 2.5rem;
}

.md\:p-12 {
    padding: 3rem;
}

.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

.hover\:opacity-80:hover {
    opacity: 0.8;
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.md\:left-1\/2 {
    left: 50%;
}

/* End of About Us Page 补充样式 */

/* WooCommerce 风格分页样式 */
.woocommerce-pagination {
    *zoom: 1;
    border-radius: 0.25rem;
    display: block;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding-left: 0;
    text-align: center;
}

.woocommerce-pagination:after,
.woocommerce-pagination:before {
    content: " ";
    display: table;
}

.woocommerce-pagination:after {
    clear: both;
}

.woocommerce-pagination ul,
.woocommerce-pagination ul li {
    display: inline-block;
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}

.woocommerce-pagination li:first-child span {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin-left: 0;
}

.woocommerce-pagination li:first-child a,
.woocommerce-pagination li:first-child span {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    float: left;
    font-size: 12px;
    line-height: 1.5;
    padding: 0.5rem 0.75rem;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
}

.woocommerce-pagination a:focus,
.woocommerce-pagination a:hover {
    background-color: #eceeef;
    border-color: #ddd;
}

.woocommerce-pagination span.current,
.woocommerce-pagination span.current:focus,
.woocommerce-pagination span.current:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #fff;
    cursor: default;
    z-index: 2;
}

.woocommerce-pagination .next,
.woocommerce-pagination .prev {
    margin-top: 0;
}

.woocommerce-pagination ul.page-numbers {
    padding: 0;
}

/* Product List Styles */
.productlist .product-type-simple {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    padding-bottom: 1vw;
    font-family: 'Poppinssb';
}

.productlist .product-type-simple:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.productlist .woocommerce-loop-product__title {
    font-size: 1.1vw !important;
    font-family: 'Poppinssb';
    text-align: center;
}

.productlistbtn {
    text-align: center;
    width: auto;
    padding: 0.5vw;
}

.product_categories {
    font-size: 1.1vw !important;
}

.product-image {
    width: 100%;
    height: 10vw;
    object-fit: cover;
    overflow: hidden;
}

.tab-btn {
    font-size: 1.2vw !important;
    padding: 1.5vw 1vw;
    border-right: 1px solid #EDEDED;
    border-left: 1px solid #EDEDED;
    border-bottom: 4px solid transparent;
    cursor: pointer;
}

.tab-btn.border-black {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    border-bottom: 4px solid var(--dark) !important;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
}

.faq-icon {
    width: 0.83vw;
    height: 0.83vw;
    overflow: hidden;
}

.faq-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(-90deg);
}

.faq-icon.up {
    transform: rotate(0deg);
}

.faq-icon.down {
    transform: rotate(180deg);
}

.sp-form .wpforms-field-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sp-form .wpforms-field-container .sp-input {
    width: 48%;
    margin-bottom: 0.8vw;
}

.sp-form .wpforms-field-container .sp-input5 {
    width: 100%;
}

.sp-input input {
    background-color: #fff;
    height: 2.5vw;
}

.sp-input select {
    width: 100%;
    background-color: #fff;
    height: 2.5vw;
    padding-left: 1vw;
}

.sp-area2,
.sp-area1 {
    width: 100%;
}

.sp-area2 textarea,
.sp-area1 textarea {
    background-color: #fff;
}

.sp-area2 textarea {
    min-height: 5vw;
}

.sp-form .wpforms-submit-container {
    display: flex;
    justify-content: center;
}

#wpforms-submit-144 {
    width: 60%;
    font-family: 'Poppinssb';

}

.faq-item {
    min-height: 4vw;
}

.faq-title {
    line-height: 4vw;
}

/* ========== 知识中心博客页样式 ========== */

/* Hero 区域 */
.blog-hero {
    position: relative;
    overflow: hidden;
}

.blog-hero h1 {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

/* 搜索框 */

.blog-search input {
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.blog-search input:focus {
    border-color: var(--gold);
}

/* 介绍区块 */
.knowledge-intro .intro-img {
    min-height: 280px;
}

/* 侧边栏粘性定位 */


/* 文章卡片 */
.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 筛选下拉框 */
select {
    /* 清除原生箭头 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* IE兼容 */

}

select::-ms-expand {
    display: none;
}

.selectbox {
    position: relative;
}

.selectbox::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.5vw;
    transform: translateY(-50%);
    width: 1.2vw;
    height: 1.2vw;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* 优势卡片 */
.advantage-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* CTA 卡片 */
.cta-card {
    transition: box-shadow 0.3s ease;
}

.cta-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .sidebar-widget {
        position: static;
    }

    .knowledge-intro .intro-img {
        min-height: 220px;
    }
}

.blogselect {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.6vw 2vw 0.6vw 0.6vw;

    background: #FFFFFF;

    box-sizing: border-box;
    border: 1px solid #EDEDED;
}

/* 分页导航样式 - 与全站风格统一 */
.pagination-wrap .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    color: #374151;
    transition: all 0.3s ease;
}

.pagination-wrap .page-numbers.current {
    background-color: var(--gold);
    color: #fff;
    font-weight: 600;
}

.pagination-wrap .page-numbers:hover:not(.current) {
    background-color: #f3f4f6;
}

.pagination-wrap .page-numbers.prev,
.pagination-wrap .page-numbers.next {
    color: var(--gold);
    font-weight: 600;
}

.sidebar-widget a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* 加注释防止打包被移除 */
    /*! autoprefixer: off */
    -webkit-box-orient: vertical;
    /* autoprefixer: on */
    overflow: hidden;
    text-overflow: ellipsis;
}

.equimentnum .num{
    font-size: 3.2vw!important;
}