/* Integrated-only additions. Prototype styles stay in styles.css / closeout.css. */

/* Address search sheet (components/booking/postcode-dialog), in the design's ink/white tokens. */
.postcode-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgb(17 18 20 / 55%);
}
.postcode-sheet__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  background: #fff;
  overflow: hidden;
}
.postcode-sheet__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e3e5e8;
  flex: none;
}
.postcode-sheet__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111214;
}
.postcode-sheet__close {
  min-height: 44px;
  padding-inline: 0.9rem;
  border: 1px solid #111214;
  border-radius: 6px;
  background: #fff;
  color: #111214;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.postcode-sheet__close:focus-visible {
  outline: 2px solid #ff501a;
  outline-offset: 2px;
}
.postcode-sheet__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
@media (min-width: 40rem) {
  .postcode-sheet {
    padding: 1.5rem;
  }
  .postcode-sheet__panel {
    width: min(30rem, 100%);
    height: min(34rem, 100%);
    border-radius: 10px;
    box-shadow: 0 18px 48px rgb(17 18 20 / 30%);
  }
}

/* Item rows: keep a set's composition ("스탠드 1대 + 벽걸이 1대") from splitting mid-word. */
.il-n small {
  word-break: keep-all;
}

/*
 * 수정 / 삭제: the text links sit at the right edge of their row. The hit area
 * grows rightward into the empty gutter (26-28px text + 18px = 44px+), so text
 * alignment, the amount beside it and the column width are unchanged.
 */
.bk .rv-h .tlink,
.bk .line-c .del {
  position: relative;
}
.bk .rv-h .tlink::after,
.bk .line-c .del::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% + 18px);
  min-width: 44px;
  border-radius: 6px;
}
.bk .rv-h .tlink:focus-visible,
.bk .line-c .del:focus-visible {
  outline: none;
}
.bk .rv-h .tlink:focus-visible::after,
.bk .line-c .del:focus-visible::after {
  outline: 2px solid #ff501a;
  outline-offset: 0;
}

/*
 * Consultation, wide screens only: a slimmer intro column, the form widened to
 * match, and short related fields paired so the form no longer runs far past
 * the intro. Inputs, tiles and type keep their size; phones are untouched.
 */
@media (min-width: 1025px) {
  .cs {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 80px;
  }
  .cs .int-cs-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    align-items: start;
  }
  .cs form > .grp {
    margin-bottom: 22px;
  }
  .cs form .fld {
    margin-bottom: 22px;
  }
}

/* /privacy: the existing policy markup, made readable without the old globals. */
.int-privacy {
  padding-block: 56px 80px;
  color: #111214;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}
.int-privacy h1 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
}
.int-privacy h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}
.int-privacy h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.int-privacy p,
.int-privacy ul,
.int-privacy ol,
.int-privacy dl {
  margin: 0 0 14px;
}
.int-privacy ul,
.int-privacy ol {
  padding-left: 1.2em;
}
.int-privacy ul {
  list-style: disc;
}
.int-privacy ol {
  list-style: decimal;
}
.int-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.int-privacy table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 15px;
}
.int-privacy th,
.int-privacy td {
  padding: 10px 8px;
  border-bottom: 1px solid #e3e5e8;
  text-align: left;
  vertical-align: top;
}
.int-privacy th {
  font-weight: 700;
  border-bottom-color: #111214;
}
@media (max-width: 650px) {
  .int-privacy {
    padding-block: 36px 56px;
    font-size: 15px;
  }
  .int-privacy h1 {
    font-size: 26px;
  }
  .int-privacy h2 {
    font-size: 19px;
  }
}
