@charset "utf-8";
/* ===== sub03 (d_아사커피랩_매장안내) page styles ===== */
/* 공통 셸(.sub-hero · .tab-nav) 정본 = css/sub-common.css — 여기는 d 고유 차이만 override */


/* ======== sub-hero start ======== */
.sub-hero {
  .sub-hero__media {
    object-fit: cover;
  }

  .sub-hero_iner {
    padding: calc(var(--px)*153) 0 calc(var(--px)*161);
  }

  .sub-hero__rule {
    margin-top: calc(var(--px)*8);
  }
}

/* INK:AUTO 가 덮을 수 있게 중첩 밖 = 특이도 (0,1,0) — 이 값이 잉크 상쇄의 base 다 */
.sub-hero__title {
  margin-top: calc(var(--px)*24);
}

/* IMG:AUTO sub-hero */
/* layout-spec.json 파생 (tools/img-size-to-css.js · unit=--px) — 재생성 대상, 직접 수정 금지 */
/* 예외: 값을 고치고 뒤에 OVR 주석을 붙이면 재생성이 보존한다 */
.sub-hero__grain {
    width: calc(var(--px)*1922);
    aspect-ratio: 1922 / 533;
}
/* /IMG:AUTO sub-hero END */

/* FONT:AUTO sub-hero */
/* spec.json 파생 (tools/spec-font-to-css.js · unit=--px) — 재생성 대상, 직접 수정 금지 */
/* 예외: line-height · letter-spacing 는 값을 고치고 뒤에 OVR 주석을 붙이면 재생성이 보존한다 */
.sub-hero_iner {
    text-align: center;
}

.sub-hero__label {
    font-family: var(--font-pretendard);
    font-size: var(--bodyS);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.2;  /* OVR */
    color: #ffffff;
}

.sub-hero__title {
    font-family: var(--font-poppins);
    font-size: var(--displayL);
    font-weight: 800;
    letter-spacing: 0em;
    line-height: 1.11;
    color: #ebcfa9;
}
/* /FONT:AUTO sub-hero END */

/* INK:AUTO sub-hero */
.sub-hero__title { margin-top: calc(var(--px) * 5.78); margin-bottom: calc(var(--px) * -18.21); } /* base 24,0 */
.sub-hero__label { margin-top: calc(var(--px) * -2.1); margin-bottom: calc(var(--px) * -2.09); } /* base 0,0 */
/* /INK:AUTO sub-hero END */

/* ======== sub-hero end ======== */

