@charset "utf-8";

/* promote/dgonggu/index.php - 독판주보 공동구매 모바일 페이지 */
.p-dgonggu {
  --dg-ink: #172018;
  --dg-sub: #687268;
  --dg-line: #e5eadf;
  --dg-soft: #f6f8f2;
  --dg-cream: #fff8eb;
  --dg-green: #245d3a;
  --dg-green-2: #317247;
  --dg-gold: #c59137;
  --dg-shadow: 0 16px 40px rgba(33, 61, 38, .11);
  background: #f6f6f6;
  color: var(--dg-ink);
}

.dg-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 40px var(--space-3) 24px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(145deg, #1f5634 0%, #102f22 58%, #0a221a 100%);
}

.dg-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .94;
}

.dg-paper {
  position: absolute;
  display: block;
  width: 154px;
  height: 218px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,246,226,.9));
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  transform-origin: center;
}

.dg-paper::before,
.dg-paper::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 8px;
  border-radius: 999px;
  background: rgba(36, 93, 58, .22);
}

.dg-paper::before { top: 34px; }
.dg-paper::after { top: 56px; width: 58%; right: auto; }

.dg-paper--a {
  right: -28px;
  top: 40px;
  transform: rotate(10deg);
}

.dg-paper--b {
  right: 76px;
  top: 112px;
  width: 118px;
  height: 174px;
  opacity: .78;
  transform: rotate(-11deg);
}

.dg-paper--c {
  left: -42px;
  bottom: 38px;
  width: 130px;
  height: 188px;
  opacity: .42;
  transform: rotate(-16deg);
}

.dg-hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 456px;
}

.dg-eyebrow,
.dg-section__kicker {
  margin: 0 0 10px;
  color: var(--dg-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.dg-hero__title {
  margin: 0;
  font-size: clamp(34px, 10.6vw, 48px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -.08em;
}

.dg-hero__desc {
  max-width: 28em;
  margin: 16px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: -.03em;
}

.dg-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.dg-hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.11);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 800;
}

.dg-hero__actions {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 9px;
  margin-top: 20px;
}

.dg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.dg-btn--primary {
  background: #fff;
  color: var(--dg-green);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.dg-btn--ghost {
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.dg-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: -26px var(--space-3) 14px;
  position: relative;
  z-index: 2;
}

.dg-quick__item {
  min-height: 82px;
  padding: 14px 8px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--dg-shadow);
  text-align: center;
}

.dg-quick__item b,
.dg-quick__item span {
  display: block;
}

.dg-quick__item b {
  font-size: 14px;
  line-height: 1.22;
  letter-spacing: -.04em;
}

.dg-quick__item span {
  margin-top: 5px;
  color: var(--dg-sub);
  font-size: 11px;
  line-height: 1.35;
}

.dg-section {
  margin-top: 10px;
  padding: 24px var(--space-3);
  background: #fff;
}

.dg-section__head {
  margin-bottom: 16px;
}

.dg-section__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.06em;
}

.dg-section__desc {
  margin: 8px 0 0;
  color: var(--dg-sub);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -.03em;
}

.dg-benefits {
  display: grid;
  gap: 10px;
}

.dg-benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  padding: 16px;
  border: 1px solid var(--dg-line);
  border-radius: 22px;
  background: var(--dg-soft);
}

.dg-benefit .material-symbols-outlined {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: #fff;
  color: var(--dg-green);
  box-shadow: 0 8px 18px rgba(35, 92, 57, .09);
}

.dg-benefit b {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.04em;
}

.dg-benefit p {
  margin: 4px 0 0;
  color: var(--dg-sub);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -.03em;
}

.dg-products {
  background: #f8f9f5;
}

.dg-product-list {
  display: grid;
  gap: 12px;
}

.dg-product {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 24px;
  padding: 13px;
  border: 1px solid var(--dg-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(27, 55, 35, .07);
}

.dg-product__media {
  position: relative;
  overflow: hidden;
  display: block;
  align-self: stretch;
  min-height: 144px;
  border-radius: 18px;
  background: #edf2e8;
  text-decoration: none;
}

.dg-product__media img {
  width: 100%;
  height: 100%;
  min-height: 144px;
  object-fit: cover;
  display: block;
}

.dg-product__badge {
  position: absolute;
  left: 8px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(36, 93, 58, .94);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.dg-product__body {
  min-width: 0;
  padding: 4px 0 2px;
}

.dg-product__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.05em;
}

.dg-product__desc {
  margin: 6px 0 0;
  color: var(--dg-sub);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: -.03em;
}

.dg-product__price {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.dg-product__price small {
  color: #8b948a;
  font-size: 11px;
  font-weight: 800;
}

.dg-product__price b {
  margin-top: 1px;
  color: var(--dg-green);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -.05em;
}

.dg-product__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  margin-top: 12px;
  border-radius: 13px;
  background: var(--dg-green);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.dg-price-table {
  overflow-x: auto;
  border: 1px solid var(--dg-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.02);
}

.dg-price-table table {
  min-width: 620px;
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dg-price-table th,
.dg-price-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--dg-line);
  text-align: right;
  white-space: nowrap;
}

.dg-price-table thead th {
  background: var(--dg-soft);
  color: #4d594e;
  font-size: 12px;
  font-weight: 900;
}

.dg-price-table th:first-child,
.dg-price-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  background: #fff;
  font-weight: 900;
  box-shadow: 1px 0 0 var(--dg-line);
}

