* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

a {
  display: block;
  color: inherit;
  text-decoration: none;
}

ul,
li {
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: 1100px;
  min-width: 0;
  margin: 0 auto;
}

.wrap table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto;
  padding: 0;
}

.wrap td {
  margin: 0;
  padding: 0;
  line-height: 0;
  vertical-align: top;
}

.wrap img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
}

.wrap img.coupon-button {
  cursor: pointer;
}

/* 타이머 배경 */
.time_top {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: #49413f;
  font-family: 'SUIT-Medium', sans-serif;
}

/* 타이머 배치 */
#timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 120px));
  justify-content: center;
  gap: clamp(6px, 2.2vw, 24px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(38px, 8vw, 86px) clamp(12px, 4vw, 44px);
  color: #49413f;
  font-size: clamp(28px, 5.45vw, 60px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* 숫자 카드 */
#timer div {
  position: relative;
  width: 100%;
  min-width: 0;
  height: clamp(68px, 10.45vw, 115px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: clamp(8px, 1.1vw, 12px);
  background: #e9e6e5;
  line-height: 1;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* 숫자는 박스 정중앙 */
#timer div strong {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
  font-size: inherit;
  font-weight: 700;
  line-height: 1;
}

/* 단위는 박스 안쪽 아래 */
#timer div span {
  position: absolute;
  bottom: clamp(8px, 1vw, 12px);
  left: 50%;
  display: block;
  margin: 0;
  transform: translateX(-50%);
  color: #786f6d;
  font-size: clamp(9px, 1.36vw, 15px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

/* 카드 사이의 콜론 점 */
#timer div:not(:last-child)::after {
  position: absolute;
  top: calc(50% - 7px);
  right: calc(clamp(6px, 2.2vw, 24px) / -2 - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e9e6e5;
  content: '';
  box-shadow: 0 10px 0 #e9e6e5;
}

/* 모바일 */
@media screen and (max-width: 1100px) {
  html,
  body {
    width: 100%;
    min-width: 0;
  }

  .wrap {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
  }

  .wrap table,
  .time_top {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .wrap img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  #timer {
    grid-template-columns: repeat(4, minmax(0, 120px));
    gap: clamp(6px, 2.2vw, 18px);
    padding: clamp(32px, 8vw, 58px) clamp(12px, 4vw, 24px);
    font-size: clamp(28px, 8vw, 44px);
  }

  #timer div {
    height: clamp(68px, 18vw, 90px);
  }

  #timer div span {
    font-size: clamp(9px, 2.5vw, 12px);
  }

  #timer div:not(:last-child)::after {
    right: calc(clamp(6px, 2.2vw, 18px) / -2 - 2px);
    width: 4px;
    height: 4px;
    box-shadow: 0 9px 0 #e9e6e5;
  }
}