/* ======== dcon01 start ======== */
.dcon01 {
  background-color: #eeded1;

  .dcon01__panel {
    width: calc(var(--px)*536);
    background-color: #ffffff;
    border: 1px solid #4b3219;
    border-left: 0;
  }

  .dcon01__tab {
    flex: 1;
    padding: calc(var(--px)*36) 0;
    background: none;
    cursor: pointer;

    &.is-active {
      background-color: #4b3219;
    }
  }

  .dcon01__search {
    padding: calc(var(--px)*18) calc(var(--px)*19) calc(var(--px)*18) calc(var(--px)*15);
    background-color: #4b3219;
  }

  .dcon01__search-pane {
    flex: 1;
    min-width: 0;
    gap: calc(var(--px)*15);

    &:not(.is-active) {
      display: none;
    }
  }

  .dcon01__search-select {
    flex: 1;
    min-width: 0;
    height: calc(var(--px)*70); /* HEIGHT: 직접검색 input 과 같은 바 높이 — 탭 전환 때 검색줄이 안 튄다 */
    padding: 0 calc(var(--px)*39);
    font-family: var(--font-pretendard);
    font-size: var(--bodyL);
    font-weight: 600;
    letter-spacing: -0.05em;
    color: #000000;
    background-color: #ffffff;
    border: 0;
    border-radius: calc(var(--px)*34);
    cursor: pointer;

    &:disabled {
      color: color-mix(in srgb, #000000 35%, transparent);
      cursor: default;
    }
  }

  .dcon01__search-box {
    flex: 1;
    min-width: 0;
    padding-right: calc(var(--px)*25);
    padding-left: calc(var(--px)*39);
    background-color: #ffffff;
    border-radius: calc(var(--px)*34);
  }

  .dcon01__search-input {
    flex: 1;
    min-width: 0;
    height: calc(var(--px)*70); /* HEIGHT: 검색바 높이를 박스 padding 이 아니라 input 자체가 소유 — 클릭 타깃이 시안 바 전체 */
    background: none;
    border: 0;
    appearance: none;
    border-radius: 0;
    outline: none;

    &::-webkit-search-cancel-button,
    &::-webkit-search-decoration,
    &::-webkit-search-results-button,
    &::-webkit-search-results-decoration {
      appearance: none;
      display: none;
    }

    &::placeholder {
      color: inherit;
      opacity: 1;
    }
  }

  .dcon01__search-btn {
    position: relative;
    flex: none;
    width: calc(var(--px)*31);
    height: calc(var(--px)*31);
    background: none;
    cursor: pointer;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: calc(var(--px)*7);
      bottom: calc(var(--px)*7);
      background-color: #ffffff;
      border: 5px solid #4b3219;
      border-radius: 50%;
    }

    &::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: calc(var(--px)*2);
      width: calc(var(--px)*12);
      border-top: 5px solid #4b3219;
      transform: rotate(45deg);
      transform-origin: right center;
    }
  }

  .dcon01__list {
    flex: none;
    height: calc(var(--px)*638); /* HEIGHT: 스크롤 컨테이너 — 상한이 없으면 li 증가 시 컨테이너가 늘어 스크롤이 안 생긴다 */
    overflow-x: hidden;
    overflow-y: scroll;
    gap: calc(var(--px)*39);
    padding: calc(var(--px)*46) calc(var(--px)*31) calc(var(--px)*142) calc(var(--px)*6);

    &::-webkit-scrollbar {
      width: 0;
    }
  }

  .dcon01__scroll-track {
    position: absolute;
    right: calc(var(--px)*4);
    bottom: 0;
    z-index: 1;
    width: 1px;
    height: calc(var(--px)*640);
    background-color: #5b5b5b;
  }

  .dcon01__scroll-thumb {
    position: absolute;
    top: calc(var(--px)*241);
    right: calc(var(--px)*-1);
    z-index: 2;
    width: calc(var(--px)*6);
    height: calc(var(--px)*42); /* HEIGHT: js/sub03.js 가 scrollTop 비율로 재계산 — 이 값은 시안 초기값 */
    background-color: #000000;
  }

  .dcon01__store[hidden],
  .dcon01__noshop[hidden] {
    display: none;
  }

  .dcon01__noshop {
    padding: calc(var(--px)*40) 0;
    font-family: var(--font-pretendard);
    font-size: var(--bodyS);
    font-weight: 500;
    letter-spacing: -0.05em;
    text-align: center;
  }

  .dcon01__store {
    padding: 0 0 calc(var(--px)*41) calc(var(--px)*36);
    border-bottom: 1px solid rgba(0, 0, 0, 0.11);
  }

  .dcon01__store-info {
    gap: calc(var(--px)*37);
  }

  .dcon01__store-thumb {
    flex: none;
    width: calc(var(--px)*82);
    padding: calc(var(--px)*17);
    background-color: #172d2d;
    border-radius: calc(var(--px)*20);
  }

  .dcon01__store-text {
    gap: calc(var(--px)*25);
  }

  .dcon01__store-add {
    flex: none;
    width: calc(var(--px)*32);
    height: calc(var(--px)*32);
    background-color: color-mix(in srgb, #4b3219 20%, transparent);
    border-radius: 50%;
    cursor: pointer;
  }

  .dcon01__map {
    flex: 1;
    min-width: 0;
    height: calc(var(--px)*834);
  }

  .dcon01__map img {
    pointer-events: auto;
  }

  .map-touch-lock-parent {
    position: relative;
  }

  .map-touch-lock {
    position: absolute;
    z-index: 30;
    display: none;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: rgba(0, 0, 0, .58);
    color: #fff;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
  }

  .map-touch-lock-text {
    display: block;
    padding: 0 calc(var(--px)*20);
    font-size: var(--bodyM);
    font-weight: 700;
    line-height: 1.35;
    word-break: keep-all;
  }

  .is-map-touch-unlocked .map-touch-lock {
    opacity: 0;
    pointer-events: none;
  }

  .dcon01__marker {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
  }

  .dcon01__marker-text {
    padding: calc(var(--px)*8) calc(var(--px)*18);
    border: 2px solid var(--tertiary);
    border-radius: 50vw;
    background-color: #fff;
    color: var(--tertiary);
    font-size: var(--bodyM);
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
  }

  .dcon01__marker-tail {
    /* HEIGHT: 말풍선 꼬리 = 자식 없는 회전 사각형 도형이라 콘텐츠로 높이가 생기지 않는다 */
    width: calc(var(--px)*14);
    height: calc(var(--px)*14);
    margin-top: calc(var(--px)*-8);
    border-right: 2px solid var(--tertiary);
    border-bottom: 2px solid var(--tertiary);
    background-color: #fff;
    transform: rotate(45deg);
  }

  .dcon01__popup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

    &.is-active {
      opacity: 1;
      visibility: visible;

      .dcon01__popup-panel {
        transform: none;
        opacity: 1;
      }
    }
  }

  .dcon01__popup-panel {
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    gap: calc(var(--px)*57);
    width: calc(var(--px)*880);
    padding: calc(var(--px)*50) calc(var(--px)*58) calc(var(--px)*49) calc(var(--px)*57);
    background-color: #ffffff;
    border: 1px solid #000000;
    border-radius: calc(var(--px)*30);
  }

  .dcon01__popup-photo {
    flex: none;
    overflow: hidden;
    border-radius: calc(var(--px)*20);
  }

  .dcon01__popup-info {
    flex: 1;
    min-width: 0;
  }

  .dcon01__popup-tel {
    color: inherit;
    text-decoration: none;
  }

  .dcon01__popup-rule {
    width: 100%;
    height: 1px;
    margin-top: calc(var(--px)*23);
    background-color: rgba(0, 0, 0, 0.2);
  }

  .dcon01__popup-naver {
    gap: calc(var(--px)*6);
    width: fit-content;
    margin-top: calc(var(--px)*41);
    padding: calc(var(--px)*11) calc(var(--px)*20) calc(var(--px)*11) calc(var(--px)*18);
    background-color: #1c9e25;
    border-radius: calc(var(--px)*5);
  }

  .dcon01__popup-close {
    position: absolute;
    top: calc(var(--px)*26);
    right: calc(var(--px)*27);
    z-index: 1;
    width: calc(var(--px)*24);
    height: calc(var(--px)*24);
    background: none;
    cursor: pointer;

    &::before,
    &::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      border-top: 2px solid #000000;
    }

    &::before {
      transform: rotate(45deg);
    }

    &::after {
      transform: rotate(-45deg);
    }
  }
}