.dg-price-table thead th:first-child {
  z-index: 2;
  background: var(--dg-soft);
}

.dg-price-table tr:last-child th,
.dg-price-table tr:last-child td {
  border-bottom: 0;
}

.dg-price__note {
  margin: 10px 2px 0;
  color: #7d867b;
  font-size: 12px;
  line-height: 1.5;
}

.dg-flow {
  background: #fff;
}

.dg-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dg-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--dg-line);
  border-radius: 20px;
  background: #fff;
}

.dg-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--dg-cream);
  color: #9b6b20;
  font-size: 13px;
  font-weight: 950;
}

.dg-step b {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.04em;
}

.dg-step p {
  margin: 4px 0 0;
  color: var(--dg-sub);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -.03em;
}

.dg-notice {
  background: #fffdf8;
}

.dg-notice__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dg-notice__list li {
  position: relative;
  padding: 12px 14px 12px 34px;
  border: 1px solid #f2e5cd;
  border-radius: 16px;
  background: #fff;
  color: #5f533f;
  font-size: 13px;
  line-height: 1.5;
}

.dg-notice__list li::before {
  content: "!";
  position: absolute;
  left: 12px;
  top: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f3d08e;
  color: #61420c;
  font-size: 11px;
  font-weight: 950;
}

.dg-contact {
  padding: 20px var(--space-3) 28px;
  background: #f6f6f6;
}

.dg-contact__body {
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 12%, rgba(197,145,55,.16), transparent 32%),
    linear-gradient(135deg, #213d2a, #15271d);
  color: #fff;
  box-shadow: var(--dg-shadow);
}

.dg-contact__body p {
  margin: 0 0 7px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
}

.dg-contact__body h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -.06em;
}

.dg-contact__links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.dg-contact__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 15px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.dg-contact__links .material-symbols-outlined {
  font-size: 20px;
}

@media (max-width: 370px) {
  .dg-hero__actions {
    grid-template-columns: 1fr;
  }

  .dg-quick {
    grid-template-columns: 1fr;
  }

  .dg-quick__item {
    min-height: 0;
    text-align: left;
  }

  .dg-product {
    grid-template-columns: 96px 1fr;
    gap: 11px;
  }

  .dg-product__media,
  .dg-product__media img {
    min-height: 132px;
  }
}

/* 2026-07 샘플보기 보강 */
.dg-hero__actions--three {
  grid-template-columns: 1fr 1fr 104px;
}

.dg-btn--light {
  background: rgba(255,255,255,.92);
  color: #1f5634;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

.dg-sample {
  background: #fff;
}

.dg-sample-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #edf2e8;
  box-shadow: var(--dg-shadow);
  text-decoration: none;
}

.dg-sample-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(to top, rgba(17, 34, 24, .72), rgba(17, 34, 24, 0));
  pointer-events: none;
}

.dg-sample-card img {
  display: block;
  width: 100%;
  height: auto;
}

.dg-sample-card__label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(20, 40, 27, .9);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.dg-price-table thead th b,
.dg-price-table thead th small {
  display: block;
}

.dg-price-table thead th small {
  margin-top: 2px;
  color: #7b8478;
  font-size: 11px;
  line-height: 1.2;
}

.p-dgonggu-sample {
  background: #f6f6f6;
}

