@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
main {
    max-width: 1920px;
    margin: 30px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #333;
}
/* 导航栏部分 */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 999;
	padding-top: 20px;
	padding-bottom: 20px;
}
.navbar-container {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #000000;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.pc-nav {
    display: flex;
    list-style: none;
    height: 100%;
}
.pc-nav li {
    position: relative;
    height: 100%;
}
.pc-nav li a {
    display: block;
    padding: 0 20px;
	font-size: 35px;
    color: #000000;
    text-decoration: none;
    transition: background 0.3s;
}
.pc-nav li a:hover {
    background-color: #d9dbdd;
}
.pc-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    display: none;
}
.pc-dropdown li a {
    color: #333;
    line-height: 70px;
    padding: 0 20px;
}
.pc-dropdown li a:hover {
    background-color: #f3f4f6;
    color: red;
}
.pc-nav li:hover .pc-dropdown {
    display: block;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    color: black;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #fff;
    overflow-y: auto;
}
.mobile-nav {
    list-style: none;
}
.mobile-nav > li {
    border-bottom: 1px solid #e5e7eb;
}
.mobile-nav > li > a {
    display: block;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}
.mobile-dropdown {
    list-style: none;
    background-color: #f9fafb;
    display: none;
}
.mobile-dropdown li a {
    display: block;
    padding: 14px 20px 14px 40px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #e5e7eb;
}

/* 图片部分样式 */
.tp{
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
}
.tp img{
	width: 100%;
	height: auto;
	padding-bottom:30px;
	display: block;
	aspect-ratio: 1130 / 500;
	object-fit: cover; /* 容器比例与图片完全一致，无裁切、无变形、无黑边 */
}

/* 登山绳资料部分样式 */
.climbingrope-wrap {
    width: 100%;
    max-width: 1920px ;
    margin: 48px auto ;
	margin-top:50px;
    padding: 0 16px;
	padding-bottom: 50px;
}
.climbingrope-wrap h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}
.climbingrope-wrap p {
    text-align: center;
    font-size: clamp(13px, 2vw, 15px);
    color: #666;
    margin-bottom: 28px;
    line-height: 1.5;
}
/* 图片网格容器 */
.climbingrope {
    display: grid;
    width: 100%;
/* PC端强制每行5张*/
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
/* 图片样式 强制统一尺寸 不变形 */
.climbingrope img {
    width: 100% !important;
    aspect-ratio: 195 / 325 !important; /* 正方形显示比例 可按需修改为4/3、3/4等 */
    display: block !important;
    border-radius: 8px;
    object-fit: cover !important; /* 自动裁剪填充 所有图片大小完全一致 */
    max-width: 100% !important;
    height: auto !important;
}
/* 尾部样式 */
/* 首页尾部部分样品 */
.footer-nav-wrap {
    width: 100%;
	max-width: 1920px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
	margin:0 auto;
    box-sizing: border-box;
	text-align: center;
}
.footer-nav {
    max-width: 1920px; 
	background-color: #f8f9fa;
    margin: 0 auto; 
	margin-top: 30px;
}
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 16px 0; /* 上下内边距实现自适应高度 */
    display: flex;
    flex-wrap: wrap; /* 小屏自动折行 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    gap: 24px 48px; /* 横向/纵向间距，折行时自动生效 */
    box-sizing: border-box;
}
.footer-nav-item a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    transition: color 0.2s ease;
    line-height: 1.5;
}
.footer-nav-item a:hover {
    color: red; /*  hover交互色可自定义 */
}
.footer-beian,.footer-fo{
	height: 40px;
}
/* 移动端 */
@media screen and (max-width: 768px) {
	/* 导航栏移动端 */
	.navbar{
		padding-top:10px ;
		padding-bottom: 10px;
	}
	.logo{
		font-size: 18px;
	}
	.pc-nav {
	    display: none;
	}
	.hamburger {
	    display: block;
	}
	/* 登山绳资料样式 */
	.climbingrope {
	/* 移动端强制每行2张 */
	    grid-template-columns: repeat(2, 1fr) !important;
	    gap: 12px;
	}
	.climbingrope-wrap {
		margin-top:10px;
	    padding-bottom: 10px;
	}
	.climbingrope-wrap h2{
		font-size: 30px;
	}
	.climbingrope-wrap p {
	    margin-bottom: 20px;
	}
	.climbingrope-wrap span{
		display: none;
	}
	.footer-nav{
		margin-top: 3px;
	}
	.footer-nav-list {
	  gap: 12px 20px;
	  padding: 10px 0;
	}
	.footer-nav-item a {
	  font-size: 10px;
	}
	.footer-beian,.footer-fo{
		font-size:9px;
	}
}
@media (hover: hover) {
    .climbingrope img:hover {
        opacity: 0.9;
    }
}