/* INK:AUTO dcon01 base — 중첩 밖 최상위: INK 블록과 specificity 층 일치 */
.dcon01__popup-addr { margin-top: calc(var(--px)*31); }

/* IMG:AUTO dcon01 */
/* layout-spec.json 파생 (tools/img-size-to-css.js · unit=--px) — 재생성 대상, 직접 수정 금지 */
/* 예외: 값을 고치고 뒤에 OVR 주석을 붙이면 재생성이 보존한다 */
.dcon01__store-logo {
    width: calc(var(--px)*48);
    aspect-ratio: 60 / 60;
}

.dcon01__popup-photo {
    width: calc(var(--px)*392);
    aspect-ratio: 392 / 296;
}
/* /IMG:AUTO dcon01 END */

/* FONT:AUTO dcon01 */
/* spec.json 파생 (tools/spec-font-to-css.js · unit=--px) — 재생성 대상, 직접 수정 금지 */
/* 예외: line-height · letter-spacing 는 값을 고치고 뒤에 OVR 주석을 붙이면 재생성이 보존한다 */
.dcon01__tabs {
    font-family: var(--font-pretendard);
    font-size: var(--subheadS);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.2;
    text-align: center;
}

.dcon01__tab.is-active {
    color: #ffffff;
}

.dcon01__tab,
.dcon01__list {
    color: #000000;
}

.dcon01__search-input {
    font-family: var(--font-pretendard);
    font-size: var(--bodyL);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.2;
    text-align: left;
    color: #000000;
}

.dcon01__store-name {
    font-family: var(--font-paperlogy);
    font-size: var(--subheadS);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.2;
}

.dcon01__store-addr {
    font-family: var(--font-pretendard);
    font-size: var(--bodyS);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.47;
}

.dcon01__store-add {
    font-family: var(--font-pretendard);
    font-size: var(--bodyS);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.38;
}

.dcon01__popup-name {
    font-family: var(--font-paperlogy);
    font-size: var(--subheadS);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.2;
    color: #000000;
}

.dcon01__popup-addr {
    font-family: var(--font-pretendard);
    font-size: var(--bodyS);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.67;
    color: #000000;
}

.dcon01__popup-naver {
    font-size: var(--bodyXS);
    letter-spacing: -0.05em;
    line-height: 1.79;
    color: #ffffff;
}

.dcon01__popup-naver-mark {
    font-family: var(--font-lexenddeca);
    font-weight: 900;
}

.dcon01__popup-naver-label {
    font-family: var(--font-pretendard);
    font-weight: 500;
}
/* /FONT:AUTO dcon01 END */

/* INK:AUTO dcon01 */
.dcon01__popup-addr { margin-top: calc(var(--px) * 25.14); margin-bottom: calc(var(--px) * -6.86); } /* base 31,0 */
.dcon01__store-addr { margin-top: calc(var(--px) * -4.26); margin-bottom: calc(var(--px) * -4.25); } /* base 0,0 */
.dcon01__tab { margin-top: calc(var(--px) * -3); margin-bottom: calc(var(--px) * -3); } /* base 0,0 */
.dcon01__store-name { margin-top: calc(var(--px) * -3); margin-bottom: calc(var(--px) * -3); } /* base 0,0 */
.dcon01__popup-name { margin-top: calc(var(--px) * -3); margin-bottom: calc(var(--px) * -3); } /* base 0,0 */
/* /INK:AUTO dcon01 END */