.dg-sample-hero {
  padding: 38px var(--space-3) 24px;
  background:
    radial-gradient(circle at 86% 16%, rgba(197,145,55,.2), transparent 34%),
    linear-gradient(145deg, #213d2a 0%, #14271d 100%);
  color: #fff;
}

.dg-sample-hero h1 {
  margin: 0;
  font-size: clamp(30px, 9.4vw, 44px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -.08em;
}

.dg-sample-hero p:not(.dg-eyebrow) {
  margin: 14px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.58;
  letter-spacing: -.03em;
}

.dg-sample-hero__actions {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 9px;
  margin-top: 20px;
}

.dg-sample-page {
  margin-top: 0;
}

.dg-sample-list {
  display: grid;
  gap: 14px;
}

.dg-sample-item {
  overflow: hidden;
  border: 1px solid var(--dg-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(27, 55, 35, .08);
}

.dg-sample-item > a {
  display: block;
  background: #edf2e8;
}

.dg-sample-item img {
  display: block;
  width: 100%;
  height: auto;
}

.dg-sample-item__body {
  padding: 15px 16px 17px;
}

.dg-sample-item__body h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.34;
  font-weight: 900;
  letter-spacing: -.05em;
}

.dg-sample-item__body p {
  margin: 6px 0 0;
  color: var(--dg-sub);
  font-size: 13px;
  line-height: 1.52;
  letter-spacing: -.03em;
}

.dg-sample-guide {
  background: #fffdf8;
}

.dg-sample-checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dg-sample-checks li {
  padding: 15px;
  border: 1px solid #f2e5cd;
  border-radius: 18px;
  background: #fff;
}

.dg-sample-checks b,
.dg-sample-checks span {
  display: block;
}

.dg-sample-checks b {
  color: #6f4c18;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -.04em;
}

.dg-sample-checks span {
  margin-top: 5px;
  color: #6c6253;
  font-size: 13px;
  line-height: 1.52;
  letter-spacing: -.03em;
}

@media (max-width: 370px) {
  .dg-hero__actions--three,
  .dg-sample-hero__actions {
    grid-template-columns: 1fr;
  }
}


/* 2026-07 PC 샘플 69개 모바일 그리드 적용 */
.dg-sample-card--grid {
  min-height: 210px;
  padding: 12px;
  background:
    linear-gradient(145deg, #eef4e8, #fffaf0);
}

.dg-sample-card--grid::after {
  height: 54%;
  background: linear-gradient(to top, rgba(17, 34, 24, .78), rgba(17, 34, 24, 0));
}

.dg-sample-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dg-sample-preview__item {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 42, 30, .12);
}

.dg-sample-preview__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.dg-section__head--with-count {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dg-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--dg-soft);
  color: var(--dg-green);
  font-size: 12px;
  font-weight: 950;
}

.dg-sample-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.dg-sample-tile {
  min-width: 0;
}

.dg-sample-tile a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--dg-line);
  border-radius: 18px;
  background: #edf2e8;
  box-shadow: 0 10px 22px rgba(27, 55, 35, .07);
}

.dg-sample-tile a::after {
  content: "보기";
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-height: 26px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(17, 34, 24, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
}

.dg-sample-tile a:active::after,
.dg-sample-tile a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.dg-sample-tile img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.dg-sample-tile h3 {
  margin: 10px 4px 0;
  padding: 0 4px 14px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #303830;
  word-break: keep-all;
}


@media (min-width: 680px) {
  .dg-sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 370px) {
  .dg-sample-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dg-sample-grid {
    gap: 22px;
  }

  .dg-section__head--with-count {
    display: block;
  }

  .dg-count {
    margin-top: 10px;
  }
}


/* 2026-07 dgonggu directory 구조 + PC 모달 크게보기 */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .dg-sample-tile a::after {
    content: "크게보기";
  }

  .dg-sample-tile a:hover::after,
  .dg-sample-tile a:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
  }
}

.dg-modal-open {
  overflow: hidden;
}

.dg-sample-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dg-sample-modal.is-open {
  display: flex;
}

.dg-sample-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 12, .68);
  backdrop-filter: blur(2px);
}

.dg-sample-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1060px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.dg-sample-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 12px 14px 10px 18px;
  border-bottom: 1px solid #eef1ea;
  background: #fff;
}

.dg-sample-modal__head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.dg-sample-modal__close {
  flex: 0 0 auto;
  min-width: 58px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #172018;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.dg-sample-modal__media {
  padding: 14px;
  background: #fff;
}

.dg-sample-modal__media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 136px);
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 899px), (hover: none), (pointer: coarse) {
  .dg-sample-modal {
    display: none !important;
  }
}


/* dgonggu sample view.php - 모바일 흰 배경 보기 페이지 */
.p-dgonggu-view {
  min-height: calc(100vh - var(--header-h, 56px));
  background: #fff;
}

.dg-viewer {
  padding: 18px var(--space-3) 32px;
  background: #fff;
}

.dg-viewer__head {
  margin-bottom: 14px;
}

.dg-viewer__head h1 {
  margin: 4px 0 6px;
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1.2;
  letter-spacing: -.06em;
  color: var(--dg-ink);
}

.dg-viewer__head p {
  margin: 0;
  color: var(--dg-sub);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -.03em;
}

.dg-viewer__media {
  margin: 0;
  padding: 10px;
  border: 1px solid #edf1e9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(27, 55, 35, .08);
}

.dg-viewer__media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: #fff;
}

.dg-viewer__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.dg-viewer--empty {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 720px) {
  .dg-viewer {
    max-width: 980px;
    margin: 0 auto;
    padding-top: 28px;
  }

  .dg-viewer__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
