/** Shopify CDN: Minification failed

Line 545:0 Unexpected "{"
Line 545:1 Expected identifier but found "%"
Line 546:0 Unexpected "{"
Line 546:1 Expected identifier but found "%"
Line 547:0 Unexpected "{"
Line 547:1 Expected identifier but found "%"
Line 548:0 Unexpected "{"
Line 548:1 Expected identifier but found "%"
Line 550:0 Unexpected "<"
Line 555:11 Unexpected "{"
... and 59 more hidden warnings

**/
.lm-inspection-page {
  padding: 72px 0 96px;
  background: #FCF7F1;
}

.lm-inspection-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.lm-inspection-header {
  text-align: center;
  margin-bottom: 42px;
}

.lm-inspection-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.48);
}

.lm-inspection-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lm-inspection-desc {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0,0,0,.62);
}

.lm-inspection-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lm-inspection-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 44px;
  padding: 0 20px;
  text-decoration: none;
  font-size: 13px;
  transition: all .2s ease;
}

.lm-inspection-btn-primary {
  background: #1f1f1f;
  color: #fff;
  border: 1px solid #1f1f1f;
}

.lm-inspection-btn-primary:hover {
  opacity: .9;
}

.lm-inspection-btn-secondary {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(0,0,0,.18);
}

.lm-inspection-btn-secondary:hover {
  border-color: rgba(0,0,0,.45);
  background: rgba(255,255,255,.5);
}

.lm-inspection-linked-wrap,
.lm-inspection-images-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.lm-inspection-linked-wrap {
  margin-bottom: 36px;
}

.lm-inspection-section-head {
  margin-bottom: 14px;
  padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.lm-inspection-section-head span {
  display: inline-block;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}

.lm-inspection-product {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(0,0,0,.1);
  color: inherit;
  text-decoration: none;
  background: rgba(255,255,255,.35);
}

.lm-inspection-product-img {
  width: 78px;
  height: 94px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #f7f1ea;
}

.lm-inspection-product-info {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
}

.lm-inspection-product-label {
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(0,0,0,.45);
}

.lm-inspection-product-info strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.lm-inspection-product-price {
  font-size: 13px;
}

.lm-inspection-product-cta {
  font-size: 13px;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
}

.lm-inspection-images {
  display: grid;
  gap: 22px;
}

.lm-inspection-sheet {
  padding: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
}

.lm-inspection-sheet-img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

@media screen and (max-width: 749px) {
  .lm-inspection-page {
    padding: 42px 0 64px;
  }

  .lm-inspection-inner {
    padding: 0 16px;
  }

  .lm-inspection-header {
    text-align: left;
    margin-bottom: 30px;
  }

  .lm-inspection-header h1 {
    font-size: 24px;
  }

  .lm-inspection-desc {
    margin-top: 12px;
    font-size: 13px;
  }

  .lm-inspection-actions {
    justify-content: flex-start;
  }

  .lm-inspection-btn {
    width: 100%;
    min-width: 0;
  }

  .lm-inspection-product {
    padding: 12px;
    gap: 12px;
  }

  .lm-inspection-product-img {
    width: 64px;
    height: 78px;
  }

  .lm-inspection-product-cta {
    display: none;
  }

  .lm-inspection-images {
    gap: 14px;
  }

  .lm-inspection-sheet {
    padding: 10px;
  }
}

.lm-inspection-index {
  padding: 72px 0 96px;
  background: #FCF7F1;
}

.lm-inspection-index-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.lm-inspection-index-header {
  text-align: center;
  margin-bottom: 34px;
}

.lm-inspection-index-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.48);
}

.lm-inspection-index-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lm-inspection-index-header p {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0,0,0,.62);
}

.lm-inspection-index-toolbar {
  max-width: 520px;
  margin: 0 auto 34px;
}

.lm-inspection-search {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.35);
  color: inherit;
  font-size: 14px;
  outline: none;
}

.lm-inspection-search:focus {
  border-color: rgba(0,0,0,.55);
}

.lm-inspection-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.lm-inspection-index-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lm-inspection-index-img-wrap {
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
}

.lm-inspection-index-img {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
}

.lm-inspection-index-card:hover .lm-inspection-index-img {
  transform: scale(1.025);
  opacity: .92;
}

.lm-inspection-index-info {
  padding-top: 12px;
}

.lm-inspection-index-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(0,0,0,.46);
}

.lm-inspection-index-info h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.lm-inspection-index-info p {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(0,0,0,.6);
}

.lm-inspection-index-cta {
  display: inline-block;
  margin-top: 9px;
  font-size: 12px;
  border-bottom: 1px solid currentColor;
}

.lm-inspection-empty {
  margin: 48px 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(0,0,0,.58);
}