/* ======== dcon01 end ======== */

@media (max-width: 599px) {
  .sub-hero {
    padding-top: 15vw;

    .sub-hero__grain {
      right: 0;
      width: 101vw;
      height: 100%;
      aspect-ratio: auto;
    }

    .sub-hero_iner {
      padding: 24.48vw 0 25.76vw;
    }

    .sub-hero__rule {
      width: 32.79vw;
      margin-top: 1.28vw;
    }

    .sub-hero__title {
      margin-top: 3.84vw;
      margin-bottom: 0;
    }
  }

  .dcon01 {
    .dcon01_iner {
      flex-direction: column;
      width: 100%;
    }

    .dcon01__panel {
      width: 100%;
      border-left: 1px solid #4b3219;
    }

    .dcon01__tab {
      padding: 5.76vw 0;
    }

    .dcon01__search {
      padding: 2.88vw 3.04vw 2.88vw 2.4vw;
    }

    .dcon01__search-pane {
      gap: 2.4vw;
    }

    .dcon01__search-select {
      min-height: 11.2vw;
      padding: 0 6.24vw;
      border-radius: 5.44vw;
    }

    .dcon01__search-box {
      padding-right: 4vw;
      padding-left: 6.24vw;
      border-radius: 5.44vw;
    }

    .dcon01__search-input {
      min-height: 11.2vw;
    }

    .dcon01__search-btn {
      width: 4.96vw;
      height: 4.96vw;

      &::before {
        right: 1.12vw;
        bottom: 1.12vw;
      }

      &::after {
        bottom: 0.32vw;
        width: 1.92vw;
      }
    }

    .dcon01__list {
      height: 96vw;
      gap: 6.24vw;
      padding: 7.36vw 4.96vw 22.72vw 0.96vw;
    }

    .dcon01__scroll-track {
      right: 0.64vw;
      height: 96vw;
    }

    .dcon01__scroll-thumb {
      top: 38.56vw;
      right: -0.16vw;
      width: 0.96vw;
      height: 6.72vw;
    }

    .dcon01__store {
      padding: 0 0 6.56vw 5.76vw;
    }

    .dcon01__store-info {
      gap: 5.92vw;
    }

    .dcon01__store-thumb {
      width: 13.12vw;
      padding: 2.72vw;
      border-radius: 3.2vw;
    }

    .dcon01__store-text {
      gap: 4vw;
    }

    .dcon01__store-add {
      width: 9.6vw;
      height: 9.6vw;
      font-size: var(--headM); /* 18px — 원 36px 의 50%, PC(16/32) 비율 유지 */
    }

    .dcon01__map {
      flex: none;
      height: 100vw;
    }

    .dcon01__marker-text {
      padding: 1.4vw 3vw;
      font-size: 3.3vw;
    }

    .dcon01__marker-tail {
      /* HEIGHT: 말풍선 꼬리 = 자식 없는 회전 사각형 도형이라 콘텐츠로 높이가 생기지 않는다 */
      width: 2.6vw;
      height: 2.6vw;
      margin-top: -1.4vw;
    }

    .map-touch-lock {
      display: flex;
    }

    .map-touch-lock-text {
      padding: 0 5.33vw;
      font-size: 3.73vw;
    }

    .dcon01__popup-panel {
      flex-direction: column;
      width: 88vw;
      gap: 9.12vw;
      padding: 8vw 9.28vw 7.84vw 9.12vw;
      border-radius: 4.8vw;
    }

    .dcon01__popup-info {
      flex: none;
      width: 100%;
    }

    .dcon01__popup-photo {
      border-radius: 3.2vw;
    }

    .dcon01__popup-rule {
      margin-top: 3.68vw;
    }

    .dcon01__popup-naver {
      gap: 0.96vw;
      margin-top: 6.56vw;
      padding: 1.76vw 3.2vw 1.76vw 2.88vw;
      border-radius: 0.8vw;
    }

    .dcon01__popup-close {
      top: 4.16vw;
      right: 4.32vw;
      width: 3.84vw;
      height: 3.84vw;
    }
  }

  /* INK:AUTO 는 --px 축이라 모바일 폰트(토큰 vw)와 어긋남 — 리셋 후 부모 gap 이 간격 소유 */
  .dcon01__popup-addr {
    margin-top: 4.96vw;
    margin-bottom: 0;
  }

  .dcon01__store-addr {
    margin-top: 0;
    margin-bottom: 0;
  }

  .dcon01__store-logo {
    width: 7.68vw;
  }

  .dcon01__popup-photo {
    width: 100%;
  }
}

