body{
    margin:0;
    background: #e0e0e0;
    font-family:Arial, Helvetica, sans-serif;
    padding:0;
    overflow:hidden;
    height:100%;
}

.app::-webkit-scrollbar {
  width: 4px;
}

.app::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.app::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.app::-webkit-scrollbar-thumb:hover {
  background: #18396f;
}


.app{

    width:100%;
    max-width:767px;
    height:100vh;
    margin:0 auto;
    background:white;
    overflow-y:auto;
    overflow-x:hidden;
}

/* 顶部 */
.top-header{

    height:65px;
    background:#244b8f;
    display:flex;
    align-items:center;
    padding:10px;
    gap:10px;
    position:sticky;
    top:0;
    z-index:99;
}
.logo{
	color:white;
	font-size:22px;
	font-weight:bold;

}
.search{
	flex:1;
}
.search input{
	width:90%;
	border-radius:25px;
	border:0;
	padding:12px;
}



/* 品牌 */

.brands{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:10px;
	padding:15px;

}

.brand-card {
  height: 125px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .25s;
  cursor: pointer;
}
.brand-card.active {
  background: #eeeeee;
}

.brand-logo{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:5px;

}

.brand-logo img{
    max-width:40px;
    max-height:40px;
    object-fit:contain;
	  margin-bottom:0px;
}
.brand-card .brand-name{
	text-align:center;
}


/* 产品 */

.products{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:12px;

padding: 20px 20px 120px 20px;

}

.watch-category {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 10px 15px;
}
.watch-item {
  height: 95px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
}
.watch-item.active {
  background: #eeeeee;
}
.watch-image {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watch-image img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.watch-name {
  font-size: 12px;
  margin-top: 8px;
  color: #111;
  text-align: center;
}
/* 产品卡片 */

.product-card{

background:#fff;
border-radius:12px;
padding:10px;
cursor:pointer;
overflow:hidden;

position:relative;

}


/* 图片 */

.product-image{

position:relative;
background:#fff;

}



.product-image img{
width:100%;
height:300px;
object-fit:contain;
display:block;

}



/* 收藏 */

.wishlist{

position:absolute;

right:8px;

top:8px;

background:#fff;

width:42px;

height:32px;

border-radius:20px;

display:flex;

align-items:center;

justify-content:center;

font-size:14px;

box-shadow:0 2px 8px rgba(0,0,0,.12);

color:#777;

}



.wishlist span{

margin-left:4px;

}


/* 产品标题 */

.product-card h3{
font-size:14px;
font-weight:500;

text-align:center;

margin:12px 0 8px;


}


/* 价格 */

.product-price{

text-align:center;

font-size:18px;

font-weight:600;

color:#ff4d32;

margin-bottom:12px;

}



/* 按钮 */

.chat-button{
	display:block;
	background:#00e600;
	color:#000;
	height:36px;
	line-height:36px;
	text-align:center;
	border-radius:6px;
	font-size:14px;
	font-weight:500;
	text-decoration:none;
}




/* 底部 */
.bottom-nav{
	position:fixed;
	bottom:0;
	left:50%;
	transform:translateX(-50%);
	width:100%;
	max-width:767px;
	height:70px;
	background:white;
	display:flex;
	justify-content:space-around;
	align-items:center;
 	box-shadow:0 -5px 20px rgba(0,0,0,.08);
	border-radius:20px 20px 0 0;
	z-index:999;
}

.bottom-nav span{
	display:block;
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #999;
  text-decoration: none;
  font-size: 12px;
}

.bottom-nav svg {
  width: 24px;
  height: 24px;
  fill: #999;
  flex-shrink: 0; /* 防止图标被压缩 */
}
.bottom-nav a.active {
  color: #244b8f;
}
.bottom-nav a.active svg {
  fill: #244b8f;
}
.bottom-nav a:active{
    transform:scale(.9);
}

.brands{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    padding:15px;

}

.brand-card{
    height:110px;
    background:#f5f5f5;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    font-size:12px;
}

.brand-card img{
    width:35px;
    height:35px;
    object-fit:contain;
    margin-bottom:10px;
}

.watch-category {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 15px;
}

.watch-item {
  text-align: center;
  font-size: 12px;
}

.watch-item img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.product-modal.active {
  display: block;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
}
.modal-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: #888;
  color: #fff;
  font-size: 22px;
  z-index: 10;
}
.modal-gallery {
  height: 390px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slider-dot {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 6px;
  border-radius: 5px;
  background: #3498ff;
}
.modal-content {
  padding: 15px;
}
.modal-content h2 {
  font-size: 18px;
  margin: 0 0 12px;
}
.modal-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-price {
  color: #ff4d32;
  font-size: 24px;
  font-weight: 700;
}
.modal-wishlist {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 8px 15px;
  color: #888;
}
.payment-icons {
  display: flex;
  gap: 8px;
  margin: 15px 0;
}
.payment-icons span {
  padding: 3px 3px;
  font-size: 10px;
  border-radius: 3px;
}
.payment-icons span img {
  width:30px;
  height:20px;
}
.modal-buttons {
  display: flex;
  gap: 10px;
}
.modal-buttons a {
  flex: 1;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  text-decoration: none;
}
.message-btn {
  background: #1687ff;
}
.whatsapp-btn {
  background: #20c55a;
}
.app-loader{

    display:flex;

    justify-content:center;

    gap:6px;

}



.app-loader span{

    width:8px;

    height:8px;

    background:#244b8f;

    border-radius:50%;

    animation:bounce .8s infinite;

}


.app-loader span:nth-child(2){

    animation-delay:.15s;

}


.app-loader span:nth-child(3){

    animation-delay:.3s;

}



@keyframes bounce{


0%,100%{

transform:translateY(0);

}


50%{

transform:translateY(-8px);

}


}


/* Account Page */
.account-page {
  min-height: 100vh;
  padding: 30px 20px 100px;
  background: #f5f5f5;
}
.account-box {
  background: #fff;
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
}
/* 用户头像 */
.avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #244b8f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.account-box h2 {
  font-size: 22px;
  margin: 10px 0 25px;
  color: #111;
}
/* 菜单 */
.account-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-menu a {
  height: 50px;
  line-height: 50px;
  background: #f7f7f7;
  border-radius: 12px;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  transition: .2s;
}
.account-menu a:hover {
  background: #eeeeee;
}
/* 登录注册状态 */
.account-box > a {
  display: block;
  height: 48px;
  line-height: 48px;
  margin-top: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
}
.account-box > a:first-of-type {
  background: #244b8f;
  color: #fff;
}
.account-box > a:last-child {
  background: #f2f2f2;
  color: #333;
}

