html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* 打印时隐藏页眉和页脚 */
@media print {
    /* 隐藏页面中的header和footer元素 */
    header, footer {
        display: none !important;
    }
    
    /* 隐藏浏览器默认页眉页脚 */
    @page {
        margin: 0mm;
        -webkit-print-color-adjust: exact;
    }
}

/* 导航栏品牌文字样式 */
.navbar-brand span {
    font-size: 1.6rem;
    font-weight: 600;
}

/* 产品卡片样式 */
.product-card {
    transition: all 0.25s ease;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.product-card img {
    border-radius: 4px;
}