.accessory-block {
  margin-bottom: 30px;
}

.accessory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.accessory-head h3 {
  margin: 0;
}

.accessory-all {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: #f3f3f3;
  color: #333;
  text-decoration: none;
}

.accessory-all:hover {
  background: #e8e8e8;
  color: #333;
  text-decoration: none;
}

.accessory-grid {
  display: flex;
  flex-wrap: wrap;
}

.accessory-grid > div {
  display: flex;
}

.accessory-grid .accessory-card {
  width: 100%;
}

.accessory-card {
  display: flex;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.accessory-image {
  flex: 0 0 64px;
  margin-right: 12px;
}

.accessory-image img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.accessory-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.accessory-name {
  display: -webkit-box;
  margin-bottom: 6px;
  overflow: hidden;
  color: #333;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.accessory-description {
  display: -webkit-box;
  margin-bottom: 8px;
  overflow: hidden;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.accessory-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: auto;
}

.accessory-price-old {
  margin-right: 6px;
  color: #999;
  text-decoration: line-through;
}

.accessory-price-new {
  font-size: 18px;
  font-weight: bold;
}

.accessory-price-tax {
  display: block;
  color: #999;
  font-size: 12px;
}

.accessory-cart {
  display: flex;
  align-items: center;
  flex: 0 0 44px;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #4caf50;
  color: #fff;
}

.accessory-cart:hover,
.accessory-cart:focus {
  background: #43a047;
  color: #fff;
  text-decoration: none;
}

.accessory-title {
  margin-bottom: 20px;
}

.accessory-product {
  color: #999;
  font-size: 20px;
}

.accessory-tabs {
  border: 0;
  margin-bottom: 20px;
}

.accessory-tabs > li {
  float: none;
  display: inline-block;
  margin: 0 8px 8px 0;
}

.accessory-tabs > li > a {
  margin: 0;
  padding: 8px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  color: #333;
}

.accessory-tabs > li > a:hover {
  border-color: #ccc;
  background: #fff;
}

.accessory-tabs > li.active > a,
.accessory-tabs > li.active > a:hover,
.accessory-tabs > li.active > a:focus {
  border-color: #111;
  background: #111;
  color: #fff;
}

.accessory-box {
  padding: 15px 0;
  border-top: 1px solid #e5e5e5;
}

.accessory-box .accessory-head h4 {
  margin: 0;
  font-weight: bold;
}

.accessory-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.accessory-item .accessory-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.accessory-item .accessory-name {
  display: block;
  margin-bottom: 6px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accessory-slider {
  position: relative;
}

.accessory-slider .swiper-container {
  padding: 0 2px;
}

.accessory-slider .accessory-item {
  height: 100%;
  margin-bottom: 0;
}

.accessory-slider .swiper-slide {
  height: auto;
}

.accessory-nav {
  display: flex;
  margin-left: auto;
  margin-right: 10px;
}

.accessory-prev,
.accessory-next {
  width: 28px;
  height: 28px;
  margin-left: 6px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  color: #333;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
}

.accessory-prev:hover,
.accessory-next:hover {
  border-color: #ccc;
}

.accessory-prev.swiper-button-disabled,
.accessory-next.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}

.accessory-slider .swiper-slide {
  width: 280px;
  max-width: 100%;
}

.accessory-slider .accessory-item {
  align-items: flex-start;
}

.accessory-slider .accessory-image {
  flex: 0 0 56px;
  margin-right: 10px;
}

.accessory-slider .accessory-image img {
  width: 56px;
  height: 56px;
}

.accessory-slider .accessory-name {
  margin-bottom: 10px;
  font-size: 13px;
}

.accessory-slider .accessory-price-new {
  font-size: 15px;
}

.accessory-slider .accessory-price-old {
  font-size: 12px;
}

.accessory-slider .accessory-cart {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.accessory-box .accessory-all {
  padding: 6px 12px;
  font-size: 13px;
  white-space: nowrap;
}


.accessory-loading {
  width: 100%;
  padding: 30px 0;
  color: #999;
  font-size: 22px;
  text-align: center;
}

.accessory-option-head {
  display: flex;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.accessory-option-image {
  flex: 0 0 100px;
  margin-right: 15px;
}

.accessory-option-name {
  color: #333;
  font-weight: bold;
}

.accessory-option-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