/* Login Register */
.auth-page {
  min-height: 100vh;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px 100px;
}
.auth-box {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 22px;
  padding: 35px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  text-align: center;
}
.auth-logo {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}
.auth-logo span {
  color: #00d95f;
}
.auth-box h1 {
  font-size: 24px;
  margin: 10px 0;
  color: #111;
}
.auth-desc {
  color: #888;
  font-size: 14px;
  margin-bottom: 25px;
}
/* 输入框 */
.input-group {
  margin-bottom: 15px;
}
.input-group input {
  width: 100%;
  max-width: 85%;
  height: 48px;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 0 15px;
  font-size: 14px;
  outline: none;
  background: #fafafa;
}
.input-group input:focus {
  border-color: #244b8f;
  background: #fff;
}
/* 按钮 */
.auth-button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: #244b8f;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}
.auth-button:hover {
  background: #18396f;
}
/* 底部链接 */
.auth-footer {
  margin-top: 25px;
  font-size: 14px;
  color: #777;
}
.auth-footer a {
  color: #244b8f;
  text-decoration: none;
  font-weight: 600;
}

/* Register Input */
.icon-input{
    position:relative;
    max-width: 85%;
}

.icon-input input{
    height:50px;
    background:#f5f5f7;
    border:none;
    border-radius:12px;
    padding-left:45px;
}

.input-icon{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    font-size:18px;
    color:#666;
    z-index:2;
}