@media screen and (max-width: 989px) {
  .lm-inspection-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 749px) {
  .lm-inspection-index {
    padding: 42px 0 64px;
  }

  .lm-inspection-index-inner {
    padding: 0 16px;
  }

  .lm-inspection-index-header {
    text-align: left;
    margin-bottom: 26px;
  }

  .lm-inspection-index-header h1 {
    font-size: 26px;
  }

  .lm-inspection-index-header p {
    margin-top: 12px;
    font-size: 13px;
  }

  .lm-inspection-index-toolbar {
    margin-bottom: 24px;
  }

  .lm-inspection-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .lm-inspection-index-info h2 {
    font-size: 13px;
  }

  .lm-inspection-index-info p {
    font-size: 12px;
  }
}

.lm-inspection-tabs {
  max-width: 760px;
  margin: 0 auto 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lm-inspection-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,.12);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  background: rgba(255,255,255,.25);
  transition: border-color .2s ease, background .2s ease;
}

.lm-inspection-tabs a:hover {
  border-color: rgba(0,0,0,.42);
}

.lm-inspection-tabs a.is-active {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #fff;
}

.lm-inspection-index-toolbar {
  max-width: 560px;
  margin: 0 auto 34px;
}

.lm-inspection-search {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.35);
  color: inherit;
  font-size: 14px;
  outline: none;
}

.lm-inspection-search:focus {
  border-color: rgba(0,0,0,.55);
}

.lm-inspection-count {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(0,0,0,.52);
}

.lm-inspection-client-pagination {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.lm-inspection-client-pagination button {
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,.14);
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}

.lm-inspection-client-pagination button:hover {
  border-color: rgba(0,0,0,.5);
}

.lm-inspection-client-pagination button.is-active {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #fff;
}

.lm-inspection-client-pagination button:disabled {
  opacity: .35;
  cursor: default;
}

.lm-inspection-server-pagination {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
}

@media screen and (max-width: 749px) {
  .lm-inspection-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-bottom: 22px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .lm-inspection-tabs::-webkit-scrollbar {
    display: none;
  }

  .lm-inspection-tabs a {
    flex: 0 0 auto;
    min-width: auto;
  }

  .lm-inspection-count {
    text-align: left;
  }
}




{% assign linked_product = metaobject.linked_product.value %}
{% assign gallery_title = metaobject.title.value %}
{% assign note = metaobject.note.value %}
{% assign gallery_index_url = '/pages/inspection-gallery-list' %}

