*{ box-sizing: border-box; }
body{margin: 0;}
#iqafmd{display:contents;}
#irlc35{display:contents;}
/* ===== 本畫布自訂 CSS（畫布層） ===== */
/* css/products.css */
.designer-tpl-product-list .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--Space2, max(2vw, 1.5rem));
}
.designer-tpl-product-list .product-card-link {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  align-items: center;
  gap: var(--Space2, max(2vw, 1.5rem));
  height: 100%;
  padding: 1rem;
  border: var(--BorderSecondary, 1px solid #e1ddd5);
  border-radius: var(--BorderRadius, 1em);
  background-color: #fff;
  transition: var(--TransitionDefault, 0.3s ease);
}
@media (hover: hover) and (pointer: fine) {
.designer-tpl-product-list .product-card-link:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
  }
.designer-tpl-product-list .product-card-link:hover .product-card-figure img {
    transform: scale(1.05);
  }
}
.designer-tpl-product-list .product-card-figure {
  overflow: hidden;
  aspect-ratio: 1/1;
  border-radius: calc(var(--BorderRadius, 1em) * 0.75);
  background-color: var(--BgColorCream, #f4f1ea);
}
.designer-tpl-product-list .product-card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.designer-tpl-product-list .product-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.designer-tpl-product-list .product-card-title {
  font-family: var(--FontFamilyTw, "Noto Serif TC", serif);
  font-size: var(--FontSizeItemTitle, clamp(1.125rem, 1.0181rem + 0.2231vw, 1.375rem));
  font-weight: 500;
  color: var(--TextColorPrimary, #231815);
}
.designer-tpl-product-list .product-card-summary {
  margin-top: 1rem;
  display: -webkit-box;
  overflow: hidden;
  font-size: var(--FontSizeBody, clamp(0.9375rem, 0.9108rem + 0.0558vw, 1rem));
  color: var(--TextColorSecondary, #595757);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.designer-tpl-product-list .product-card-price {
  margin-top: 0.25rem;
  font-family: var(--FontFamilyTw, "Noto Serif TC", serif);
  font-size: var(--FontSizeBody, clamp(0.9375rem, 0.9108rem + 0.0558vw, 1rem));
  color: var(--TextColorSecondary, #595757);
}
.designer-tpl-product-detail .pd-price {
  font-family: var(--FontFamilyTw, "Noto Serif TC", serif);
  margin-top: 1rem;
  font-size: var(--FontSizeItemTitle, clamp(1.125rem, 1.0181rem + 0.2231vw, 1.375rem));
  font-weight: 500;
  color: var(--TextColorPrimary, #231815);
}
.designer-tpl-product-detail .pd-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--Space3, max(3vw, 2rem));
  align-items: start;
}
.designer-tpl-product-detail .pd-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--BorderRadius, 1em);
  background-color: var(--BgColorCream, #f4f1ea);
}
.designer-tpl-product-detail .pd-gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.designer-tpl-product-detail .pd-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 48px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
  transform: translateY(-50%);
  transition: var(--TransitionDefault, 0.3s ease);
}
.designer-tpl-product-detail .pd-gallery-nav::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
@media (hover: hover) and (pointer: fine) {
.designer-tpl-product-detail .pd-gallery-nav:hover {
    background-color: rgba(0, 0, 0, 0.5);
  }
}
.designer-tpl-product-detail .pd-gallery-nav:is(:active, :focus-visible) {
  background-color: rgba(0, 0, 0, 0.5);
}
.designer-tpl-product-detail .pd-gallery-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
.designer-tpl-product-detail .pd-gallery-prev {
  left: 0;
}
.designer-tpl-product-detail .pd-gallery-prev::before {
  transform: translateX(2px) rotate(-135deg);
}
.designer-tpl-product-detail .pd-gallery-next {
  right: 0;
}
.designer-tpl-product-detail .pd-gallery-next::before {
  transform: translateX(-2px) rotate(45deg);
}
.designer-tpl-product-detail .pd-gallery-thumbs {
  margin-top: 25px;
}
.designer-tpl-product-detail .pd-thumb {
  width: 80px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: calc(var(--BorderRadius, 1em) * 0.5);
  cursor: pointer;
  transition: var(--TransitionDefault, 0.3s ease);
}
.designer-tpl-product-detail .pd-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.designer-tpl-product-detail .pd-thumb.swiper-slide-thumb-active {
  border-color: #888;
}
.designer-tpl-product-detail .pd-gallery.is-single :is(.pd-gallery-nav, .pd-gallery-thumbs) {
  display: none;
}
.designer-tpl-product-detail .pd-info {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}
.designer-tpl-product-detail .pd-title {
  font-family: var(--FontFamilyTw, "Noto Serif TC", serif);
  font-size: clamp(1.625rem, 1.3rem + 0.9vw, 2.25rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--TextColorPrimary, #231815);
}
.designer-tpl-product-detail .pd-subtitle {
  margin-top: 0.5rem;
  font-size: var(--FontSizeItemTitle, clamp(1.125rem, 1.0181rem + 0.2231vw, 1.375rem));
  color: var(--TextColorSecondary, #595757);
}
.designer-tpl-product-detail .pd-subtitle:empty {
  display: none;
}
.designer-tpl-product-detail .pd-summary {
  margin-top: var(--Space2, max(2vw, 1.5rem));
  padding: var(--Space2, max(2vw, 1.5rem)) 0;
  border-top: var(--BorderSecondary, 1px solid #e1ddd5);
  border-bottom: var(--BorderSecondary, 1px solid #e1ddd5);
  font-size: var(--FontSizeBody, clamp(0.9375rem, 0.9108rem + 0.0558vw, 1rem));
  white-space: pre-line;
  color: var(--TextColorSecondary, #595757);
}
.designer-tpl-product-detail .pd-summary.is-formatted {
  white-space: normal;
}
.designer-tpl-product-detail .pd-summary ul {
  margin-top: 1rem;
  padding-left: 1.25em;
  list-style: disc;
}
.designer-tpl-product-detail .pd-summary li + li {
  margin-top: 0.5rem;
}
.designer-tpl-product-detail .pd-summary li::marker {
  color: var(--ColorPrimary, #c9bc9c);
}
.designer-tpl-product-detail .pd-summary strong {
  font-weight: 600;
  color: var(--TextColorPrimary, #231815);
}
.designer-tpl-product-detail .pd-buy {
  display: flex;
  margin-top: var(--Space2, max(2vw, 1.5rem));
}
.designer-tpl-product-detail .pd-inquiry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 56px;
  padding: 0 2rem;
  border: 1px solid var(--BtnPrimaryBg, #c9bc9c);
  border-radius: var(--BtnBorderRadius, 99em);
  background-color: var(--BtnPrimaryBg, #c9bc9c);
  font-size: var(--BtnFontSize, 17px);
  color: #fff;
  transition: var(--TransitionDefault, 0.3s ease);
}
@media (hover: hover) and (pointer: fine) {
.designer-tpl-product-detail .pd-inquiry-btn:hover {
    border-color: #555;
    background-color: var(--BtnPrimaryHoverBg, #595757);
  }
}
.designer-tpl-product-detail .pd-inquiry-btn:is(:active, :focus-visible) {
  border-color: #555;
  background-color: var(--BtnPrimaryHoverBg, #595757);
}
.pd-body {
  margin-top: var(--Space4, max(4vw, 2.5rem));
}
.pd-body:empty {
  display: none;
}
.pd-body p:has(> img:only-child) {
  max-width: 750px;
  margin-inline: auto;
}
.pd-body p:has(> img:only-child) img {
  width: 100%;
  border-radius: 0;
}
.pd-body p:has(> img:only-child) + p:has(> img:only-child) {
  margin-top: 0;
}
.pd-body li:has(> img) {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 1.5rem;
  border: var(--BorderSecondary, 1px solid #e1ddd5);
  border-radius: var(--BorderRadius, 1em);
  list-style: none;
}
.pd-body li:has(> img) img {
  grid-row: 1/3;
  width: 88px;
  height: 88px;
  margin: 0;
  border-radius: 50%;
}
.pd-body li:has(> img) strong {
  display: block;
  font-size: var(--FontSizeItemTitle, clamp(1.125rem, 1.0181rem + 0.2231vw, 1.375rem));
}
.pd-body ul:has(> li > img) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1rem;
  padding-left: 0;
}
.pd-body ul:has(> li > img) li + li {
  margin-top: 0;
}
.pd-body iframe {
  width: 360px;
  max-width: 100%;
  aspect-ratio: 360/640;
  height: auto;
  border-radius: var(--BorderRadius, 1em);
}
.pd-tabs {
  margin-top: var(--Space3, max(3vw, 2rem));
}
.pd-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pd-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 30px;
  border-radius: 0.5em 0.5em 0 0;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  white-space: nowrap;
  color: var(--TextColorSecondary, #595757);
  background-color: var(--BgColorSand, #eee9e1);
  transition: var(--TransitionDefault, 0.3s ease);
}
.pd-tab::before {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 6px;
  margin-right: 0;
  border-radius: 50%;
  background-color: var(--ColorAccent, #b29b72);
  transition: var(--TransitionDefault, 0.3s ease);
}
@media (hover: hover) and (pointer: fine) {
.pd-tab:hover {
    color: var(--ColorAccent, #b29b72);
  }
}
.pd-tab:is(:active, :focus-visible) {
  color: var(--ColorAccent, #b29b72);
}
.pd-tab[aria-selected=true], .pd-tab.is-active {
  font-weight: 500;
  color: var(--TextColorPrimary, #231815);
  background-color: #faf8f4;
}
.pd-tab[aria-selected=true]::before, .pd-tab.is-active::before {
  width: 6px;
  margin-right: 8px;
}
.pd-panel {
  padding: var(--Space3, max(3vw, 2rem));
  border-radius: 0 var(--BorderRadius, 1em) var(--BorderRadius, 1em);
  background-color: #faf8f4;
}
.pd-panel table,
.pd-panel li:has(> img) {
  background-color: #fff;
}
.pd-panel > * + * {
  margin-top: 1.25rem;
}
.pd-panel > :first-child + * {
  margin-top: 0;
}
.pd-panel > table + table:not(:has(thead)) {
  margin-top: 0;
}
.pd-panel > * + h3 {
  margin-top: var(--Space3, max(3vw, 2rem));
}
.pd-panel.is-image-set p:has(> img:only-child) {
  max-width: 900px;
  border-inline: var(--BorderSecondary, 1px solid #e1ddd5);
}
.pd-panel.is-image-set p:has(> img:only-child):nth-child(2) {
  border-top: var(--BorderSecondary, 1px solid #e1ddd5);
}
.pd-panel.is-image-set p:has(> img:only-child):last-child {
  border-bottom: var(--BorderSecondary, 1px solid #e1ddd5);
}
.designer-tpl-product-detail .pd-back {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--Space4, max(4vw, 2.5rem));
}
@supports not selector(:has(*)) {
.pd-body li::after {
    content: "";
    display: block;
    clear: both;
  }
.pd-body li > img {
    float: left;
    width: 88px;
    height: 88px;
    margin: 0 1.25rem 1rem 0;
    border-radius: 50%;
  }
.pd-body li > strong {
    display: block;
  }
}
@media (max-width: 991px) {
.designer-tpl-product-detail .pd-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.designer-tpl-product-detail .pd-buy {
    justify-content: flex-end;
  }
.designer-tpl-product-detail .pd-inquiry-btn {
    max-width: 250px;
  }
.pd-panel > * + * {
    margin-top: 10px;
  }
}
@media (max-width: 767px) {
.designer-tpl-product-list .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.pd-body ul:has(> li > img) {
    grid-template-columns: minmax(0, 1fr);
  }
.pd-tabs.tab-accordion .pd-tablist {
    display: none;
  }
.pd-panel {
    padding: var(--Space2, max(2vw, 1.5rem)) 1.25rem;
    border-radius: 0;
  }
}
@media (max-width: 650px) {
.designer-tpl-product-detail .pd-inquiry-btn {
    max-width: none;
  }
}
@media (max-width: 480px) {
.designer-tpl-product-list .product-card-link {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 0.75rem;
  }
.pd-body li:has(> img) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: 0.75rem;
  }
.pd-body li:has(> img) img {
    grid-row: auto;
    width: 64px;
    height: 64px;
  }
@supports not selector(:has(*)) {
.pd-body li > img {
      float: none;
      display: block;
      width: 64px;
      height: 64px;
      margin: 0 0 0.75rem;
    }
}
}
@media (prefers-reduced-motion: reduce) {
.designer-tpl-product-list .product-card-link,
  .designer-tpl-product-list .product-card-figure img {
    transition: none;
  }
}
.designer-tpl-product-detail .pd-gallery-main:not(.swiper-initialized) .swiper-slide:not(:first-child),
.designer-tpl-product-detail .pd-gallery-thumbs:not(.swiper-initialized) {
  display: none;
}
[data-mudobox-product-page="full"] .inner-layout > .inner-content:only-child { grid-column: 1 / -1; }