@charset "utf-8";

/* Inner list pages — sidebar + product/content grid */
:root {
  --list-accent: #EE4547;
  --list-accent-dark: #d63a3c;
  --list-dark: #1a1a1a;
  --list-muted: #666;
  --list-border: rgba(0, 0, 0, 0.06);
  --list-bg: #f4f6f9;
  --list-card-shadow: 0 4px 20px rgba(15, 20, 25, 0.06);
  --list-card-hover: 0 20px 48px rgba(15, 20, 25, 0.12);
}

.list-page {
  padding: 36px 15px 56px;
  background: var(--list-bg);
}

/* ── Sidebar — keep Bootstrap float layout ── */
.sidebar-panel {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--list-border);
  box-shadow: var(--list-card-shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-panel:last-child {
  margin-bottom: 0;
}

.sidebar-tit {
  margin: 0;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--list-dark);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid var(--list-border);
  position: relative;
}

.sidebar-tit::after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: -1px;
  width: 36px;
  height: 3px;
  background: var(--list-accent);
  border-radius: 2px;
}

.sidebar-tit span {
  display: block;
}

/* Category nav */
.list-sidebar .left_nav {
  padding-top: 0;
  clear: none;
}

.list-sidebar .left_nav_ul {
  margin: 0;
  padding: 8px 0 12px;
}

.list-sidebar .left_nav_ul > li {
  border-bottom: 1px solid #f0f2f5;
  background: none;
  padding: 0;
  margin: 0;
}

.list-sidebar .left_nav_ul > li:last-child {
  border-bottom: none;
}

.list-sidebar .left_nav_ul > li > a.biglink {
  display: block;
  padding: 12px 44px 12px 20px;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  position: relative;
}

.list-sidebar .left_nav_ul > li > a.biglink::before {
  content: '\f054';
  font-family: FontAwesome;
  font-size: 10px;
  color: #bbb;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.2s ease, left 0.2s ease;
}

.list-sidebar .left_nav_ul > li > a.biglink:hover,
.list-sidebar .left_nav_ul li a.left_active {
  color: var(--list-accent) !important;
  background: rgba(238, 69, 71, 0.04);
  padding-left: 24px;
}

.list-sidebar .left_nav_ul > li > a.biglink:hover::before,
.list-sidebar .left_nav_ul li a.left_active::before {
  color: var(--list-accent);
  left: 12px;
}

.list-sidebar .menu_head {
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  line-height: 26px;
  font-size: 16px;
  font-weight: 600;
  color: #888;
  background: #f4f6f9;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.list-sidebar .menu_head:hover {
  color: var(--list-accent);
  background: rgba(238, 69, 71, 0.1);
}

.list-sidebar ul.left_snav_ul {
  padding: 4px 0 10px 0;
  margin: 0;
  background: #fafbfc;
  border-top: 1px dashed #e8eaed;
}

.list-sidebar ul.left_snav_ul > li {
  background: none;
  padding: 0;
  margin: 0;
}

.list-sidebar ul.left_snav_ul > li > a {
  display: block;
  padding: 9px 16px 9px 32px;
  color: #777;
  font-size: 13px;
  border-left: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.list-sidebar ul.left_snav_ul > li > a:hover {
  color: var(--list-accent);
  border-left-color: var(--list-accent);
  background: rgba(238, 69, 71, 0.04);
}

/* Latest news sidebar */
.list-sidebar .left_news {
  padding: 0;
  clear: none;
}

.list-sidebar .left_news .index_news,
.list-sidebar .index_news {
  list-style: none;
  margin: 0;
  padding: 8px 16px 14px;
}

.list-sidebar .index_news li,
.list-sidebar .left_news li {
  background: none;
  border-bottom: 1px dashed #eceef1;
  padding: 12px 0 12px 14px;
  line-height: 1.5;
  position: relative;
}

.list-sidebar .index_news li::before,
.list-sidebar .left_news li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--list-accent);
  opacity: 0.55;
}

.list-sidebar .index_news li:last-child,
.list-sidebar .left_news li:last-child {
  border-bottom: none;
}

.list-sidebar .index_news li a,
.list-sidebar .left_news li a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.list-sidebar .index_news li a:hover,
.list-sidebar .left_news li a:hover {
  color: var(--list-accent);
}

/* Contact sidebar */
.list-sidebar .index_contact {
  margin: 0;
  padding: 14px 20px 18px;
}