/* Blog */
.blog-page {
  min-height:100vh;
  background:#f5f5f5;
  padding-bottom:90px;
}
.blog-header {
  height:60px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.blog-header h1 {
  font-size: 20px;
  margin: 0;
}
.blog-add {
  position:absolute;
  right:20px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#00e632;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  text-decoration:none;
}

/* Feed */
.blog-feed{
  padding:12px;
}
.feed-card {
  background: #fff;
  margin: 12px;
  border-radius: 15px;
  padding: 15px;
}
.feed-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feed-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.feed-name {
  font-size: 14px;
  font-weight: 600;
}
.feed-content h2{
  font-size:16px;
  margin:15px 0 8px;
}
.feed-content{
  font-size:14px;
  color:#555;
  line-height:1.6;
}
.feed-image img {
  width:100%;
  border-radius:12px;
  margin-top:12px;
}
.feed-actions {
  display:flex;
  gap:25px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #eee;
  color:#666;
  font-size:14px;
}

.like-button {
  cursor: pointer;
}
.like-button.liked {
 color:#ff3040;
}
.chat-icon{

    width:18px;
    height:18px;
    margin-right:6px;
    vertical-align:middle;

}



.message-btn,
.whatsapp-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
}

.app-search{
flex:1;
position:relative;

}


.app-search input{
    width:100%;
    height:38px;
    border-radius:22px;
    border:none;
    padding:0 45px 0 15px;
    font-size:14px;
    outline:none;
}


.app-search button{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    border:0;
    background:none;
    padding:0;
}

.app-search svg{
    width:20px;
    height:20px;
    fill:#244b8f;
}
.wishlist-button {
    background: #fff;
    width: 45px;
    height: 32px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    cursor: pointer;
    font-size: 14px;
    color: #999;

}

#modal-wishlist{
	background: #fff;
	width: 50px;
	height: 20px;
	border-radius: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
	cursor: pointer;
	font-size: 14px;
	color: #999;
	text-align: center;
}
.wishlist-button.active {
    color: #ff3040;
}
.wishlist-button.active .favorite-icon{
    color:#ff3040;
}

.wishlist-page{
  min-height:100vh;
  background:#f5f5f5;
  padding-bottom:90px;
}

.wishlist-page .products{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  padding:12px;
}

.wishlist-page .product-card{
  background:#fff;
  border-radius:15px;
  padding:10px;
  overflow:hidden;
}

.wishlist-page .product-image{
  position:relative;
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.wishlist-page .product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.wishlist-page .wishlist-button{
  position:absolute;
  top:8px;
  right:8px;
  width:45px;
  height:32px;
  border-radius:20px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
}

.faq-page{
  min-height:100vh;
  background:#f5f5f5;
  padding-bottom:90px;
}

.faq-header{
  height:150px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.faq-icon{
  width:50px;
  height:50px;
  border-radius:50%;
  background:#252936;
  color:#00ef36;
  font-size:36px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.faq-header h1{
  margin-top:12px;
  font-size:18px;
}

.faq-list{
  padding:15px;
}

.faq-item{
  background:#fff;
  border-radius:15px;
  margin-bottom:12px;
  overflow:hidden;
}

.faq-question{
  min-height:64px;
  padding:0 18px;
  display:flex;
  align-items:center;
  cursor:pointer;
}

.faq-number{
  width:30px;
  height:30px;
  background:#00e632;
  color:#fff;
  border-radius:7px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.faq-title{
  flex:1;
  padding:0 12px;
  font-size:14px;
}

.faq-arrow{
  color:#777;
}

.faq-answer{
  display:none;
  padding:0 18px 18px 60px;
  color:#666;
}

.faq-item.active .faq-answer{
  display:block;
}
.logo a{
  display:flex;
  align-items:center;
  text-decoration:none;
  font-size:24px;
  font-weight:700;
}

.logo-main{
  color:#fff;
}

.logo-highlight{
  color:#00e676;
}

.create-post-page{
  min-height:100vh;
  background:#f5f5f5;
  padding-bottom:90px;
}

.create-post-header{
  height:60px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.create-post-header h1{
  font-size:20px;
}

.create-post-form{
  padding:15px;
}

.create-post-form textarea{
  width:100%;
  height:160px;
  border:0;
  border-radius:15px;
  padding:15px;
  resize:none;
  background:#fff;
  box-sizing:border-box;
  font-size:14px;
}

.upload-box{
  margin-top:15px;
  background:#fff;
  padding:20px;
  border-radius:15px;
}

.create-post-form button{
  width:100%;
  height:48px;
  margin-top:15px;
  border:0;
  border-radius:12px;
  background:#244b8f;
  color:#fff;
  font-size:16px;
}

.post-login{
  margin:20px;
  background:#fff;
  padding:30px;
  border-radius:15px;
  text-align:center;
}
@media (max-width: 480px) {
    .icon-input {
        max-width: 100%;
        padding: 12px 14px;
    }
}