<section class="lm-inspection-page">
  <div class="lm-inspection-inner">

    <div class="lm-inspection-header">
      <p class="lm-inspection-eyebrow">INSPECTION GALLERY</p>
      <h1>{{ gallery_title }}</h1>

      {% if note != blank %}
        <p class="lm-inspection-desc">{{ note }}</p>
      {% else %}
        <p class="lm-inspection-desc">
          출고 전 상품 상태 확인을 위해 촬영된 이미지입니다.
          촬영 환경에 따라 색감과 밝기는 실제 상품과 일부 차이가 있을 수 있습니다.
        </p>
      {% endif %}

      <div class="lm-inspection-actions">
        <a href="{{ gallery_index_url }}" class="lm-inspection-btn lm-inspection-btn-secondary">
          검수사진 갤러리로 가기
        </a>

        {% if linked_product != blank %}
          <a href="{{ linked_product.url }}" class="lm-inspection-btn lm-inspection-btn-primary">
            상품 페이지로 이동
          </a>
        {% endif %}
      </div>
    </div>

    {% if linked_product != blank %}
      <div class="lm-inspection-linked-wrap">
        <div class="lm-inspection-section-head">
          <span>연결 상품</span>
        </div>

        <a class="lm-inspection-product" href="{{ linked_product.url }}">
          {% if linked_product.featured_image %}
            {{ linked_product.featured_image
              | image_url: width: 240
              | image_tag: loading: 'lazy', class: 'lm-inspection-product-img', alt: linked_product.title
            }}
          {% endif %}

          <div class="lm-inspection-product-info">
            <span class="lm-inspection-product-label">PRODUCT</span>
            <strong>{{ linked_product.title }}</strong>
            <span class="lm-inspection-product-price">{{ linked_product.price | money }}</span>
          </div>

          <span class="lm-inspection-product-cta">바로가기</span>
        </a>
      </div>
    {% endif %}

    <div class="lm-inspection-images-wrap">
      <div class="lm-inspection-section-head">
        <span>검수 이미지</span>
      </div>

      <div class="lm-inspection-images">
        {% if metaobject.inspection_sheet_1.value != blank %}
            {% assign sheet_1 = metaobject.inspection_sheet_1.value %}
            <button
            type="button"
            class="lm-inspection-sheet lm-js-inspection-zoom"
            data-full="{{ sheet_1 | image_url: width: 2400 }}"
            data-alt="{{ gallery_title | escape }}"
            aria-label="검수 이미지 확대 보기"
            >
            {{ sheet_1
                | image_url: width: 1600
                | image_tag: loading: 'lazy', class: 'lm-inspection-sheet-img', alt: gallery_title
            }}
            <span class="lm-inspection-zoom-label">확대 보기</span>
            </button>
        {% endif %}

        {% if metaobject.inspection_sheet_2.value != blank %}
            {% assign sheet_2 = metaobject.inspection_sheet_2.value %}
            <button
            type="button"
            class="lm-inspection-sheet lm-js-inspection-zoom"
            data-full="{{ sheet_2 | image_url: width: 2400 }}"
            data-alt="{{ gallery_title | escape }}"
            aria-label="검수 이미지 확대 보기"
            >
            {{ sheet_2
                | image_url: width: 1600
                | image_tag: loading: 'lazy', class: 'lm-inspection-sheet-img', alt: gallery_title
            }}
            <span class="lm-inspection-zoom-label">확대 보기</span>
            </button>
        {% endif %}

        {% if metaobject.inspection_sheet_3.value != blank %}
            {% assign sheet_3 = metaobject.inspection_sheet_3.value %}
            <button
            type="button"
            class="lm-inspection-sheet lm-js-inspection-zoom"
            data-full="{{ sheet_3 | image_url: width: 2400 }}"
            data-alt="{{ gallery_title | escape }}"
            aria-label="검수 이미지 확대 보기"
            >
            {{ sheet_3
                | image_url: width: 1600
                | image_tag: loading: 'lazy', class: 'lm-inspection-sheet-img', alt: gallery_title
            }}
            <span class="lm-inspection-zoom-label">확대 보기</span>
            </button>
        {% endif %}
        </div>

        <div class="lm-inspection-modal" hidden>
        <div class="lm-inspection-modal-bg" data-close-modal></div>

        <div class="lm-inspection-modal-panel">
            <button type="button" class="lm-inspection-modal-close" data-close-modal>
            닫기
            </button>

            <div class="lm-inspection-modal-scroll">
            <img class="lm-inspection-modal-img" src="" alt="">
            </div>
        </div>
        </div>

        <script>
        document.addEventListener('DOMContentLoaded', function () {
            const modal = document.querySelector('.lm-inspection-modal');
            if (!modal) return;

            const modalImg = modal.querySelector('.lm-inspection-modal-img');
            const zoomButtons = document.querySelectorAll('.lm-js-inspection-zoom');
            const closeButtons = modal.querySelectorAll('[data-close-modal]');

            function openModal(src, alt) {
            modalImg.src = src;
            modalImg.alt = alt || '검수 이미지';
            modal.hidden = false;
            document.body.classList.add('lm-inspection-modal-open');
            }

            function closeModal() {
            modal.hidden = true;
            modalImg.src = '';
            document.body.classList.remove('lm-inspection-modal-open');
            }

            zoomButtons.forEach(function (button) {
            button.addEventListener('click', function () {
                openModal(button.dataset.full, button.dataset.alt);
            });
            });

            closeButtons.forEach(function (button) {
            button.addEventListener('click', closeModal);
            });

            document.addEventListener('keydown', function (event) {
            if (event.key === 'Escape' && !modal.hidden) {
                closeModal();
            }
            });
        });
        </script>
    </div>

  </div>
</section>

.lm-inspection-sheet {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.55);
  cursor: zoom-in;
  text-align: left;
}

.lm-inspection-sheet-img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.lm-inspection-zoom-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 8px 12px;
  background: rgba(31,31,31,.86);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.lm-inspection-sheet:hover .lm-inspection-zoom-label {
  opacity: 1;
  transform: translateY(0);
}

.lm-inspection-modal[hidden] {
  display: none;
}

.lm-inspection-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.lm-inspection-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.lm-inspection-modal-panel {
  position: relative;
  z-index: 1;
  width: min(94vw, 1280px);
  height: 92vh;
  margin: 4vh auto;
  background: #FCF7F1;
  display: flex;
  flex-direction: column;
}

.lm-inspection-modal-close {
  align-self: flex-end;
  margin: 14px 14px 8px;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.18);
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}

.lm-inspection-modal-close:hover {
  border-color: rgba(0,0,0,.55);
}

.lm-inspection-modal-scroll {
  flex: 1;
  overflow: auto;
  padding: 0 18px 18px;
}

.lm-inspection-modal-img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

body.lm-inspection-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 749px) {
  .lm-inspection-sheet {
    padding: 8px;
  }

  .lm-inspection-zoom-label {
    opacity: 1;
    right: 16px;
    bottom: 16px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .lm-inspection-modal-panel {
    width: 100vw;
    height: 100vh;
    margin: 0;
  }

  .lm-inspection-modal-scroll {
    padding: 0 10px 14px;
  }
}