.list-sidebar .index_contact p {
  margin: 0 0 10px;
  padding: 0 !important;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.list-sidebar .index_contact p:last-child {
  margin-bottom: 0;
}

.list-sidebar .index_contact a,
.list-sidebar .index_contact a:hover,
.list-sidebar .index_contact a:focus,
.list-sidebar .index_contact a:visited {
  color: #555 !important;
  text-decoration: none !important;
}

/* ── Main content area ── */
.list-page-main {
  clear: both;
  padding: 0 !important;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--list-border);
  box-shadow: var(--list-card-shadow);
  overflow: hidden;
}

.list-page-main .page-tit {
  margin: 0;
  padding: 22px 28px 20px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--list-dark);
  background: none !important;
  border-bottom: 1px solid var(--list-border);
  position: relative;
}

.list-page-main .page-tit::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--list-accent);
  margin-top: 12px;
  border-radius: 2px;
}

/* Product grid — float cols with visible gaps between cards */
.list-page-main .product_list.list-product-grid {
  clear: both;
  padding: 24px 20px 8px !important;
  margin: 0 !important;
  background: #f6f8fa;
}

.list-page-main .product_list.list-product-grid > .product_img {
  float: left;
  min-height: 0 !important;
  margin-bottom: 20px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* Desktop: 3 columns, 24px gap */
@media screen and (min-width: 992px) {
  .list-page-main .product_list.list-product-grid > .product_img {
    width: calc((100% - 48px) / 3) !important;
    margin-right: 24px !important;
    margin-bottom: 24px !important;
  }

  .list-page-main .product_list.list-product-grid > .product_img:nth-child(3n) {
    margin-right: 0 !important;
  }
}

/* Tablet: 3 columns */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .list-page-main .product_list.list-product-grid > .product_img {
    width: calc((100% - 48px) / 3) !important;
    margin-right: 24px !important;
    margin-bottom: 24px !important;
  }

  .list-page-main .product_list.list-product-grid > .product_img:nth-child(3n) {
    margin-right: 0 !important;
  }
}

/* Small tablet (col-mm-6): 2 columns */
@media screen and (min-width: 480px) and (max-width: 767px) {
  .list-page-main .product_list.list-product-grid > .product_img {
    width: calc((100% - 16px) / 2) !important;
    margin-right: 16px !important;
    margin-bottom: 16px !important;
  }

  .list-page-main .product_list.list-product-grid > .product_img:nth-child(2n) {
    margin-right: 0 !important;
  }
}

/* Mobile: 1 column */
@media screen and (max-width: 479px) {
  .list-page-main .product_list.list-product-grid > .product_img {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 16px !important;
  }
}

