﻿html {
  margin: 0;
  padding: 0;
  border: 0;
}

body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
p,
blockquote,
pre,
a,
address,
code,
b,
em,
img,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
footer,
header,
hgroup,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  color: #333;
  position: relative;
  font-size: 100%;
  text-align: center;
  font: 12px/1.5 宋体, arial, sans-serif;
  vertical-align: baseline;
  width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  outline: none;
}

a:link {
  color: #000;
}

a:hover,
a:active,
a:focus {
  color: #e87518;
  text-decoration: underline;
  outline: none;
  text-decoration: none;
}

input {
  padding: 0;
  margin: 0;
}

img {
  border: none;
  background: none;
  vertical-align: middle;
}

ul,
ol,
li {
  list-style-type: none;
}

select,
input,
img,
select {
  vertical-align: middle;
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

table,
th,
td {
  vertical-align: middle
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
  visibility: hidden;
}

.clearfix {
  zoom: 1
}

.clearboth {
  height: 0px;
  line-height: 0px;
  overflow: hidden;
  clear: both;
  font-size: 0px;
}


hr {
  border: 0;
  border-top: 1px solid #ccc;
  height: 0;
}

.ellipsis {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.relatedproduct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 576px){
  .relatedproduct {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

 

.text-center {
  text-align: center;
}



.pagesize {
  margin-top: 2rem;
  width: 100%;
  margin: auto;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  box-sizing: border-box;
  max-width: 100%;
}


.pagesize a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  text-decoration: none;
  color: #666;
  background: #f8f9fa;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}


.pagesize a:hover {
  color: #ff5300;
  background: #fff5f0;
  border-color: #ff5300;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(255, 83, 0, 0.15);
}

.pagesize a:active {
  transform: translateY(0);
}


.pagesize b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: #ff5300;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(255, 83, 0, 0.3);
  pointer-events: none;
  
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


.pagesize .biaozhu {
  color: #ff5300;
  font-weight: 600;
  background: #fff5f0;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #ffd8c6;
}


@media (max-width: 576px) {
  .pagesize {
    padding: 10px 12px;
    gap: 6px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #e9ecef;

  }

  .pagesize a,
  .pagesize b {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    font-size: 13px;
    border-radius: 6px;
  }

  .pagesize .biaozhu {
    font-size: 12px;
    padding: 1px 6px;
  }
}


@media (max-width: 360px) {
  .pagesize a {
    min-width: 28px;
    padding: 0 6px;
  }
}