/*
Theme Name:   Hello Elementor Child
Theme URI:    https://elementor.com/
Description:  Hello Elementor Child Theme
Author:       Your Name
Author URI:   https://yourwebsite.com/
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

/* 在下方添加你的自定义 CSS 代码 */

.dc-footer {
  background-color: #751417;
  color: #f3f4f6;
  padding-top: 56px;
  padding-bottom: 26px;
  font-size: 13px;
}

.dc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1fr;
  gap: 32px;
  margin-bottom: 42px;
}

.dc-footer-logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dc-footer-logo-title h3 {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.dc-footer-slogan-en {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.dc-footer-sub-en {
  font-size: 11px;
  color: #fecaca;
  margin-bottom: 20px;
}

.dc-social-links {
  display: flex;
  gap: 10px;
}

.dc-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 12px;
  font-weight: bold;
}

.dc-social-btn:hover {
  background-color: #ffffff;
  color: #8f191d;
}

.dc-footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
  letter-spacing: 0.5px;
}

.dc-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background-color: #f87171;
}

.dc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dc-footer-links li {
  margin-bottom: 8px;
}

.dc-footer-links a {
  color: #e5e7eb;
  transition: color 0.2s ease;
}

.dc-footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.dc-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dc-contact-list li {
  margin-bottom: 8px;
  color: #e5e7eb;
  line-height: 1.55;
}

.dc-contact-list li strong {
  color: #ffffff;
}

.dc-qr-box {
  text-align: center;
}

.dc-qr-img {
  width: 96px;
  height: 96px;
  background-color: #ffffff;
  padding: 6px;
  border-radius: 4px;
  margin: 0 auto 8px;
}

.dc-qr-label {
  font-size: 11px;
  color: #fecaca;
  font-weight: 500;
}

.dc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #d1d5db;
}

@media screen and (max-width: 1024px) {
  .dc-footer-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media screen and (max-width: 768px) {
  .dc-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .dc-footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

  .dc-footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
  .dc-footer-col h4 {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    margin-bottom: 0;
    border-bottom: none;
  }
  .dc-footer-col h4::after {
    content: "";
    position: static;
    width: 8px;
    height: 8px;
    border-right: 2px solid #f87171;
    border-bottom: 2px solid #f87171;
    border-left: 0;
    border-top: 0;
    background: none;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
  }
  .dc-footer-col.is-open h4::after {
    transform: rotate(-135deg);
  }
  .dc-footer-col .dc-footer-links,
  .dc-footer-col .dc-contact-list {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .dc-footer-col.is-open .dc-footer-links,
  .dc-footer-col.is-open .dc-contact-list {
    max-height: 500px;
    padding: 12px 0 18px;
  }
}

@media screen and (max-width: 480px) {
  .dc-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.dc-product-grid-wrapper {
  width: 100%;
}

.dc-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.dc-product-card {
  background: #ffffff;
  border: 1px solid #e8e2d8;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.dc-product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.dc-product-thumb-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #faf8f5;
  text-decoration: none;
  aspect-ratio: 3 / 2;
  width: 100%;
}

.dc-product-thumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.dc-product-card:hover .dc-product-thumb-wrap img {
  transform: scale(1.04);
}

.dc-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #751417;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.dc-product-index {
  position: absolute;
  right: 12px;
  font-size: 28px;
  font-weight: 900;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  letter-spacing: -1px;
}

.dc-product-info {
  padding: 18px 20px 16px;
}

.dc-product-header {
  margin-bottom: 8px;
}

.dc-product-title-en {
  font-size: 14px;
  font-weight: 700;
  color: #18191c;
  line-height: 1.4;
}

.dc-product-desc-en {
  font-size: 12px;
  color: #4e5562;
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dc-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.dc-product-tag {
  font-size: 10px;
  color: #751417;
  background-color: rgba(117, 20, 23, 0.08);
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 500;
}

.dc-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0ece4;
  padding-top: 12px;
}

.dc-product-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #4e5562;
}

.dc-product-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
}

.dc-product-action {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #751417;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: gap 0.2s ease;
}

.dc-product-action:hover {
  gap: 8px;
  text-decoration: none;
  color: #751417;
}

.dc-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 12px 28px;
  background-color: #751417;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, gap 0.2s ease;
}

.dc-view-more:hover {
  background-color: #5a0f12;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

@media screen and (max-width: 1280px) {
  .dc-product-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

@media screen and (max-width: 1024px) {
  .dc-product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media screen and (max-width: 768px) {
  .dc-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media screen and (max-width: 480px) {
  .dc-product-grid { grid-template-columns: 1fr; gap: 14px; }
}