.list-page-main .product_list .product_img {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--list-border);
  box-shadow: var(--list-card-shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.list-page-main .product_list .product_img:hover {
  transform: translateY(-6px);
  box-shadow: var(--list-card-hover);
  border-color: rgba(238, 69, 71, 0.18);
}

.list-page-main .product_list .product_img > a {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eef1f5;
}

.list-page-main .product_list .product_img img.img-thumbnail {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  display: block;
  object-fit: cover;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.list-page-main .product_list .product_img:hover img.img-thumbnail {
  transform: scale(1.06);
}

.list-page-main .product_list .pd_show {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(238, 69, 71, 0.82) !important;
  opacity: 0 !important;
  border-radius: 0;
  transition: opacity 0.35s ease;
}

.list-page-main .product_list .product_img:hover .pd_show {
  opacity: 1 !important;
  display: flex !important;
}

.list-page-main .product_list .pd_shpwimg {
  padding-top: 0 !important;
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.list-page-main .product_list .product_title {
  height: auto !important;
  min-height: 52px;
  margin: 0;
  padding: 14px 14px 16px;
  text-align: left !important;
  line-height: 1.45 !important;
  background: #fff;
}

.list-page-main .product_list .product_title a {
  color: #2a2a2a !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.list-page-main .product_list .product_img:hover .product_title a {
  color: var(--list-accent) !important;
}

/* Pagination */
.list-page-main .page {
  margin: 0;
  padding: 8px 28px 28px;
  text-align: center;
}

.list-page-main .page a,
.list-page-main .page .current {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px !important;
  margin: 3px !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: #555 !important;
  background: #f4f6f9;
  border: 1px solid #e4e7eb !important;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.list-page-main .page a:hover,
.list-page-main .page a:focus {
  color: #fff !important;
  background: var(--list-dark) !important;
  border-color: var(--list-dark) !important;
}

.list-page-main .page .current {
  color: #fff !important;
  background: var(--list-accent) !important;
  border-color: var(--list-accent) !important;
}

/* News list in main area */
.list-page-main .list_news {
  padding: 8px 28px 12px;
}

.list-page-main .list_news li {
  padding: 16px 0;
  border-bottom: 1px dashed #e8eaed;
}

.list-page-main .list_news li a {
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.list-page-main .list_news li a:hover {
  color: var(--list-accent);
  text-decoration: none;
}

.list-page-main .list_news li .news_time {
  float: none;
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

/* Article / page content */
.list-page-main .contents,
.list-page-main .right_contents,
.list-page-main .product_con {
  clear: both;
  padding: 24px 28px;
  line-height: 1.75;
  font-size: 15px;
  color: #444;
  border-top: 1px solid var(--list-border);
}

.list-page-main .right_contents .section-tit,
.list-page-main .contents .section-tit {
  margin: 32px 0 16px;
  padding: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
  color: var(--list-dark);
  background: none !important;
  border-bottom: 1px solid var(--list-border);
}

.list-page-main .contents_title {
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--list-dark);
  border: none;
}

.list-page-main .contents img,
.list-page-main .right_contents img,
.list-page-main .product_con img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.list-page-main .page-tit a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.list-page-main .page-tit a:hover {
  color: var(--list-accent);
}

/* Download button */
.list-page-main .download_btn {
  text-align: left;
  margin: 0 0 20px;
}

.list-page-main .download_btn .btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--list-accent) !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(238, 69, 71, 0.3);
  transition: background 0.25s ease, transform 0.2s ease;
}

.list-page-main .download_btn .btn-danger:hover {
  background: var(--list-accent-dark) !important;
  transform: translateY(-1px);
}

/* Prev / Next navigation */
.list-page-main .point {
  clear: both;
  margin: 0;
  padding: 0 28px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.list-page-main .point span.to_prev,
.list-page-main .point span.to_next {
  flex: 1;
  min-width: 200px;
  text-align: left !important;
  padding: 14px 18px;
  background: #f6f8fa;
  border: 1px solid var(--list-border);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.list-page-main .point span.to_next {
  text-align: right !important;
}

.list-page-main .point span.to_prev a,
.list-page-main .point span.to_next a {
  color: #444;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.list-page-main .point span.to_prev a:hover,
.list-page-main .point span.to_next a:hover {
  color: var(--list-accent);
}

/* Related section */
.list-page-main .list_related {
  padding: 0 28px 28px;
  border-top: 1px solid var(--list-border);
}

.list-page-main .related-tit {
  margin: 24px 0 0;
  padding: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--list-dark);
  background: none !important;
}

.list-page-main .related-tit::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--list-accent);
  margin-top: 12px;
  border-radius: 2px;
}

.list-page-main .related_news {
  padding: 0 !important;
}

/* Tags cloud */
.list-page-main .tagList.tags,
.list-page-main .tags {
  padding: 0;
}

.list-page-main .tagList .tagLi,
.list-page-main .tags a {
  margin: 4px 8px 4px 0;
  padding: 6px 14px;
  line-height: 1.5;
  font-size: 13px;
  color: #666;
  background: #f4f6f9;
  border: 1px solid #e8eaed;
  border-radius: 20px;
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.list-page-main .tagList a:hover,
.list-page-main .tagList a:focus,
.list-page-main .tags a:hover {
  color: var(--list-accent) !important;
  background: rgba(238, 69, 71, 0.06);
  border-color: rgba(238, 69, 71, 0.25);
}

/* Sitemap */
.list-page-main .ul_sitemap {
  margin: 0;
  padding: 20px 28px 28px;
  list-style: none;
}

.list-page-main .ul_sitemap li {
  padding: 10px 0;
  line-height: 1.6;
  border-bottom: 1px dashed #eceef1;
  clear: both;
}

.list-page-main .ul_sitemap li:last-child {
  border-bottom: none;
}

.list-page-main .ul_sitemap li a {
  color: #555;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.list-page-main .ul_sitemap li a:hover {
  color: var(--list-accent);
}

/* Feedback / inquiry forms */
.list-page-main .feedback {
  margin: 0;
  padding: 24px 28px 28px;
  border-top: 1px solid var(--list-border);
}

.list-page-main .right_contents .feedback {
  padding: 24px 0 0;
  border-top: 1px solid var(--list-border);
  margin-top: 24px;
}

.list-page-main .feedback .form-group {
  margin-bottom: 16px;
}

.list-page-main .feedback label {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.list-page-main .feedback .form-control {
  border-radius: 8px;
  border: 1px solid #e0e3e8;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.list-page-main .feedback .form-control:focus {
  border-color: var(--list-accent);
  box-shadow: 0 0 0 3px rgba(238, 69, 71, 0.12);
}

.list-page-main .feedback .btn-primary,
.list-page-main .feedback .page-btn {
  padding: 11px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--list-accent) !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(238, 69, 71, 0.3);
}

.list-page-main .feedback .btn-primary:hover,
.list-page-main .feedback .page-btn:hover {
  background: var(--list-accent-dark) !important;
}

/* Photo detail gallery */
.list-page-main.inner-photo .showpic_box {
  background: #f6f8fa;
  border-radius: 12px;
  border: 1px solid var(--list-border);
  padding: 20px;
  margin: 0 28px 24px;
}

.list-page-main.inner-photo .showpic_flash {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-page-main.inner-photo .showpic_box .example-image {
  max-width: 100%;
  max-height: 480px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
}

.list-page-main.inner-photo #pic-page {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.list-page-main.inner-photo #pic-page a {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.list-page-main.inner-photo #pic-page a img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
  border: none;
  padding: 0;
}

.list-page-main.inner-photo #pic-page a:hover,
.list-page-main.inner-photo #pic-page a.active {
  border-color: var(--list-accent);
}

.list-page-main .related_list.list-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 20px 16px 24px !important;
  margin: 0 !important;
  background: #f6f8fa;
  border-radius: 12px;
}

.list-page-main .related_list.list-product-grid > .product_img {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--list-border);
  box-shadow: var(--list-card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-page-main .related_list .product_img > a {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eef1f5;
}

.list-page-main .related_list .opacity_img,
.list-page-main .related_list .product_img img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  transition: transform 0.45s ease;
}

.list-page-main .related_list .product_img:hover {
  transform: translateY(-4px);
  box-shadow: var(--list-card-hover);
}

.list-page-main .related_list .product_img:hover img,
.list-page-main .related_list .product_img:hover .opacity_img {
  transform: scale(1.05);
}

.list-page-main .related_list .product_title {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  height: auto !important;
  min-height: 64px;
  padding: 12px 12px 14px;
  text-align: left !important;
  line-height: 1.45 !important;
  box-sizing: border-box;
}

.list-page-main .related_list .product_title a {
  color: #2a2a2a !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

.list-page-main .related_list .product_img:hover .product_title a {
  color: var(--list-accent) !important;
}

@media screen and (min-width: 768px) {
  .list-page-main .related_list.list-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .list-page-main .related_list.list-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media screen and (max-width: 479px) {
  .list-page-main .related_list.list-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Sticky sidebar on desktop — disabled to preserve original float layout */

@media screen and (max-width: 991px) {
  .list-page {
    padding: 24px 15px 40px;
  }

  .list-page-main .product_list.list-product-grid {
    padding: 20px 16px 4px !important;
  }
}

@media screen and (max-width: 767px) {
  .list-page .list-sidebar {
    display: none !important;
  }

  .list-page .row > .col-xs-12.col-sm-8,
  .list-page .row > .col-xs-12.col-sm-8.col-md-9 {
    width: 100% !important;
    float: none !important;
  }

  .list-page-main .page-tit {
    font-size: 20px;
    padding: 18px 20px 16px;
  }

  .list-page-main .product_list.list-product-grid {
    padding: 16px 12px 0 !important;
  }

  .list-page-main .product_list .product_title {
    min-height: 44px;
    padding: 10px 10px 12px;
  }

  .list-page-main .contents,
  .list-page-main .right_contents,
  .list-page-main .product_con,
  .list-page-main .point,
  .list-page-main .list_related,
  .list-page-main .ul_sitemap,
  .list-page-main .feedback {
    padding-left: 16px;
    padding-right: 16px;
  }

  .list-page-main .point span.to_prev,
  .list-page-main .point span.to_next {
    min-width: 100%;
  }
}
